Ant + ZeroG's IA4.0

Thanks to Steve Donnie, I now have another way to execute my installer
script via ant. Note the 8.3 file format in the pathelement tags. Install
Anywhere defaults to install itself under c:\program files\Install Anywhere
4.0 Enterprise (not cool)


        <target name="build_installer" description="building installer">
        <java classname="InstallAnywhere" fork="yes">
                        <arg line="-b ${iap}/${platform}.iap"/>
<--Qualified path to your installer script.
                        <classpath>
                                <pathelement
location="d:/progra~1/Instal~1/IAClasses.zip"/>
<--Note the 8.3 format in the pathelements
                                <pathelement
location="d:/progra~1/Instal~1/resource"/>
                                <pathelement
location="d:/progra~1/Instal~1/resource/swingall.jar"/>
                                <pathelement
location="d:/progra~1/Instal~1/resource/compiler.zip"/>
                                <pathelement
location="d:/progra~1/Instal~1/resource/support3.zip"/>                 
                        </classpath>
                </java>
        </target>
 

Reply via email to