PDA

View Full Version : Problem running ant build (worked in 5.03)



donmarselle
04-03-2006, 04:15 PM
I'm trying to convert an ant script from ISMP 5.03 to 11.5 and I keep getting this error:

[java] WARNING: Class File not present for optional framework
[java] WARNING: could not load platform pack in library /share/soft/installshield/IS11.5MP/lib/ppk/win32ppk.jar: java.lang.ClassNotFoundException: com.installshield.wizard.platform.win32.Win32PlatformPack
[java] WARNING: could not load platform pack in library /share/soft/installshield/IS11.5MP/lib/ppk/genericunixppk.jar: java.lang.ClassNotFoundException: com.installshield.wizard.platform.genericunix.GenericUnixPlatformPack
[java] WARNING: could not load platform pack in library /share/soft/installshield/IS11.5MP/lib/ppk/macosxppk.jar: java.lang.ClassNotFoundException: com.installshield.wizard.platform.macosx.MacOSXPlatformPack
[java] WARNING: could not load platform pack in library /share/soft/installshield/IS11.5MP/lib/ppk/linuxppk.jar: java.lang.ClassNotFoundException: com.ibm.wizard.platform.linux.LinuxPlatformPack
[java] WARNING: could not load platform pack in library /share/soft/installshield/IS11.5MP/lib/ppk/solarisppk.jar: java.lang.ClassNotFoundException: com.installshield.wizard.platform.solaris.SolarisPlatformPack
[java] WARNING: could not load platform pack in library /share/soft/installshield/IS11.5MP/lib/ppk/hpuxppk.jar: java.lang.ClassNotFoundException: com.installshield.wizard.platform.hpux.HpuxPlatformPack
[java] WARNING: could not load platform pack in library /share/soft/installshield/IS11.5MP/lib/ppk/webppk.jar: java.lang.ClassNotFoundException: com.installshield.wizard.platform.web.WebPlatformPack
[java] WARNING: could not load platform pack in library /share/soft/installshield/IS11.5MP/lib/ppk/aixppk.jar: java.lang.ClassNotFoundException: com.ibm.wizard.platform.aix.AixPlatformPack
[java] WARNING: could not load platform pack in library /share/soft/installshield/IS11.5MP/lib/ppk/as400ppk.jar: java.lang.ClassNotFoundException: com.ibm.wizard.platform.as400.IBMAS400PlatformPack

Here is the portion of my script that calls ISJE:

<java classname="com.installshield.isje.ISJE" fork="true">
<arg value="${PROJECTS_STAGING_DIR}/${IS_PROJECT_FILE}"/>
<arg value="-build"/>
<arg line="-alias INFORM=${BKROOT}/tpdsrc/proto/uiinstall"/>
<arg line="-alias TPDSRC=${BKROOT}/tpdsrc"/>
<arg line="-alias RELEASE=${BKROOT}/tpdsrc/buildupdate/uiinstall/installshield/2.2.3"/>
<arg line="-alias PATCH=template"/>
<classpath>
<pathelement path="${ISMP}" />
<pathelement path="${ISMP}/i18n" />
<pathelement location="${ISMP}/classes" />
<pathelement location="${ISMP}/lib/ant.jar" />
<pathelement location="${ISMP}/lib/bootstrap.jar" />
<pathelement location="${ISMP}/lib/builder.jar" />
<pathelement location="${ISMP}/lib/dim.jar" />
<pathelement location="${ISMP}/lib/ib5core.jar" />
<pathelement location="${ISMP}/lib/ib5swing.jar" />
<pathelement location="${ISMP}/lib/ib5util.jar" />
<pathelement location="${ISMP}/lib/icebrowserbean.jar" />
<pathelement location="${ISMP}/lib/icebrowserlitebean.jar" />
<pathelement location="${ISMP}/lib/jhall.jar" />
<pathelement location="${ISMP}/lib/jsearch.jar" />
<pathelement location="${ISMP}/lib/parser.jar" />
<pathelement location="${ISMP}/lib/swing.jar" />
<pathelement location="${ISMP}/lib/xalan.jar" />
<pathelement location="${ISMP}/lib/xml-apis.jar" />
<pathelement location="${ISMP}/lib/ide.jar" />
<pathelement location="${ISMP}/lib/platform.jar" />
<pathelement location="${ISMP}/ppk/win32ppk.jar" />
<pathelement location="${ISMP}/ppk/linuxppk.jar" />
<pathelement location="${ISMP}/ppk/solarisppk.jar" />
<pathelement location="${ISMP}/ppk/aixppk.jar" />
<pathelement location="${ISMP}/ppk/as400ppk.jar" />
<pathelement location="${ISMP}/ppk/hpuxppk.jar" />
<pathelement location="${ISMP}/ppk/webppk.jar" />
<pathelement location="${ISMP}/ppk/macosxppk.jar" />
<pathelement location="${ISMP}/ppk/genericunixppk.jar" />
<pathelement location="${ISMP}/distributables/platform/ext/windowsppk.jar" />
<pathelement location="${ISMP}/distributables/platform/ext/linuxppk.jar" />
<pathelement location="${ISMP}/distributables/platform/ext/solarisppk.jar" />
<pathelement location="${ISMP}/distributables/platform/ext/aixppk.jar" />
<pathelement location="${ISMP}/distributables/platform/ext/as400ppk.jar" />
<pathelement location="${ISMP}/distributables/platform/ext/hpuxppk.jar" />
<pathelement location="${ISMP}/distributables/platform/ext/macosxppk.jar" />
<pathelement location="${ISMP}/distributables/platform/ext/webppk.jar" />
<pathelement location="${ISMP}/distributables/platform/ext/genericunixppk.jar" />
<pathelement location="${ISMP}/distributables/engine/engine.jar" />
<pathelement location="${ISMP}/distributables/library/hsqldb.jar" />
</classpath>
</java>

I've looked at launch.txt and several other threads and I've re-ordered this several times but cannot get around this problem.

Can you help?

donmarselle
04-17-2006, 06:24 PM
In case anyone else needs help with this:

First, run the ISMP command line build with the -is:log option to see exactly what classpath is being used.

Second, and most importantly, the ppk jars have moved from 5.03 to 11.5. What used to be $ISMP/ppk/aixppk.jar, for instance, is now $ISMP/lib/ppk/aixppk.jar. When my eyes finally saw that extra lib in there, it worked just fine.