Last modified by David Avendasora on 2009/03/30 14:20

From version 34.1
edited by David Avendasora
on 2008/03/12 15:36
Change comment: There is no comment for this version
To version 36.1
edited by David Avendasora
on 2009/03/26 07:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Java Client-Building
1 +Java Client-WebStart Distribution Building
Content
... ... @@ -1,16 +1,20 @@
1 -Your deployed application must have a jar of all the client-side classes (and any subclasses of EOGenericRecord that your client-classes extend) in the Project.woa/Contents/WebServerResources/Java/ directory. If you don't include a jar of your client-side classes in this directory, WebObjects silently uses EOGenericRecord instead. This is made obvious by things like default values, client-side validation and other client-side logic not working in the deployed application.
1 +Your deployed WebStart-distributed application must have a jar of all the client-side classes (and any subclasses of EOGenericRecord that your client-classes extend) in the Project.woa/Contents/WebServerResources/Java/ directory. If you don't include a jar of your client-side classes in this directory, WebObjects silently uses EOGenericRecord instead. This is made obvious by things like default values, client-side validation and other client-side logic not working in the deployed application.
2 2  
3 -The following are the instructions when using Ant to build:
3 +The following are the instructions are for use with versions of WOLips prior to the current Stable, which has these settings already.
4 4  
5 +When using Ant to build:
6 +
5 5  1. Add the following "javaclient" target to your build.xml file.
6 6  
7 7  {{code}}
8 8  
9 9  <target name="javaclient">
10 - <mkdir dir="${dest.dir}/${project.name}.woa/Contents/WebServerResources/Java"/>
11 - <jar basedir="${classes.dir}" includes="**/client/**/*.class,**/common/**/*.class"
12 - jarfile="${dest.dir}/${project.name}.woa/Contents/WebServerResources/Java/${project.name}.jar">
13 - </jar>
12 + <mkdir dir="${dest.dir}/${project.name}.woa/Contents/WebServerResources/Java" />
13 + <!-- project client-side classes -->
14 + <jar basedir="${classes.dir}" includes="**/client/**/*.class,**/common/**/*.class" jarfile="${dest.dir}/${project.name}.woa/Contents/WebServerResources/Java/${project.name}.jar">
15 + </jar>
16 + <!-- project user.d2wmodel file (D2JC only) -->
17 + <copy file="user.d2wmodel" tofile="${dest.dir}/${project.name}.woa/Contents/Resources/user.d2wmodel" />
14 14  </target>
15 15  
16 16  {{/code}}