Re: Organising Libraries folder with Fluffy Bunny layout and Wonder build.xml
Re: Organising Libraries folder with Fluffy Bunny layout and Wonder build.xml
- Subject: Re: Organising Libraries folder with Fluffy Bunny layout and Wonder build.xml
- From: John Huss <email@hidden>
- Date: Mon, 22 Jun 2015 12:25:11 +0000
Yes, just add another star to the copy rule for Libraries in build.xml: Libraries/**
On Mon, Jun 22, 2015 at 5:03 AM Paul Hoadley <
email@hidden> wrote:
Hello,
I’m working on a project that requires a bunch of third party JARs, and by “bunch” I mean something ridiculous like about 20. (Alright, it’s Jersey.) To maintain some sanity in Libraries, I created Libraries/Jersey and threw them in there. While this works fine in Eclipse once they’re all on the classpath, the best I seem to be able to do with the ‘woapplication’ Ant task is get them copied into the same subdirectory in Contents/Resources/Java/Jersey, and then they don’t seem to be found on launch (though at the moment I’m only seeing the symptoms (Jersey classes not found) in WOUnit tests, because the app itself isn’t running yet). Actually, maybe it _is_ WOUnit, because I’m seeing all the entries in UNIXClassPath.txt pointing into the Jersey sub-directory, which makes me think this should just work.
I could probably post-process the built application bundle and “flatten” everything in Contents/Resources/Java, but is this a solved problem? Does anyone else put sub-folders in Libraries and if so, what do you do about it at build time? Or just not worth the bother?
--
Paul Hoadley
http://logicsquad.net/
_______________________________________________
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