Sorry for the newbie question, but could not find any
documentation/example about my need.
I simply need to test the OS architecture (i386, IA64, etc..) to
install different libraries for different architectures.
I tried with the following condition:
<condition type="java" id="arch.i386">
<java>
<class>com.izforge.izpack.util.OsVersion</class>
<field>OS_ARCH</field>
</java>
<returnvalue type="String">i386</returnvalue>
</condition>
Then, inside the install.xml I put:
<pack name="myPack" required="no" condition="arch.i386">
...
However, running the install with trace enabled, I always see:
Pack.getCondition(): null for pack myPack
I think that probably the problem is about the String comparison
condition (with boolean condition I got it work for another pack).
Do I do something wrong?
Is String comparison enabled?
Thanks,
Massimiliano
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I think Java condition only supports boolean at the moment.
Regards,
Dennis
Regards,
Dennis