Re: How do I change the classpath order?

2012-10-18 Thread Riccardo De Menna
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 pa...@logicsquad.net 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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: How do I change the classpath order?

2012-10-18 Thread Chuck Hill
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 pa...@logicsquad.net 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net

-- 
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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: How do I change the classpath order?

2012-10-10 Thread Riccardo De Menna
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 pa...@logicsquad.net 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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: How do I change the classpath order?

2012-10-10 Thread Michael Hast

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 OSClassPath.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 pa...@logicsquad.net 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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/mhast%40desertsky.com

This email sent to mh...@desertsky.com



--
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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: How do I change the classpath order?

2012-10-10 Thread Paul Hoadley
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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: How do I change the classpath order?

2012-10-09 Thread Riccardo De Menna
Nobody for this one? Where should I look? I just need my framework to be listed 
above ERXExtension.

rdm

On 04/ott/2012, at 19:50, Riccardo De Menna deme...@tuorlo.net wrote:

 Hi all,
 
 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?
 
 As a side note to all wonder dev's… Use more protected and less private. It's 
 a nightmare to subclass sometimes ;-)
 
 regards,
 Riccardo
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/demenna%40tuorlo.net
 
 This email sent to deme...@tuorlo.net


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: How do I change the classpath order?

2012-10-09 Thread Paul Hoadley
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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


How do I change the classpath order?

2012-10-04 Thread Riccardo De Menna
Hi all,

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?

As a side note to all wonder dev's… Use more protected and less private. It's a 
nightmare to subclass sometimes ;-)

regards,
Riccardo
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com