Hi Peter,
On Dec 8, 2006, at 6:16 PM, Peter Wilkins wrote:
> When I build my application in XCode, it bundles all the dependent
> frameworks and jars into the .woa application.
I am pretty sure that it does not do that out of the box. Someone
must have added some scripting steps.
> When I run the Ant WOApplication task in Eclipse it doesn't bundle
> the files, but references them in the MacOS*ClassPath.txt files.
>
> How would I go about bundling the dependent frameworks and jars
> into the woa application package?
'tis easy. I am an "edit the build.xml file directly" kind of guy.
Maybe there is an easier GUI way.
So. Open up the build.xml file. Find the build.woapp target. Find
where it has
<frameworks root="${wo.wolocalroot}">
and change it to
<frameworks root="${wo.wolocalroot}" embed="true">
Do the same for
<frameworks root="${user.home}">
if needed.
For the jars, look for this just a bit further down:
<lib dir=".">
<include name="Add .jar's that should be copied in the woa."/>
<exclude name="**/*.woa/**"/>
</lib>
Change the include to be *.jar or name each one directly.
Docs are
http://www.objectstyle.org/confluence/display/WOL/WOApplication
http://www.objectstyle.org/confluence/display/WOL/Embedding+WOFrameworks
Chuck
--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
This archive was generated by hypermail 2.0.0 : Fri Dec 08 2006 - 23:17:52 EST