Changes for page Java Client-WebStart Incremental Build
Last modified by David Avendasora on 2009/02/05 17:10
From version 19.1
edited by David Avendasora
on 2009/02/05 17:10
on 2009/02/05 17:10
Change comment:
There is no comment for this version
To version 20.1
edited by David Avendasora
on 2009/01/22 08:34
on 2009/01/22 08:34
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -12,44 +12,57 @@ 12 12 13 13 <project name="javaclient" default="javaclient" basedir="."> 14 14 <target name="setProps"> 15 - <property file="${user.home}${file.separator}build.properties" 16 - <property file="build.properties" 17 - <property file="${user.home}${file.separator}Library${file.separator}wobuild.properties" 15 + <property file="${user.home}${file.separator}build.properties"/> 16 + <property file="build.properties"/> 17 + <property file="${user.home}${file.separator}Library${file.separator}wobuild.properties"/> 18 18 <condition property="wo.properties.check.failed"> 19 19 <not> 20 - 21 - 22 - 23 - 24 - 25 - </condition> 26 - <fail message="Could not find ${user.home}${file.separator}Library${file.separator}wobuild.properties." if="wo.properties.check.failed" 20 + <and> 21 + <isset property="wo.wosystemroot"/> 22 + <isset property="wo.wolocalroot"/> 23 + </and> 24 + </not> 25 + </condition> 26 + <fail message="Could not find ${user.home}${file.separator}Library${file.separator}wobuild.properties." if="wo.properties.check.failed"/> 27 27 </target> 28 28 <target name="javaclient" depends="setProps"> 29 + <mkdir dir="build/${project.name}.woa/Contents/WebServerResources/Java"/> 29 29 30 30 <!-- project client-side classes --> 31 - <mkdir dir="build/${project.name}.woa/Contents/WebServerResources/Java" /> 32 - <jar basedir="${classes.dir}" includes="**/client/**/*.class,**/common/**/*.class" jarfile="build/${project.name}.woa/Contents/WebServerResources/Java/${project.name}.jar"> 32 + <copy todir="build/${project.name}.woa/Contents/WebServerResources/Java/"> 33 + <fileset dir="${classes.dir}"> 34 + <include name="**/client/**/*.class,**/common/**/*.class,**/BMGenericRecord.class"/> 35 + <exclude name="**/server/**/*.class"/> 36 + </fileset> 37 + </copy> 38 + 39 + <jar basedir="${classes.dir}" 40 + includes="**/client/**/*.class,**/common/**/*.class" 41 + excludes="**/server/**/*.class" 42 + jarfile="build/${project.name}.woa/Contents/WebServerResources/Java/${project.name}.jar"> 33 33 </jar> 34 34 35 - <!-- Launch Scripts and WOBootstrap.jar 36 - <mkdir dir="build/${project.name}.woa/Contents/MacOS" 37 - <mkdir dir="build/${project.name}.woa/Contents/UNIX" 38 - <mkdir dir="build/${project.name}.woa/Contents/Windows" 45 + <!-- Launch Scripts and WOBootstrap.jar--> 46 + <mkdir dir="build/${project.name}.woa/Contents/MacOS"/> 47 + <mkdir dir="build/${project.name}.woa/Contents/UNIX"/> 48 + <mkdir dir="build/${project.name}.woa/Contents/Windows"/> 39 39 40 - <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/UnixLaunch.sh" tofile="build/${project.name}.woa/Contents/${project.name}" /> 41 - <chmod file="build/${project.name}.woa/Contents/${project.name}" perm="ugo+rx" /> 42 - <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/WinLaunch.CMD" tofile="build/${project.name}.woa/Contents/${project.name}.CMD" /> 43 - <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/WinLaunch.CMD" tofile="build/${project.name}.woa/Contents/Windows/${project.name}.CMD" /> 44 - <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/WOBootstrap.jar" tofile="build/${project.name}.woa/Contents/WOBootstrap.jar" /> 45 - 46 - <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/UnixLaunchClient.sh" tofile="build/${project.name}.woa/Contents/MacOS/${project.name}_Client" /> 47 - <chmod file="build/${project.name}.woa/Contents/MacOS/${project.name}_Client" perm="ugo+rx" /> 48 - <copy file="ClasspathClient.txt" tofile="build/${project.name}.woa/Contents/MacOS/ClasspathClient.txt" /> 49 - 50 - <!-- D2JC only --> 51 - <copy file="user.d2wmodel" tofile="build/${project.name}.woa/Contents/Resources/user.d2wmodel" /> 52 - 50 + <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/UnixLaunch.sh" 51 + tofile="build/${project.name}.woa/Contents/${project.name}"/> 52 + <chmod file="build/${project.name}.woa/Contents/${project.name}" perm="ugo+rx"/> 53 + <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/WinLaunch.CMD" 54 + tofile="build/${project.name}.woa/Contents/${project.name}.CMD"/> 55 + <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/WOBootstrap.jar" 56 + tofile="build/${project.name}.woa/Contents/WOBootstrap.jar"/> 57 + 58 + <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/UnixLaunchClient.sh" 59 + tofile="build/${project.name}.woa/Contents/MacOS/${project.name}_Client"/> 60 + <chmod file="build/${project.name}.woa/Contents/MacOS/${project.name}_Client" perm="ugo+rx"/> 61 + <copy file="ClasspathClient.txt" tofile="build/${project.name}.woa/Contents/MacOS/ClasspathClient.txt"/> 62 + 63 + <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/WinLaunch.CMD" 64 + tofile="build/${project.name}.woa/Contents/Windows/${project.name}.CMD"/> 65 + 53 53 </target> 54 54 </project> 55 55 {{/code}}