[Anthill] anthill - subversion tags and versions (period not an underscore)

Kenneth Burgener kenneth at mail1.ttak.org
Fri Feb 15 18:40:34 CST 2008


I am running into a minor, but annoying problem when trying to use the 
"Subversion Tagging" with the "Versioned Build" feature.  My version 
files are in the format "1.1.1" and the build.version file reflects this 
correctly.  When I click the "Versioned Build" link it says my current 
version is "1.1.2", which I expect.  When I enter the version "1.1.1" 
the build fails and I get this error:

svn: URL 'http://svn.mydomain.com/svn/tags/build/1.1.2' doesn't exist
17:23:05:266 [Thread - AnthillBuildDaemon] ERROR 
com.urbancode.anthill.BuildManager  - ProfileAdapter checkout failed: 1
com.urbancode.anthill.adapter.RepositoryException: ProfileAdapter 
checkout failed: 1
        at 
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.executeCommand(ProfileRepositoryAdapter.java:442)
        at 
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.getWorkingProjectCopy(ProfileRepositoryAdapter.java:289)
        at 
com.urbancode.anthill.adapter.SubversionRepositoryAdapter.getWorkingProjectCopy(SubversionRepositoryAdapter.java:135)
        at com.urbancode.anthill.BuildManager.build(BuildManager.java:104)
        at 
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)
        at 
com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
        at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)

I noticed when I use the "Subversion Tagging" it creates a tag, in 
subversion, with the "." periods replaced with "_" underscores (ie. 
1_1_1).  Which is not what I expected.  If I tell the "Versioned Build" 
to build "1_1_1" the build is successful.  I may have a way around the 
problem, but this is obviously very confusing when using the Anthill 
interface.  Is this a known problem?  Can the tagging feature be easily 
fixed to produce a tag with exactly what my version file has?

I am running:

Anthill version 1.8.1.303
Running on Java 1.5.0_13

Thanks in advanced,
Kenneth




More information about the Anthill mailing list