Working with Dependencies


Of course, there are many times when a single project just doesn't handle all of the situations necessary. Let's work with a couple of new projects to support our need for a dependency. First, create two new projects called HelloWorld_B and HelloWorld_C. Now click the Create New Dependency Group link on the main Administration page to reveal the page shown below.

click to expand

To build a new group, enter an appropriate name and then select the first member of the group as well as the schedule. The system will return you to the Administration page. Click the Edit link of the new group to add another project to the group. After the second project has been added to the dependency group, click the Edit link again and add the final project. At this point in our example, we have the situation shown below.

click to expand

Now it's time to create the dependencies within the group. Let's say that we have a situation where we want HelloWorld_B to be built once HelloWorld has been built, but HelloWorld_C must be built first. To accomplish this dependency hierarchy, click the New Dependency combo box for HelloWorld_B and select HelloWorld. Then click the New Dependency combo box for HelloWorld and select the HelloWorld_C project. Click the Update button, and your dependency will be configured and ready to be triggered based on the projects' specific schedules.




Professional Java Tools for Extreme Programming
Professional Java Tools for Extreme Programming: Ant, XDoclet, JUnit, Cactus, and Maven (Programmer to Programmer)
ISBN: 0764556177
EAN: 2147483647
Year: 2003
Pages: 228

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net