• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding a xml config file to the classpath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Adding a xml config file to the classpath
      • From: Chuck Hill <email@hidden>
References: 
 >Adding a xml config file to the classpath (From: Henrique Gomes <email@hidden>)
 >Re: Adding a xml config file to the classpath (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: [OT] New WO Years Resolutions.
  • Next by Date: Re: Adding a xml config file to the classpath
  • Previous by thread: Re: Adding a xml config file to the classpath
  • Next by thread: Re: Adding a xml config file to the classpath
  • Index(es):
    • Date
    • Thread