Changes for page Java Client-WebStart Incremental Build
Last modified by David Avendasora on 2009/02/05 17:10
From version 45.1
edited by David Avendasora
on 2008/06/17 14:06
on 2008/06/17 14:06
Change comment:
There is no comment for this version
To version 46.1
edited by Florijan Stamenkovic
on 2008/06/17 18:51
on 2008/06/17 18:51
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Java Client-Incremental Build 1 +Java Client-WebStart Incremental Build - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. avendasora1 +XWiki.flor385 - Content
-
... ... @@ -1,5 +1,7 @@ 1 - WOLipsincrementalbuilderwillnot automaticallycreatetherequiredjarofyourclient-sideclassesandplace it inthe project.woa/Contents/WebServerResources/Java/directory asisrequiredbyaJavaClient application.1 +There are many ways you can organize and deploy WebObject JavaClient applications. One of the ways to do it is through WebStart. You could manually create a WebStart app, but WebObjects can also do it for you, taking care of JNLP creation, jar organization, and many WebStart nasty bits. 2 2 3 +There is a problem however. The WOLips incremental builder will not automatically create the required jar of your client-side classes and place it in the project.woa/Contents/WebServerResources/Java/ directory as is required by a WebObjects WebStart Java Client application. 4 + 3 3 Without the client classes placed in WebServerResources, Eclipse's built-in Run... command will not work properly as the client application will not have access to its classes and WebObjects will silently fall-back to EOGenericRecord. This causes the confusing condition of the application launching and likely not generating any errors, but not working correctly either. 4 4 5 5 Below are the steps for adding an additional "Ant Builder" to your project to generate and place the required jar in the right location. ... ... @@ -34,16 +34,20 @@ 34 34 {{/code}} 35 35 36 36 1. Right-Click on your project, and select Properties. 37 -1. Click on "Builders" on the right side. 39 +1. Click on "Builders" on the left side. 40 +[[image:Picture 2.png]] 38 38 1. Click the "New" button. 39 39 1. Select "Ant Build" and click "Okay". 40 40 1. Name it "Java Client Incremental Builder" 41 41 1. Under the "Main" tab, click "Browse Workspace". 42 42 1. Click on your Project, and select the javaclientbuild.xml file you created in step 1, click "Okay". 43 - 44 -* Under the "Refresh" tab, check "Refresh resources upon completion." and select "The project containing the selected resource" 45 - 46 -1. Under the "Targets" tab, set "javaclient, setProps" for "After a 'Clean'", "Manual Build" and "Auto Build". 46 +[[image:Picture 3.png]] 47 +1. Under the "Refresh" tab, check "Refresh resources upon completion." and select "The project containing the selected resource" 48 +[[image:Picture 4.png]] 49 +1. Under the "Targets" tab, set "javaclient" for "After a 'Clean'", "Manual Build" and "Auto Build". 50 +[[image:Picture 5.png]] 51 +It will show up as "<Default Target Selected>" 52 +[[image:Picture 7.png]] 47 47 1. Click okay to close the Builder Properties window. 48 48 1. Make sure your new Builder is checked and executes AFTER the WOLips Incremental Builder, otherwise it will error. 49 49 1. Click "Okay" to exit Project Properties.