[izpack-users] Re: Variable substitution not possible within the installer.xml file?

Ludovic Maitre ludovic.maitre at free.fr
Wed Feb 15 19:05:42 CET 2006


Hi Przemek,

I do variables substitution in my install.xml files by using ant 
filters. I use it to adapt the install.xml file of ArgoUML for instance 
(http://argoumlinstaller.tigris.org/).
You can look here for the code :
http://argoumlinstaller.tigris.org/source/browse/argoumlinstaller/izpack/argouml/build.xml
http://argoumlinstaller.tigris.org/source/browse/argoumlinstaller/izpack/argouml/ressources/install-from-dist.template.xml
I would be interested if it exist other way to achieve this, but this work.
HTH,
Ludo

Przemek Skoskiewicz a écrit :
> Not sure that I understand; my install.xml is already being invoked 
> from Ant via the 'izpack' task. Thus I was thinking that Ant's 
> variable definition and substitution rules would be in effect... 
> Neither there does seem to be a way to pass some variables into the 
> IzPack's installer buildfile via the 'izpack' task, only the basedir. 
> Unless I'm missing something, it seems to me that the 'izpack' task 
> introduces a barrier between one's Ant buildfile and the install.xml, 
> in that nothing defined in the parent buildfile is accessible in 
> install.xml. I'll see if I can get anywhere with properties...
>
> Przemek
>
>>> <info>
>>> ...
>>>     <appversion>$ProductVersion</appversion>
>>> ...
>>> </info>
>>
>> You could probably use Ant to tweak your install.xml instead.
>>
>> -- 
>> Julien Ponge
>> http://www.izforge.com/
>> GnuPG ID: 0xCD9DE030
>
>
>
>
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-users
>
>


-- 
Cordialement,
Ludo - http://www.ubik-products.com
---
"L'amour pour principe et l'ordre pour base; le progres pour but" (A.Comte) 




More information about the izpack-users mailing list