[Anthill] Regd Checking out of sources and dependency
Eric Minick
eric at urbancode.com
Mon Jul 19 11:51:07 CDT 2004
Vijayakrishna,
I don't believe that there is an option for checking out a specific
label in AnthillOS other than by changing the repository.cvs.branch
option in the cvs repository driver. I'd need to go review CVS to know
if it would work, I think it will though.
The dependencies in AnthillOS are a little tricky to get used to. The
idea is not only do you need two projects to know about eachother and
time their builds to reflect changes to another, but you are likely to
need one project to provide it's build artificats (jars, wars, exe's,
etc) to the other. To arrange this, AnthillOS requires the project's Ant
script to provide a target named dependency that will copy its build
artifacts (whever it may have put them) to a known location provided by
Anthill. Here's the script snippet from one of the example projects:
<target name="dependency">
<antcall target="default"/>
<!-- now put our artifact in the dependency.artifact.dir -->
<copy file="${dist.dir}/${name}.jar"
todir="${dependency.artifact.dir}"/>
</target>
This target does the default build then takes the build artificats (jar
files in the dist directory) and moves them to the known location.
Anthill provides your script the dependency.artifact.dir .
I hope that makes some sense.
Cheers,
Eric
K. Vijayakrishna wrote:
> Hi,
>
> I am evaluating the AntHill for our usage.
>
> We are using CVS. We currently follow a system where our Master Script
> will checkout sources from the repository either from the top of the
> trunk or using a specific label.
>
> The developer's source code is reviewed by the lead and the lead
> assigns a label for that source file. The master script checks out the
> source using that particular label.
>
> I want to know if the same is available in AntHill. Is it possible to
> checkout the source from the repository using a particular label ?
>
> Also, I feel I haven't understood the concept of dependency in AntHill.
>
> I have a project A which should happen before project B. When I give
> these two projects as a dependency group, I get the following error.
>
> BUILD FAILED
> Target `dependency' does not exist in this project.
>
> Can someone elaborate on this ?
>
>
> Thanks & Regards,
> Vijayakrishna K
>
> "You are just one evening away from greatness"
>
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
>
>
More information about the Anthill
mailing list