|
From: Leif M. <le...@ta...> - 2006-04-13 01:28:41
|
Marco,
Sorry, never used cruise control myself. The wrapper.conf file
looks valid.
But it may not be correct for this particular app. Someone else on
this list
might have an answer. But you would probably have more luck asking
someone at the CruiseControl project.
Cheers,
Leif
Marco Tedone wrote:
> 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. ]
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
|