[wpkg-users] [Bug 162] Expose the folder containing wpkg.js as an environment variable

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Fri Jun 19 09:10:30 CEST 2009


http://bugzilla.wpkg.org/show_bug.cgi?id=162





--- Comment #3 from Daniel Dehennin <daniel.dehennin at ac-caen.fr>  2009-06-19 09:10:23 ---
I'm using a similar approach, I define a WPKG variable, the main purpose is to
shortcut calls to binary programs which I put in %WPKG%\bin\.

Defining automaticall a WPKG_ROOT as path to settings.xml (for wpkg client) or
%~dp0 for direct call to wpkg.js could be a good idea.

Other variable definition seems not usefull IMHO.

If somebody want a WPKG_TOOLS, juste add a variable to settings.xml:

<script-variable name="WPKG_TOOLS">%WPKG_ROOT%\tools\</script-variable>

If software is the parent of WPKG_ROOT:

<script-variable name="WPKG_TOOLS">%WPKG_ROOT%\..\</script-variable>

Regards.

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list