• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cruise Control : Multiple projects in Config.xml

 
renu richard
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is each folder a project in its own right?
 
renu richard
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. Each folder has its own source code and i need to build the corresponding folder in which changes happened....
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We use Ant sripts for building purposes....
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Verburg....
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're welcome
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic