On a hunch I tried this in the resources section, but it doesn't work.
I'm including it here to give you a sense of what I'm trying to do.
<res id="InfoPanel.info.unix" src="unix_readme.txt"/>
<res id="InfoPanel.info.windows" src="windows_readme.txt"/>
---
Bruce Garrett
Systems Software Engineer
The Space Telescope Science Institute
Baltimore, Maryland. USA
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Hi,
would creating the panel itself platform-dependent be an acceptable
solution for you?
<resources>
<res id="InfoPanel.info.windows" src="windows_readme.txt"/>
<res id="InfoPanel.info.linux" src="unix_readme.txt"/>
</resources>
<panels>
<panel classname="InfoPanel" condition="izpack.windowsinstall"
id="info.windows" />
<panel classname="InfoPanel" condition="izpack.linuxinstall"
id="info.linux" />
</panels>
Note that the izpack.unixinstall condition is not pre-defined (but
windows and linux is) and therefore would have to be created:
<conditions>
<condition type="java" id="izpack.unixinstall">
<java><class>com.izforge.izpack.util.OsVersion</class><field>IS_UNIX</field></java>
<returnvalue type="boolean">true</returnvalue>
</condition>
</conditions>
HTH
-Kjell
I have it working now, but with the HTMLInfoPanel. That panel works
with your suggested code for the InfoPanel just fine. I simply changed
the references from InfoPanel to HTMLInfoPanel and it worked. So I have
my solution.
Thank you for your help.
-Bruce
---------------------------------------------------------------------