[wpkg-users] package attribute "version" as environment variable

Andy Welch Andy.Welch at blackbay.com
Thu Nov 18 10:26:26 CET 2010


Hi all

 

In the following

 

<package id="Nucleus" version="1" ... >

 

I would like to be able to use %version% in an xcopy path, such that I
increase version as we produce new package versions for this component,
which means there is always a folder matching the version, and wpkg will
nicely detect a new version and hence run the install steps - sounds
great.

 

Ie.,

 

<install cmd="xcopy /Y /I *quot;
\\ent....\...\packages\ccnetplugins\Nucleus\%version%\*.*
<file:///\\ent....\...\packages\ccnetplugins\Nucleus\%25version%25\*.*>
" "%pluginspath%" />

 

Clearly, I could simply declare <variable name="packageversion"
value="1" /> and update this to achieve the same - but I like the
version idea.

 

Any suggestions - been looking but can't see if this is done already.

 

thanks

 

Andy Welch

Software Development Team Leader

 

   <http://www.blackbay.com/> 

Blackbay delivers real-time enterprise mobility solutions 

enabling service and productivity improvements 

to Supply Chain and Field Service operations

Blackbay NZ Ltd
Email                 andy.welch at blackbay.com
<mailto:andy.welch at blackbay.com> 

DDI                   + 64 3 977 7094

Mobile               + 64 27 254 0316
Website             www.blackbay.com <http://www.blackbay.com> 

This email and any documents and files transmitted with it are
confidential and for the use
of the intended recipient only. If you are not the intended recipient,
please notify the sender
immediately; you must not read, copy, or use this e-mail and associated
documents for any 
purpose, nor disclose it to any other person.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20101118/afd6228d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2084 bytes
Desc: image001.jpg
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20101118/afd6228d/attachment-0001.jpg>


More information about the wpkg-users mailing list