[Anthill] Configuring multiple projects in AntHILL...
Eric Minick
eric at urbancode.com
Sun Jan 30 21:14:53 CST 2005
Hi Jeevan,
I see nobody else has a real good idea for you. I'll provide some
rougher ideas then. The fundemental problem is that the system isn't
designed with circular dependencies in mind. Here's a look at what the
Anthill designers were thinking about dependencies:
http://www.urbancode.com/download/presentations/reuse/ObjectReuse.ppt .
In order to force Anthill to check out the projects first and build them
later, you'll have to set things up oddly. I would create four projects
which only check out the code and four projects which actually do the
building. Your projects which only check out the code could use a dummy
ant script or something similar. The projects which do the building
would use the FileSystemDriver and point at where Anthill checks out the
project. Your dependency order would like:
Checkout A
Checkout B
Checkout C
Checkout D
Build A
Build B
Build C
Build D
I hope that helps.
Regards,
Eric
Jeevan_Sunkersett wrote:
> Hi,
>
> I am new to configuring AntHill.
>
> I could successfully configure a single project and get it build with
> Ant hill.
>
> But in our every day scenario, our team could be checking in code into
> 4 projects.
>
> And then manually running a build, where in the developer does a cvs
> checkout of ALL FOUR projects
>
> And then running a ant target, compile-all & test-all,
>
> Which internally compiles each individual project IN A CERTAIN ORDER
> and then executes junit test in each project IN A CERTAIN ORDER.
>
> In Ant hill I configured the four projects individually and then
> created a dependency group.
>
> But Ant hill does not build the projects in the group as I want them.
>
> I require ALL projects to be checked out FIRST before the build is
> started.
>
> But Ant hill checks out and builds each project in the dependency
> group in the defined order one by one.
>
> (this does not work for me as their exists a circular dependency among
> the projects)
>
> Any clues what I should do?
>
> G1
>
> **************************************************************************
>
> This email (including any attachments) is intended for the sole use of
> the intended recipient/s and may contain material that is CONFIDENTIAL
> AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or
> copying or distribution or forwarding of any or all of the contents in
> this message is STRICTLY PROHIBITED. If you are not the intended
> recipient, please contact the sender by email and delete all copies;
> your cooperation in this regard is appreciated.
>
> **************************************************************************
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
More information about the Anthill
mailing list