aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Cruise Control : Multiple projects in Config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Cruise Control : Multiple projects in Config.xml" Watch "Cruise Control : Multiple projects in Config.xml" New topic
Author

Cruise Control : Multiple projects in Config.xml

renu richard
Ranch Hand

Joined: Oct 06, 2008
Posts: 116
Hi,




I have configured a project in config.xml file which will listen for any changes in the sudfolders of src folder and then it will run the scheduled activity.

but what i want is under src folder i have many folder like folder1,folder2,folder3..... Based on which folder the changes occured, i need to checkout the corresponding folder and build it.

Can somone throw a light on how this can be done....?

IS this something like i need to create a separate project for each folder which will make config.xml big since i have nearly 15 folders to be monitored under src....

Thanks


Cheers,
Richard
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Is each folder a project in its own right?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
renu richard
Ranch Hand

Joined: Oct 06, 2008
Posts: 116
Yes. Each folder has its own source code and i need to build the corresponding folder in which changes happened....
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

And what are you building the projects with, Ant? Maven? We have a Maven based build process and Cruise Control, we:

1.) Have a parent project at the top level which refers to the children projects, therefore monitoring all projects under 1 label
2.) We also have each child project in the config.xml (yes this is lots of extra config), this enables us to spot problems even faster.
renu richard
Ranch Hand

Joined: Oct 06, 2008
Posts: 116
Hi,
We use Ant sripts for building purposes....
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

OK, in that case you'll need to have an Ant script that calls the other ant scripts (and call that from the top) and/or set up each project individually.
renu richard
Ranch Hand

Joined: Oct 06, 2008
Posts: 116
Thanks Verburg....
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

You're welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cruise Control : Multiple projects in Config.xml