Re: migrating a jc application from Xcode to wolips - how to build the client side stuff ?
Re: migrating a jc application from Xcode to wolips - how to build the client side stuff ?
- Subject: Re: migrating a jc application from Xcode to wolips - how to build the client side stuff ?
- From: Chuck Hill <email@hidden>
- Date: Thu, 13 Sep 2007 08:16:47 -0700
On Sep 13, 2007, at 4:11 AM, Paolo Sommaruga wrote:
the one document refers to the old ProjectB in win and several
thing are now changed . The only things I found useful in such
article is the following ant target
<target name="javaclient">
<mkdir dir="${dest.dir}/${project.name}.woa/Contents/
WebServerResources/Java"/>
<jar basedir="${classes.dir}" includes="**/client/**/*.class"
jarfile="${dest.dir}/${project.name}.woa/Contents/
WebServerResources/Java/${project.name}.jar">
</jar>
</target>
which actually build the correct jar with the only cliant-side
class and place it to the correct location. This work because in
the jc the developer usually places the client side java class in a
package like myapplication.client
Now the only problema is that the jar with the server side stuff,
builded by default by Ant, the one in MyJavaApp/Contents/Resources/
Java also include the client side java
To avoid this, I have tryied to add a row
**/client/**
in resources.exclude.patternset
woproject/classes.exclude.patternset
but this seems don'twork because the client side java class stay
yet in the jar. Perhaps someone wolips guru can give me some
hints, I think there is need sono exclude attribute somewhere
Regards
Paolo Sommaruga
Il giorno 13/set/07, alle ore 00:06, Lachlan Deck ha scritto:
On 12/09/2007, at 3:23 AM, Chuck Hill wrote:
On Sep 11, 2007, at 8:27 AM, Paolo Sommaruga wrote:
finally I have successfully migrated some of our elaborate wo web
applications from Xcode to eclipse/wolips. Also I can war deploy
it, thanks to Chuck which has helped me with my class loader
conflict problem with ant.
Now I'm trying to figure me how to migrate one wo jc application,
not D2J and here I miss in wolips the Xcode target concept. I mean
the Xcode Web Server target in which the interface java class and
nib files are placed. I 'm just able to place the nib files in
MyJavaApp.woContents/WebServerResources using the useful contextual
menu WOLips Tools->Include as WebServerResources.
But I see that my client side java class are builded in the server
side stuff. Xcode compiles the client side java class and build a
jar file in MyJavaApp.woa/Contents/WebServerResources/Java. How do
the same with wolips ? Someone has an ant task for this, i 'm new
to ant ? Has someone builded successfully a jc non D2J application
with wolips ?
I am not a Java Client developer, but this might be of help to you:
http://java.1mileup.com:8080/blojsom/blog/default/Java Client in
Windows Eclipse/2005/02/25/
JavaClient_in_WOLips_setting_up_the_project.html
And have a chat with Andres about putting this up here:
http://wiki.objectstyle.org/confluence/display/WOL/Tutorials
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40jpaso.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden