On Mar 30, 2007, at 5:58 PM, Kieran Kelleher wrote:
> OK, I have a framework created in WOLips. Aswell as source in the
> Sources directory , I have 4 jars in the framework project's
> Libraries directory which have been "added top the build path" in
> Eclipse.
>
> When I build this framework using the standard build.xml file, the
> jars get included in the dir
> MyFramework.framework/Resources/Java/Libraries/
>
> Question #1: If I look at other frameworks, such as ERJars, the
> jars are in
> MyFramework/Resources/Java/
>
> ...... why is it different?
Flattening. Yours are not getting flattened. That is wrong. Have
you updated WOLips recently? There was a problem that was fixed in
the last couple of days where the build.xml for frameworks was the
one for Wonder frameworks. That might be related to this as it had a
Libraries/ reference in the build.xml that was not the standard
WOLips one.
What is in your woproject/resources.include.patternset file? You
probably want a line like
Libraries/*.jar
What is in your build file for the resources in the woframework
task? Mine looks like this:
<resources dir=".">
<patternset>
<includesfile name="woproject/resources.include.patternset"/>
<excludesfile name="woproject/resources.exclude.patternset"/>
</patternset>
</resources>
> Question #2: When I include this framework in an app.woa and build
> the app, the jars are not added to the MacOSClassPath.txt file in
> the resulting woa.
I rather suspect this is a result of #1.
> Something basic is amiss here and I'm just not figuring it out.
>
> Any pointers would be greatly appreciated.
Hopefully that will.
--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 Mar 30 2007 - 21:06:26 EDT