On Jun 12, 2009, at 2:21 PM, Travis Britt wrote:

Are you telling ant where woproject is? Example: ant -lib /path/to/ woproject.jar

Nope. I wasn't.

Now I am and I believe it should all be working now, but when I click "build now" in Hudson, it deletes everything in my Hudson workspace and then downloads everything from SVN again so I end up with only the "Trunk" directory in my workspace!

Here's my Invoke Ant settings, for reference.

Targets: -propertyfile ${WORKSPACE}Root/wolips.properties -lib $ {WORKSPACE}Root/lib/woproject.jar clean build
Build File: Trunk/build.xml





On Jun 12, 2009, at 11:15 AM, David Avendasora <[email protected] > wrote:


On Jun 12, 2009, at 1:53 PM, Mike Schrag wrote:

When I kick off a build, it's downloading my project from SVN as expected, and then executing the shell command: ./ setupWorkspace.sh ${WORKSPACE} 54
don't execute ./, execute with the full path to setupWorkspace.sh ... it's using "dirname $0" to get its folder, which is "." in your case.

Thanks Mike! That fixed that problem. Now onto the next:

I am telling Hudson to execute the install target of my project's build.xml file, which it fines and starts to run just fine, but then it errors on the WOCompile class.
BUILD FAILED
/Users/Shared/Hudson/BakeryManagementFoundation/Trunk/build.xml:84: taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found woproject.jar is in the root of my Hudson workspace and it is being properly copied to the Root/lib directory.

Do I need to specify a classpath for the Hudson job? I'm sure you covered all of this at WOWODC, but I took lousy notes. You just made it look so easy.

Dave

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/tbritt%40phigment.org

This email sent to [email protected]

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

This email sent to [email protected]

Reply via email to