Re: Adding a xml config file to the classpath
Re: Adding a xml config file to the classpath
- Subject: Re: Adding a xml config file to the classpath
- From: Henrique Gomes <email@hidden>
- Date: Sun, 21 Dec 2008 23:45:56 +0000
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
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
_______________________________________________
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