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 protected]> 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 protected]) > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
