Re: Hudson and setupWorkspace.sh
Re: Hudson and setupWorkspace.sh
- Subject: Re: Hudson and setupWorkspace.sh
- From: David Avendasora <email@hidden>
- Date: Wed, 14 Oct 2009 13:42:50 -0400
Hi Frank,On Oct 14, 2009, at 11:30 AM, Mr. Frank Cobia wrote:
4) I can not get Hudson to "Archive the Artifacts" for framework builds when set to $WORKSPACE/MyProject/dist/*.framework. The configuration screen tells me that $WORKSPACE/MyProject/dist does exist but the build throws an error saying it can not find /Developer/Hudson/Home/jobs/MyProject/workspace/MyProject/dist/*.framework.
Hmmm.... not sure on this one, but once you change the Local module directory (see #1) then maybe that will fix this too.
I still can not figure this one out. The console output actually suggested what to put because it said it found things there, but when I did, it gave an error about them not being there. Since I compile my frameworks into the apps, I do not need the standalone frameworks so i guess it is not a big deal. I just wanted to make sure the framework was around for the app to pickup when it builds.
Mike's setupWorkspace.sh simply grabs the framework's tar.gz file and extracts the framework into your project's Root/Library/Frameworks (if I remember correctly). Obviously you could change the script to just grab the MyFramework.framework folder itself instead and copy it.
There's a number of ways of hacking/changing mike's script to conform to your needs. I have changed my version to create a symlink to any frameworks in .classpath that are also in the Hudson jobs directory. This removes the step of copying and extracting and makes the build even faster. I also added the ability to specify more than just simply the version of WO because we have different versions of internal frameworks as well.
I've attached my setupWorkspace.sh in case you (or anyone else) is interested.
Mike's file is a great place to start, but don't let it limit you.
Dave
|
Attachment:
setupTVWorkspace.sh.zip
Description: Zip archive
_______________________________________________
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