Re: Building for deployment
Re: Building for deployment
- Subject: Re: Building for deployment
- From: Paul Hoadley <email@hidden>
- Date: Mon, 14 Dec 2009 08:53:12 +1030
On 14/12/2009, at 8:30 AM, Mark Wardle wrote:
> I'm pulling my hair out trying to get a WOA that contains all embedded
> frameworks - including WO54, project wonder and my own.
This should be almost a push-button exercise with the latest tools. I do this all the time.
> Naturally, during development, everything just works from within
> Eclipse. In particular, I have Project Wonder building from within
> Eclipse also.
Someone can correct me if I'm wrong, but I'm pretty sure that to get external frameworks embedded, you need to have them fully built in one of the locations WOLips knows about. So even if you have the Wonder source in your Eclipse workspace, you will want to have the built frameworks installed somewhere that your wolips.properties file points to. For example, I have Wonder in /Users/paulh/Library/Frameworks. The build system won't build, install and embed frameworks from source alone.
> In fact, I've being going around in circles so much that I've lost
> track of the different wiki pages I've tried to follow - each
> suggesting different changes to a build.xml file (or an entirely
> different build file). I've messed with properties I don't understand,
> and in fact, think I'm now worse off than when I started. I've even
> looked at the documentation covering maven and hudson to see whether
> they would simplify things; I've concluded *not*.
Start again from scratch. Start a new Wonder Application copy over the pristine build.xml.
> Is the information in this wiki page still correct?
> (http://wiki.objectstyle.org/confluence/display/WOL/Embedding+WOFrameworks)
Only the "side-note" at the top applies to you, and even then the WOFrameworksBaseURL should be irrelevant if your Wonder is recent.
> I've now created a new PW application and copied the build.xml and
> build.properties back hopefully correcting all my corrections.
It should. Set the "WOLips Deployment" properties as described on that wiki page, make sure the built Wonder frameworks are findable, then run 'build' from build.xml. Your build products will be in dist/.
--
Paul.
w http://logicsquad.net/
h http://paul.hoadley.name/
_______________________________________________
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