[wpkg-users] Using variables and their value

Frank Morawietz nestolea at gmail.com
Sat May 16 21:19:19 CEST 2015


Stefan Pendl schrieb:
>> Using  wpkg-1.3.1 , which is from May 2014, if I remember
>> correctly.
>>
> Have you tried the latest release at
> http://svn.code.sf.net/p/wpkg/code/wpkg/stable/src/main/resources/wpkg/
> too?

I updated to the latest Version 1.3.2-RC1 in the meantime.
This alone didn't change that much to the messages in the log file:

2015-05-15 20:47:45, DEBUG   : Reading variables from package 'Java 
Runtime Environment 8'.
2015-05-15 20:47:45, DEBUG   : Got variable 'UPDATEVER' of value '08' 
('08').
2015-05-15 20:47:45, DEBUG   : Got variable 'SHORTUPDATEVER' of value 
'31' ('31').
2015-05-15 20:47:45, DEBUG   : Got variable 'PREVSHORTUPDATEVER' of 
value '25' ('25').
2015-05-15 20:47:45, DEBUG   : Got variable 'VERSION' of value 
'8.0.%SHORTUPDATEVER%' ('8.0.%SHORTUPDATEVER%').


Nevertheless, I got it working for me by now:
I noticed that the variable definitions where in need of some minor 
adaptions. Most important the variable UPDATEVER did not work with the 
value "08". It had to be just "8", without the leading zero.

After those variable modifications, the output in the log file still did 
not resolve nested variables. But nevertheless, the logic behind it 
suddenly was working.

So, for me personally, this problem is solved. But it seems to me, that 
the example code posted at <http://wpkg.org/Java> doesn't work at all...


Thanks a lot to all who responded and helped me with suggestions and 
exchange of experiences!

Regards,
Frank
-- 
Frank Morawietz


More information about the wpkg-users mailing list