[izpack-devel] variable substitution
Dennis Reil
Dennis.Reil at reddot.de
Fri Jan 18 08:24:11 CET 2008
I think, I didn't implement it for automatic mode as it is mainly targeted on user input. If it's needed for automatic installation, it has to be saved in the generated xml.
Regards,
Dennis
-----Ursprüngliche Nachricht-----
Von: izpack-devel-bounces at lists.berlios.de [mailto:izpack-devel-bounces at lists.berlios.de] Im Auftrag von Matthew Fudge
Gesendet: Donnerstag, 17. Januar 2008 16:09
An: izpack-devel at lists.berlios.de
Betreff: Re: [izpack-devel] variable substitution
Hi Dennis,
The dynamic variables work fine for me. However I cannot get then to substitute values when running the installer in automatic mode. Any ideas where to look?
cheers
matt
----- Original Message ----
From: Dennis Reil <Dennis.Reil at reddot.de>
To: izpack-devel at lists.berlios.de
Sent: Thursday, 17 January, 2008 12:58:20 PM
Subject: Re: [izpack-devel] variable substitution
This behaviour (called Dynamic Variables) is already integrated in
izpack 3.11. Look at the documentation on how to use it.
Regards,
Dennis
-----Ursprüngliche Nachricht-----
Von: izpack-devel-bounces at lists.berlios.de
[mailto:izpack-devel-bounces at lists.berlios.de] Im Auftrag von Matthew Fudge
Gesendet: Donnerstag, 17. Januar 2008 13:47
An: izpack-devel at lists.berlios.de
Betreff: [izpack-devel] variable substitution
Hi all,
I am defining a number of variables in my install.xml file e.g.
<variables>
<variable name="mcs.drws.device.repository.url"
value="${INSTALL_PATH}/devicerepository/devices.mdpr"/>
<variable name="mcs.drws.cache.dir"
value="${INSTALL_PATH}/webapp/WEB-INF/cache"/>
<variable name="mcs.drws.log4j.config.file"
value="${INSTALL_PATH}/webapp/WEB-INF/drws-log4j.xml"/>
<variable name="mcs.drws.allow.non.secure.access"
value="false"/>
</variables>
These are supposed to be substituted into various files at install
time. And they are, however the
${mcs.drws.device.repository.url}
substitution point in one such file (for example) gets the value
${INSTALL_PATH}/devicerepository/devices.mdpr
rather then also having the ${INSTALL_PATH} part replaced with the
install time value.
It looks like either
a) variables can not have substitution points in their own values
or
b) the variables are defined at compile time and never examined again.
I would like to modify this behaviour so the above example works (it is
useful to have constructed variables esp. when they are paths as they
get converted to platform specific paths at install)
Any hints on where this behaviour should be added?
Cheers
matthew
__________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
_______________________________________________
izpack-devel mailing list
izpack-devel at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-devel
_______________________________________________
izpack-devel mailing list
izpack-devel at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-devel
__________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
_______________________________________________
izpack-devel mailing list
izpack-devel at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-devel
More information about the izpack-devel
mailing list