|
From: Marco T. <mt...@je...> - 2006-04-12 21:46:36
|
Hi, I'm installing CruiseControl as an NT service, using the wrapper. I found some examples on the net on how to configure CruiseControl. This is my configuration file: [begin] wrapper.java.command=%JAVA_HOME%/bin/java wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp # Java Classpath (include wrapper.jar) Add class path elements as # needed starting from 1 wrapper.java.classpath.1=D:/OPENSOURCES\cruisecontrol-2.4.1/main/lib/*.jar wrapper.java.classpath.2=D:/OPENSOURCES/apache-ant-1.6.5/lib/*.jar wrapper.java.classpath.3=D:/OPENSOURCES\cruisecontrol-2.4.1/main/dist/cruisecontrol.jar wrapper.java.classpath.4=D:/J2SE/lib/*.jar wrapper.java.classpath.5=./*.jar # Java Library Path (location of Wrapper.DLL or libwrapper.so) wrapper.java.library.path.1=./ # Java Additional Parameters wrapper.java.additional.1=-Djavax.management.builder.initial=mx4j.server.MX4JMBeanServerBuilder # Initial Java Heap Size (in MB) wrapper.java.initmemory=128 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=256 # Application parameters. Add parameters as needed starting from 1 wrapper.app.parameter.1=CruiseControl wrapper.app.parameter.2=-jmxport 8000 # Port which the native wrapper code will attempt to connect to wrapper.port=1777 #******************************************************************** # Wrapper NT Service Properties #******************************************************************** # WARNING - Do not modify any of these properties when an application # using this configuration file has been installed as a service. # Please uninstall the service before modifying this section. The # service can then be reinstalled. # Name of the service wrapper.ntservice.name=CruiseControl # Display name of the service wrapper.ntservice.displayname=CruiseControl Service (v2.4.1) # Description of the service wrapper.ntservice.description=Continuous integration builds \ and tests with JUnit, Ant and CruiseControl. # Service dependencies. Add dependencies as needed starting from 1 wrapper.ntservice.dependency.1= # Mode in which the service is installed. AUTO_START or DEMAND_START wrapper.ntservice.starttype=AUTO_START # Priority at which the service is run. NORMAL, LOW, HIGH, or # REALTIME wrapper.ntservice.process_priority=NORMAL # Allow the service to interact with the desktop. wrapper.ntservice.interactive=true [end] The service installs fine and starts fine, also CruiseControl picks up the changes in the SCM repository. However, all the builds are successfull (although these should be broken) and there is no real output in the xml files generated by CruiseControl. However, when I start CruiseControl with the cruisecontrol.bat command, everything works fine. Any idea? Marco --- [This E-mail has been scanned for viruses but it is your responsibility to maintain up to date anti virus software on the device that you are currently using to read this email. ] |