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: Chuck Hill <email@hidden>
- Date: Thu, 18 Oct 2012 09:29:33 -0700
I think the woproject code that builds the bundle puts ERXExtensions first so that Wonder can patch WO. If you want to patch Wonder, you might have to generate that classpath yourself. Or submit patches (git pull requests) to wonder to make the private methods protected so that you can make your changes without replacing Wonder classes.
Chuck
On 2012-10-18, at 2:41 AM, Riccardo De Menna wrote:
> Hi Paul, Hi Michael,
>
> Sorry for the late reply but I was abroad and have just come back. So…
> Yes I'm using a regular ant build from eclipse. Right-clicking on the project and selecting "Install".
>
> This is my app build order in eclipse:
> http://hati.tuorlo.net/ClasspathIssue/ApplicationBuildOrder.png
>
> This is my framework build order in eclipse:
> http://hati.tuorlo.net/ClasspathIssue/FrameworkBuildOrder.png
>
> This is my build.xml file:
> http://hati.tuorlo.net/ClasspathIssue/build.xml
> (You can ignore the rsync parts I've added)
>
> And this is the resulting classpath file I get when I install:
> http://hati.tuorlo.net/ClasspathIssue/UNIXClassPath.txt
>
> As you can see… the build order has TFramework as the first thing, but the classpath only has it down after the ERJavaMail.framework.
>
> Is this a misbehavior? Should the ant-built classpath conform to the eclipse build order?
>
> regards,
> Riccardo
>
> On 10/ott/2012, at 23:44, Paul Hoadley <email@hidden> wrote:
>
>> Hi Riccardo,
>>
>> On 10/10/2012, at 6:00 PM, Riccardo De Menna wrote:
>>
>>> 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?!?
>>
>> How are you building for deployment? Standard Ant build scripts?
>>
>>
>> --
>> 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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
_______________________________________________
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