[Anthill] Updated documentation?
Jim Hague
jim.hague at acm.org
Tue Dec 6 10:29:19 CST 2005
On Tuesday 6 December 2005 15:20, Andy Levy wrote:
> I'm not even sure where to begin. I've successfully (I think) created
> my project and pointed it at Subversion; I'm getting a successful
> checkout to my build directory when I attempt to build the project.
> However, things stop there.
That could be that you haven't got repository.subversion.work.dir set up
properly, and so Anthill can't find the checked out source where it expects.
Varban's right - the Tomcat logs should provide further clues.
I understand it's not easy without an example, so here's the settings from a
project of mine built from Subversion. Anthill here is running on Linux. The
Subversion repository is on the same host in this case. Users are mostly on
other machines, so all access including from the local machine is via
svnserve. The project name is Waldo.
build.script = build.xml
build.tag = success
build.ant.params$1.value = release
repository.adapter = com.urbancode.anthill.adapter.SubversionRepositoryAdapter
repository.subversion.url = svn://localhost/Waldo/trunk
repository.subversion.tags.url = svn://localhost/Waldo/tags
repository.subversion.anthill.user = anthill
repository.subversion.anthill.password = xyzzy
repository.subversion.work.dir = work/Waldo
To do a build Anthill checks out the source thus:
svn co --username anthill --password xyzzy svn://localhost/Waldo/trunk
work/Waldo
On Unix Anthill's default directory when running is the Anthill home
directory. Anthill where then try to build the project by running the
equivalent of
cd work/Waldo
ant build.xml release
HTH.
--
Jim Hague - jim.hague at acm.org Never trust a computer you can't lift.
More information about the Anthill
mailing list