Hi Terry,

I'm fairly certain that the choice of the build script is based on the presence 
of the WOBootstrap.jar. If you're sure it is getting found during the build 
then I don't know what it could be.

Fabian

> Am 21.06.2016 um 14:15 schrieb Soles, James T <[email protected]>:
> 
> Fabian,
> 
> Thank you for your response.  I'm not certain what you mean by " 
> WOBootstrap.jar is missing from your new build environment".
> 
> I have it defined in the wolips.properties file as; 
> wo.bootstrapjar=/Users/v822480/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
> 
> And this file does exist on my build machine.
> 
> Thanks,
> 
> Terry Soles
> 214-273-3916
> 
> 
> -----Original Message-----
> From: Fabian Peters [mailto:[email protected]] 
> Sent: Tuesday, June 21, 2016 2:10 PM
> To: [email protected]
> Cc: Soles, James T
> Subject: [E] Re: HOMEROOT in my UNIXClassPath.txt
> 
> Hi Terry,
> 
> WOBootstrap.jar is missing from your new build environment. When it is 
> absent, the pre-5.2 startup script is being used.
> That being said, the old script works fine for me, as long as HOME and 
> NEXT_ROOT are set and _all_ framework dependencies are embedded.
> 
> Fabian
> 
>> Am 21.06.2016 um 09:10 schrieb Soles, James T <[email protected]>:
>> 
>> We are in the process of moving our app to Java 8 and have made some changes 
>> to some of our build files.  In particular, we have had to change where the 
>> files are created and where the WO frameworks are stored on our new Mac 
>> Books.  I am now seeing the HOMEROOT variable in the UNIXClassPath.txt file 
>> instead of the WOROOT which used to exist in these files.
>> 
>> Can someone help me understand what I need to change to get this to use 
>> WOROOT again instead of HOMEROOT?
>> 
>> Here is one of the ant build files and my wolips.properties file.
>> 
>> 
>> 
>> <project name="DecisionQJava" default="install" basedir=".">
>> 
>> <target name="build" depends="init.build,build.woapp,javaclient" />
>> 
>> 
>> <target name="install" depends="init.install,build.woapp,javaclient" 
>> />
>> 
>> 
>> <target name="clean" depends="init.properties">
>> 
>> <delete dir="bin" />
>> 
>> <delete dir="dist" />
>> 
>> </target>
>> 
>> 
>> <!-- basic initializations  -->
>> 
>> <target name="init.install" depends="init.properties">
>> 
>> <tstamp />
>> 
>> <property name="dest.dir" value="${wo.apps.root}" />
>> 
>> </target>
>> 
>> 
>> <target name="init.build" depends="init.properties">
>> 
>> <tstamp />
>> 
>> <property name="dest.dir" value="dist" />
>> 
>> </target>
>> 
>> 
>> <!-- property determination  -->
>> 
>> <target name="init.properties">
>> 
>> <property file="build.properties" />
>> 
>> 
>> <property name="wolips.properties" 
>> value="${user.home}${file.separator}wolips.properties" />
>> 
>> <property file="${wolips.properties}" />
>> 
>> <condition property="wo.properties.check.failed">
>> 
>> <not>
>> 
>> <and>
>> 
>> <isset property="wo.system.frameworks" />
>> 
>> <isset property="wo.local.frameworks" />
>> 
>> </and>
>> 
>> </not>
>> 
>> </condition>
>> 
>> <fail message="The properties 'wo.system.frameworks' and 
>> 'wo.local.frameworks' must be set. Check that your 
>> ${wolips.properties} is correct." if="wo.properties.check.failed" />
>> 
>> 
>> <property name="build.app.name" value="${project.name}" />
>> 
>> <property name="build.app.name.lowercase" 
>> value="${project.name.lowercase}" />
>> 
>> </target>
>> 
>> 
>> 
>> <!-- woproject tasks -->
>> 
>> <target name="build.woapp" depends="compile">
>> 
>> <taskdef name="woapplication" 
>> classname="org.objectstyle.woproject.ant.WOApplication"/>
>> 
>> 
>> <woapplication name="${build.app.name}" destDir="${dest.dir}" 
>> principalClass="${principalClass}">
>> 
>> <frameworks dir="${wo.system.frameworks}">
>> 
>>               <include name="JavaWebObjects.framework"/>
>> 
>>               <include name="JavaFoundation.framework"/>
>> 
>>               <include name="JavaXML.framework"/>
>> 
>>               <include name="JavaWOExtensions.framework"/>
>> 
>>               <include name="JavaEOAccess.framework"/>
>> 
>>               <include name="JavaEOControl.framework"/>
>> 
>>                 <include name="JavaJDBCAdaptor.framework"/>
>> 
>> </frameworks>                                 
>> 
>> <frameworks dir="${wo.local.frameworks}">
>> 
>>               <include name="RamsARJava.framework"/>
>> 
>>                 <include name="RamsBusObjJava.framework"/>
>> 
>>                 <include name="RamsCommJava.framework"/>
>> 
>>                 <include name="RamsUtilityJava.framework"/>
>> 
>>                 <include name="RamsStrategyEngineJava.framework"/>
>> 
>> </frameworks>                                 
>> 
>> </woapplication>
>> 
>> </target>
>> 
>> 
>> <target name="javaclient" depends="build.woapp">
>> 
>> <mkdir dir="${dest.dir}/${build.app.name}.woa/Contents/Resources/Java" 
>> />
>> 
>> <jar basedir="${classes.dir}" excludes="**/server/**/*.*, 
>> **/server/**/" 
>> jarfile="${dest.dir}/${build.app.name}.woa/Contents/Resources/Java/${b
>> uild.app.name.lowercase}.jar"/>
>> 
>> </target>
>> 
>> 
>> <target name="compile" depends="init.properties">
>> 
>> <taskdef name="wocompile" 
>> classname="org.objectstyle.woproject.ant.WOCompile" />
>> 
>> 
>> <wocompile srcdir="src" destdir="." includeantruntime="false">
>> 
>> <frameworks dir="${wo.system.frameworks}">
>> 
>>               <include name="JavaWebObjects.framework"/>
>> 
>>               <include name="JavaFoundation.framework"/>
>> 
>>                 <include name="JavaXML.framework"/>
>> 
>>                 <include name="JavaWOExtensions.framework"/>
>> 
>>                 <include name="JavaEOAccess.framework"/>
>> 
>>                 <include name="JavaEOControl.framework"/>
>> 
>>                 <include name="JavaJDBCAdaptor.framework"/>
>> 
>> </frameworks>                                 
>> 
>> <frameworks dir="${wo.local.frameworks}">
>> 
>>               <include name="RamsARJava.framework"/>
>> 
>>                 <include name="RamsBusObjJava.framework"/>
>> 
>>                 <include name="RamsCommJava.framework"/>
>> 
>>                 <include name="RamsUtilityJava.framework"/>
>> 
>>                 <include name="RamsStrategyEngineJava.framework"/>
>> 
>> </frameworks>                                 
>> 
>> <classpath>
>> 
>> <fileset dir="${wo.extensions}">
>> 
>> <include name="*.jar" />
>> 
>> </fileset>
>> 
>> </classpath>
>> 
>> </wocompile>
>> 
>> </target>
>> 
>> </project>
>> 
>> 
>> #Wed Feb 18 09:10:35 EST 2009
>> 
>> wo.system.root=/Users/v822480
>> 
>> wo.user.frameworks=/Users/v822480/Library/Frameworks
>> 
>> wo.system.frameworks=/Users/v822480/Library/Frameworks
>> 
>> wo.bootstrapjar=/Users/v822480/Library/WebObjects/JavaApplications/wot
>> askd.woa/WOBootstrap.jar
>> 
>> wo.network.frameworks=/Network/Library/Frameworks
>> 
>> wo.api.root=/Developer/Documentation/DocSets/com.apple.ADC_Reference_L
>> ibrary.WebObjectsReference.docset/Contents/Resources/Documents/documen
>> tation/InternetWeb/Reference/WO542Reference
>> 
>> wo.network.root=/Network
>> 
>> wo.extensions=/Users/v822480/Local/Library/WebObjects/Extensions
>> 
>> wo.user.root=/Users/v822480
>> 
>> wo.local.frameworks=/Users/v822480/Local/Library/Frameworks
>> 
>> wo.apps.root=/Users/v822480/Local/Library/WebObjects/Applications
>> 
>> wo.local.root=/
>> 
>> wo.dir.webroot=/Users/v822480/inetpub/wwwroot/WebObjects
>> 
>> Here’s the UNIXClassPath.txt file which is now being generated:
>> 
>> # JVM              == java
>> # JVMOptions       ==
>> # JDB              == jdb
>> # JDBOptions       ==
>> # ApplicationClass == DecisionQ_main
>> 
>> APPROOT/Resources/Java/
>> APPROOT/Resources/Java/decisionqjava.jar
>> 
>> HOMEROOT/Library/Frameworks/JavaEOAccess.framework/Resources/Java/java
>> eoaccess.jar 
>> HOMEROOT/Library/Frameworks/JavaEOAccess.framework/WebServerResources/
>> Java/JavaEOAccess.jar 
>> HOMEROOT/Library/Frameworks/JavaEOControl.framework/Resources/Java/jav
>> aeocontrol.jar 
>> HOMEROOT/Library/Frameworks/JavaEOControl.framework/WebServerResources
>> /Java/JavaEOControl.jar 
>> HOMEROOT/Library/Frameworks/JavaFoundation.framework/Resources/Java/ja
>> vafoundation.jar 
>> HOMEROOT/Library/Frameworks/JavaFoundation.framework/WebServerResource
>> s/Java/JavaFoundation.jar 
>> HOMEROOT/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/j
>> avajdbcadaptor.jar 
>> HOMEROOT/Library/Frameworks/JavaJDBCAdaptor.framework/WebServerResourc
>> es/Java/JavaJDBCAdaptor.jar 
>> HOMEROOT/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/
>> JavaWOExtensions.jar 
>> HOMEROOT/Library/Frameworks/JavaWOExtensions.framework/WebServerResour
>> ces/Java/JavaWOExtensions.jar 
>> HOMEROOT/Library/Frameworks/JavaWebObjects.framework/Resources/Java/ja
>> vawebobjects.jar 
>> HOMEROOT/Library/Frameworks/JavaWebObjects.framework/WebServerResource
>> s/Java/JavaWebObjects.jar 
>> HOMEROOT/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.j
>> ar 
>> HOMEROOT/Library/Frameworks/JavaXML.framework/WebServerResources/Java/
>> javaxml.jar 
>> HOMEROOT/Local/Library/Frameworks/RamsBusObjJava.framework/Resources/J
>> ava/ramsbusobjjava.jar 
>> HOMEROOT/Local/Library/Frameworks/RamsCommJava.framework/Resources/Jav
>> a/ramscommjava.jar 
>> HOMEROOT/Local/Library/Frameworks/RamsUtilityJava.framework/Resources/
>> Java/ramsutilityjava.jar
>> 
>> Thanks,
>> 
>> Terry Soles
>> 214-273-3916
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40
>> e-lumo.com
>> 
>> This email sent to [email protected]
> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to