[Anthill] version file not found

Peter Klotz peter.klotz at blue-elephant-systems.com
Thu Feb 26 10:07:40 CST 2004


Hi,

I'm a pretty new user of Anthill and I'm trying to build a mature 
project that I know works on the CLI. I'm using the default version adapter

I have created a file <project>.version toplevel in the project
The file is also checked out from CVS successfully but when Anthill 
tries to edit it, a exception is thrown:

---
16:52:35:707 [Thread - AnthillBuildDaemon] ERROR 
com.urbancode.anthill.BuildMana
ger  - VersionFile parameter must point to a file that exists
java.lang.IllegalArgumentException: VersionFile parameter must point to 
a file t
hat exists
         at 
com.urbancode.anthill.adapter.VersionModifier.<init>(VersionModifier.
java:47)
         at 
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter.setCurrentVersi
on(UrbanCodeVersionAdapter.java:181)
         at com.urbancode.anthill.BuildManager.build(BuildManager.java:130)
         at 
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja
va:231)
         at 
com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:146)
         at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)


and I get an email:

----
Anthill version 1.6.3.67

Retrieving project files: OK
FAILED to build project.  Message: VersionFile parameter must point to a 
file that exists
---

The version.file property is set to <project>.version without path 
because the file is located top-level, could that be the problem?


Thanks, Peter



More information about the Anthill mailing list