Changes for page Java Client-WebStart Distribution Building
Last modified by David Avendasora on 2009/03/30 14:20
From version 36.1
edited by David Avendasora
on 2009/03/26 07:19
on 2009/03/26 07:19
Change comment:
There is no comment for this version
To version 39.1
edited by David Avendasora
on 2009/03/30 14:20
on 2009/03/30 14:20
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,13 +1,13 @@ 1 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 +{{info}} 3 3 The following are the instructions are for use with versions of WOLips prior to the current Stable, which has these settings already. 5 +{{/info}} 4 4 5 5 When using Ant to build: 6 6 7 -1. Add the following "javaclient" target to your build.xml file. 8 - 9 -{{code}} 10 - 9 +1. Add the following "javaclient" target to your build.xml file. 10 +1. {{code}} 11 11 <target name="javaclient"> 12 12 <mkdir dir="${dest.dir}/${project.name}.woa/Contents/WebServerResources/Java" /> 13 13 <!-- project client-side classes --> ... ... @@ -16,17 +16,10 @@ 16 16 <!-- project user.d2wmodel file (D2JC only) --> 17 17 <copy file="user.d2wmodel" tofile="${dest.dir}/${project.name}.woa/Contents/Resources/user.d2wmodel" /> 18 18 </target> 19 +{{/code}}Make the "build" and "install" targets depend upon "javaclient" just prior to the "ssdd" target. 19 19 20 -{{/code}} 21 - 22 -1. Make the "build" and "install" targets depend upon "javaclient" just prior to the "ssdd" target. 23 - 24 24 {{code}} 25 25 26 -<target name=" build" depends="setProps,init.build,build.woapp,javaclient,ssdd,war" />23 +<target name="install" depends="setProps,init.install,build.woapp,javaclient,ssdd,war" /> 27 27 28 28 {{/code}} 29 - 30 -{{code}} 31 -<target name="install" depends="setProps,init.install,build.woapp,javaclient,ssdd,war" /> 32 -{{/code}}