Issue Details (XML | Word | Printable)

Key: MPCRUISECONTROL-18
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Brendan Donovan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x CruiseControl Plugin

Maven properties to control plugin

Created: 27/Jan/05 02:23 AM   Updated: 30/Jun/05 03:33 PM
Return to search
Component/s: None
Affects Version/s: 1.6
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide

We need a mechanism to pass parameters to the jvm started by the cruisecontrol maven plgin jelly script.

The parameters in question are -Djava.awt.headless=true and -port=9090 (to instanatiate the JMX server).

If these could be maven plugin properties then we could specify them in the local build.properties that would be fantastic.



David Eric Pugh added a comment - 17/Mar/05 05:21 AM

I get the port parameter, and I could buy adding the -configfile parameter. But why do you need to pass the headless argument?

I run CC on linux and don't have any issues with it. Patches are welcome.

Also, I am not sure that cruisecontrol:run should be your primary way of starting up Cruisecontrol. It maybe, though I am not certain, that the intent is to provide a way to test your config file by starting up CC and seeing if it validates everything.


David Eric Pugh added a comment - 22/Jun/05 06:55 AM

Vincent,

I think cruisecontrol-run was your inspiration. Do you mind discussing how you use it? I am assuming as a shortcut for debugging your configuration file, versus as your standard way of running CC? There are some other properties that should propbably be added by default like the rmiport as well. Additionally, with the new Jetty bundled version, maybe we would want to use that instead?


Jamie Bisotti added a comment - 30/Jun/05 12:02 PM

Why couldn't (shouldn't) it be the standard way of running CC? You have to seed CC's checkout directory anyway, why not go a step, or two, further and use that seeded code to run cruisecontrol:configure, for each seeded project (assuming all projects point to the same config.xml) and then do a cruisecontrol:run to kick things off? I think that would be ideal.


Vincent Massol added a comment - 30/Jun/05 03:33 PM

Hi David,

I don't really use CC ATM. I've created it because I thought it was missing. If properties are missing they should be added. I just implemented a first version. I'm not aware of the "new Jetty bundled version" but maybe there's a better way of doing it? What I think is nice is the ability to start it from the Maven build.

It has always bothered me that CC was started as a command line deamon and that you need a separate reporting webapp. Look at luntbuild which has everything in one. Much easier. Maybe the new "jetty bundled" stuff is meant to do that?