What does the classes clause of your woapplication task look like? This?

            <classes dir="${classes.dir}">
                <patternset>
<includesfile name="woproject/ classes.include.patternset"/> <excludesfile name="woproject/ classes.exclude.patternset"/>
                </patternset>
            </classes>


Chuck



On Dec 21, 2008, at 3:45 PM, Henrique Gomes wrote:


That doesn't seem to make any difference... the xml file is not included in APP.woa/Contents/Resources/Java or the APP.jar on the same dir. Also, the default patternset includes **/*.properties and I've tried placing a xpto.properties in Sources, but that also doesn't get packaged.

Placing the xml file on 'Sources' works for runs in Eclipse, it's copied to "build" and that's part of the classpath. But I can't get ant builds to include the file on a place that will be in the classpath of the running app.

I'm on eclipse 3.4.1, wolips nightly from yesterday, doing split installs.

Regards,

Henrique Gomes

On Dec 21, 2008, at 7:01 PM, Mike Schrag wrote:

<wocompile srcdir="src" destdir="bin" includes="**/ *.java,**/*.conf">

or in your case, **/*.xml

ms

On Dec 21, 2008, at 1:33 PM, Henrique Gomes wrote:


Hello,

I am using a library that loads it's config file from the classpath.
I have manually placed the .xml config file on APP.woa/Contents/ Resources/Java and got it working.

How do I have it placed there in every build? Or have it in the classpath other way?
Adding **/*.xml to woproject/classes.include.patternset didn't help.

Regards,

Henrique Gomes


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [email protected]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/lists %40farol.pt

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to [email protected]


--
Chuck Hill             Senior Consultant / VP Development

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to