Re: Updated documentation?
Andy Levy <[email protected]>
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
On 12/6/05, Jim Hague <[email protected]> wrote: > 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 have this set to \anttest, which ends up mapping to c:\anthill\anttest on my system. > 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 My setup is very similar to yours. I don't have the build.ant.param$1.value - maybe I need to add that so that I'm not making any assumptions about which task is run? I also have repository.subversion.work.dir = \anttest instead of repository.subversion.work.dir = work/Waldo - the system is definitely finding the directory as the code is getting checked out to the proper location. > 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 I think this is where I'm getting stuck. Possible that it's just calling ant build.xml and ant doesn't know which task to run? I'll add "compile" to anthill.publish.ant.params at the bottom of my project properties (via the web interface) and see where that takes me.