[izpack-users] Unable to get value of Environment Variable

John Lussmyer jlussmyer at myrio.com
Fri Mar 2 00:49:20 CET 2007


I've been trying to use an environment variable in my install.xml as
follows:

 

     <fileset dir="${ENV[MDSROOT]}" targetdir="$INSTALL_PATH"/>

 

When I compile the install.xml, I get the following error:

 

-> Fatal error :

   install.xml:40: Invalid directory 'dir': ${ENV[MDSROOT]}

com.izforge.izpack.compiler.CompilerException: install.xml:40: Invalid
directory 'dir': ${ENV[MDSROOT]}

        at
com.izforge.izpack.compiler.CompilerConfig.parseError(CompilerConfig.jav
a:1619)

 

The value IS set in the environment, as shown by a "set" command:

 

MDSROOT=C:\Dev\Install\Hes2.3Poc

 

If I put the absolute path directly in the "dir" entry, it works just
fine.

 

So, any suggestions on what I'm doing wrong?

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20070301/cc1ec2ec/attachment.html 


More information about the izpack-users mailing list