Changes for page Java Client-WebStart Incremental Build
Last modified by David Avendasora on 2009/02/05 17:10
From version 22.1
edited by David Avendasora
on 2009/02/05 17:09
on 2009/02/05 17:09
Change comment:
There is no comment for this version
To version 24.1
edited by David Avendasora
on 2009/01/22 08:33
on 2009/01/22 08:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -12,43 +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 + <mkdir dir="build/${project.name}.woa/Contents/WebServerResources/Java"/> 30 + 30 30 <!-- project client-side classes --> 31 - <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"> 32 32 </jar> 33 33 34 - < mkdirdir="build/${project.name}.woa/Contents/MacOS" />35 - < !--Launch Scripts and WOBootstrap.jar -->36 - <mkdir dir="build/${project.name}.woa/Contents/UNIX" 37 - <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"/> 38 38 39 - <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/UnixLaunch.sh" tofile="build/${project.name}.woa/Contents/${project.name}" /> 40 - <chmod file="build/${project.name}.woa/Contents/${project.name}" perm="ugo+rx" /> 41 - <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/WinLaunch.CMD" tofile="build/${project.name}.woa/Contents/${project.name}.CMD" /> 42 - <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/WinLaunch.CMD" tofile="build/${project.name}.woa/Contents/Windows/${project.name}.CMD" /> 43 - <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/WOBootstrap.jar" tofile="build/${project.name}.woa/Contents/WOBootstrap.jar" /> 44 - 45 - <copy file="/Library/Application Support/Apple/Developer Tools/WebObjects Support/UnixLaunchClient.sh" tofile="build/${project.name}.woa/Contents/MacOS/${project.name}_Client" /> 46 - <chmod file="build/${project.name}.woa/Contents/MacOS/${project.name}_Client" perm="ugo+rx" /> 47 - <copy file="ClasspathClient.txt" tofile="build/${project.name}.woa/Contents/MacOS/ClasspathClient.txt" /> 48 - 49 - <!-- D2JC only --> 50 - <copy file="user.d2wmodel" tofile="build/${project.name}.woa/Contents/Resources/user.d2wmodel" /> 51 - 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 + 52 52 </target> 53 53 </project> 54 54 {{/code}}