Re: How to build Wonder for WebObjects 5.3 ?
Re: How to build Wonder for WebObjects 5.3 ?
- Subject: Re: How to build Wonder for WebObjects 5.3 ?
- From: "John Huss" <email@hidden>
- Date: Fri, 4 Apr 2008 10:41:38 -0500
I don't know about Maven, but if you're just downloading and bulding the source I think you have to just remove the build.properties file and then it will build for 5.3
John
On Fri, Apr 4, 2008 at 10:18 AM, Greg Brown <
email@hidden> wrote:
Greetings,
The latest Wonder source seems to be only for WebObjects 5.4.1; is there anything for Tiger (10.4x) users at 5.3.3?
The page:
refers to Build.txt, which states:
Building Instructions
=========================
You can build Project Wonder with Ant, Maven and Eclipse.
But that is only for Leopard/WO 5.4.1 I think, somebody correct me. Anything else makes lots of errors.
The only way for me to use Wonder with WO 5.3.3 is the pre-compiled frameworks. Hmmm.. How does Mike S. make those?
Ok, I found the icu4j.jar, and installed it, but I got a more errors, all related to NSMutableArray: (classpath ordering?)
/Wonder/Common/Frameworks/ERExtensions/Sources/com/webobjects/foundation/NSArray.java:[877,29] type com.webobjects.foundation.NSMutableArray does not take parameters
But I think there is no other way for WO 5.3.3 users BUT the pre-compiled frameworks. It is difficult to support multiple versions of WebObjects, maybe Maven can help!
Somebody correct me if I am wrong, now I will give up on Wonder from source, and download the pre-compiled frameworks,
Thanks!
Greg
ps. Is changing the pom.xml to:
<properties>
<woversion>5.3.3</woversion>
</properties>
correct? is that enough for Maven? Just guessing here...
On Apr 3, 2008, at 10:22 PM, Henrique Prange wrote:
Hi Greg,
Greg Brown wrote:
I was thinking that Wonder, with all the hard work that has been contributed in the last few years, has advanced so far that I should be using it!
I was also looking at maven. It may be promising as well.
The latest Wonder source has in its pom.xml:
<properties>
<woversion>5.4.1</woversion>
</properties>
So
I assume that it is set to build Wonder for version
5.4.1.
I am on 5.3.3, so I edited pom.xml so it said:
...
<properties>
<woversion>5.3.3</woversion>
</properties>
...
and tried a mvn install. I got a tired brain and errors:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) icu4j:icu4j:jar:2.8
Try downloading the file manually from the project website.
I think it is looking for the icu4j.jar. Where is it? It can't find it. Is that a bug?
No. This is not a bug. Some dependencies was not deployed to the Maven central repository. You have to install them by hand. See [1] for instructions.
Anyway, the POMs of Wonder project are a little bit outdated. I'm fixing it and I will send a patch to the Wonder soon.
Cheers,
Henrique
I also think the Wonder source is set to build the 5.4.1 versions for eclipse or ant. What's the difference from
the one that works with WebObjects 5.3.3?
Thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
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