[wpkg-users] Variables in settings.xml
Falko Trojahn
nospam_ft at smi-softmark.de
Mon Apr 14 17:29:12 CEST 2008
Daniel Dehennin schrieb:
> Hello,
>
> In my settings.xml I want to define some variables, like this:
>
> <script-variable name="WPKG">\\server\wpkg</script-variable>
> <script-variable name="WPKGBIN">%WPKG%\bin</script-variable>
> <script-variable name="WPKGLOG">%WPKG%\log</script-variable>
> <script-variable name="SOFTWARE">\\horus\partage\applis\install</script-variable>
> <script-variable name="PATH">%WPKGBIN%;%PATH%</script-variable>
>
> But it seems that WPKGLOG is not well expanded, in my debug output I
> have:
>
> 2008-04-14 16:28:52, DEBUG : Initializing new log file: %WPKG%\log\wpkg-teststation.log
> 2008-04-14 16:28:52, DEBUG : Failed to open log file: Chemin d'accès introuvable; falling back to local logging: null
>
> Regards.
I don't think that variables are expanded in log file.
But perhaps you could create an enhancement request on
bugzilla.wpkg.org
For logging you should use in config.xml:
<param name='log_file_path' value='\\\\server\\share\\dir' />
and
<param name='logfilePattern' value='wpkg-[HOSTNAME].log' />
In my logs I see "%SOFTWARE%", too - not expanded.
Regards,
Falko
More information about the wpkg-users
mailing list