Re: How do I change the classpath order?
Re: How do I change the classpath order?
- Subject: Re: How do I change the classpath order?
- From: Michael Hast <email@hidden>
- Date: Wed, 10 Oct 2012 09:11:37 -0700
I thought, as Paul pointed out, when one goes in Eclipse to
[Project] > Build Path > Configure Build Path... > Order and Export
and changes the order of the frameworks, it changes the order of the
frameworks in the .classpath file for you. And when we do an ant build
and looking in the <OS>ClassPath.txt file for the application, the order
is the same as in the .classpath file. Is that not working for you?
Michael
On 10/10/2012 12:30 AM, Riccardo De Menna wrote:
Hi Paul,
The order I define in WOLips works fine in development but not in deployment where I get a totally different setup.
Manually updating the classpath file every time I redeploy is not an option and is prone to a lot of errors.
There must be a way to act on the deployed classpath file?!?
rdm
On 10/ott/2012, at 00:39, Paul Hoadley <email@hidden> wrote:
Hi Riccardo,
On 05/10/2012, at 3:20 AM, Riccardo De Menna wrote:
Question… How do I change the order of the entires in the generated classpath files on deployment?
I have a class that patches one from Wonder to add some functionality. It works fine locally but when I deploy, the generated classpath file puts ERXExtensions above my framework. I can see that ERXExtension.jar and Ajax.jar are the first ones so I assume that the order is not random but it does not look like it's following my eclipse order. Is there a way to act on it?
The .classpath file in your project's root should handle this. You can edit it manually, or use WOLips:
[Project] > Build Path > Configure Build Path... > Order and Export
--
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
--
Tel: (602) 279-4600 ext: 635
Desert Sky Software: www.desertsky.com
Specializing in the Development and Hosting of
e-Business Applications.
_______________________________________________
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