Oh, and on my frameworks that I build in hudson, I have this setup for the Archive the Artifacts hudson setting: "dist/*.framework/**/*"

This is what puts MyFramework.framework in the Last Successful Artifacts directory.

Dave

On Oct 14, 2009, at 1:42 PM, David Avendasora wrote:

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


<setupTVWorkspace.sh.zip>
_______________________________________________
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:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com

 _______________________________________________
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Reply via email to