Re: class library confusion
Re: class library confusion
- Subject: Re: class library confusion
- From: Gary Teter <email@hidden>
- Date: Wed, 25 Oct 2006 15:16:16 -0700
On Oct 25, 2006, at 2:57 PM, Gavin Eadie wrote:
If I manually shuffle the contents of classpath.txt, I can make the
error go away, but I don't know any way to change the order of the
frameworks in that file at build time.
I've had to do this before. Add a shell script build phase as the
last phase in the application target (not application server). Use
perl or something similar to munge the classpath. For example, I have
some code that fails unless /System/Library/Java/ is at the top of
the classpath:
echo "Mangling classpath...."
perl -pi \
-e "s'# ApplicationClass == Application'# ApplicationClass ==
Application
WOROOT/Library/Java';" \
${APPLICATION_DIR_MACOS}/MacOSClassPath.txt
You can also use this approach to bundle required frameworks into
your Application.woa bundle.
--
WireHose: Smart metadata and personalization for WebObjects.
http://www.wirehose.com/
_______________________________________________
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