Re: Hudson gives awt.headless error [SOLVED] (Where to put on the Wiki?)

2009-06-10 Thread Johan Henselmans


On 9 jun 2009, at 21:17, Mike Schrag wrote:

AWT is not properly configured on this server. Perhaps you need to  
run your container with -Djava.awt.headless=true?

do that ... you can put it in your tomcat startup jvm options list



OK, found where to put it:

sh-3.2# cat /opt/local/share/java/tomcat6/conf/setenv.local

#!/bin/sh
#
# setenv.local
#
# This script, if present, is executed by tomcatctl through setenv.sh
# in order to set up any environment prior to executation of tomcat.
#

# For Apple Java, JAVA_JVM_VERSION may be used to specify a particular
# java version to run. It should be something like 1.4, 1.5, or  
CurrentJDK.

#export JAVA_JVM_VERSION=1.5

export HUDSON_HOME=/opt/local/var/db/hudson
export JAVA_OPTS=-Djava.awt.headless=true


This made Hudson run on Tomcat from macports. I might make a wiki page  
for people that do not have Tomcat for breakfast.

I am oscillating between these subjects  to put the information:

• Web Applications
• Development
• Deployment
• Development Tools
• Integration with other clients
• Testing
• Additional Resources

Any suggestions where to put it?





ms

___
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/johan%40netsense.nl

This email sent to jo...@netsense.nl


Regards,

Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6279159



___
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


Re: Hudson gives awt.headless error [SOLVED] (Where to put on the Wiki?)

2009-06-10 Thread Mike Schrag

• Development Tools
I would lean towards a Hudson page under Development Tools, maybe?  I  
can hang my setupWorkspace.sh script on there also.


ms
___
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


Re: Hudson gives awt.headless error [SOLVED] (Where to put on the Wiki?)

2009-06-10 Thread Simon McLean
hey that would be great. I'm guessing that's the missing piece to my
hudson headache...

/Users/admin/.hudson/jobs/ClickPoint/workspace/ClickPoint/build.xml:204:
taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found

johan has already put the page up ready for you :-)

http://wiki.objectstyle.org/confluence/display/WO/Installing+and+Using+the+Hudson+build+server

Thanks, Simon



2009/6/10 Mike Schrag msch...@mdimension.com:
        • Development Tools

 I would lean towards a Hudson page under Development Tools, maybe?  I can
 hang my setupWorkspace.sh script on there also.

 ms
 ___
 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/simon%40potwells.co.uk

 This email sent to si...@potwells.co.uk

 ___
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


Re: Hudson gives awt.headless error [SOLVED] (Where to put on the Wiki?)

2009-06-10 Thread Mike Schrag

you're not passing woproject.jar to your ant build

On Jun 10, 2009, at 1:55 PM, Simon McLean wrote:


hey that would be great. I'm guessing that's the missing piece to my
hudson headache...

/Users/admin/.hudson/jobs/ClickPoint/workspace/ClickPoint/build.xml: 
204:

taskdef class org.objectstyle.woproject.ant.WOCompile cannot be found

johan has already put the page up ready for you :-)

http://wiki.objectstyle.org/confluence/display/WO/Installing+and+Using+the+Hudson+build+server

Thanks, Simon



2009/6/10 Mike Schrag msch...@mdimension.com:

   • Development Tools


I would lean towards a Hudson page under Development Tools, maybe?   
I can

hang my setupWorkspace.sh script on there also.

ms
___
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/simon%40potwells.co.uk

This email sent to si...@potwells.co.uk




___
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