[Anthill] Build error - ANT problem?

Qazi, Karim kqazi at edmunds.com
Thu Feb 3 12:19:23 CST 2005


I have installed Anthill version 1.8.0.264 successfully.  Anthill is
using Ant 1.6.2. I have setup a single project to build using Perforce
as the VCS and it is also sending emails correctly when the build fails
(as I have specified).

 

It seems to be checking out the project just fine and updating the
version file fine (which is also in Perforce) when I perform a build.
It also is building successfully but the actual build target I am
specifying for it to call is not running?  I am using the property
"anthill.build.ant.params" supplying a value of "InsideLineEAR" (which
is an actual target in my build).  This is what the Anthill FAQ said to
use in order to specify a particular build target you want Anthill to
call on the project it is building. 

 

I keep getting this exception below, but then the following information
prints out and the build is successful but nothing is actually built
because the build target is never called????  What am I doing wrong?  Is
this exception the root of my problem or am I not configuring my project
correctly (below these exceptions is my project properties)?

 

 

java.lang.InstantiationException: org.apache.tools.ant.Main

        at java.lang.Class.newInstance0(Class.java:293)

        at java.lang.Class.newInstance(Class.java:261)

        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:195)

        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

 

 

10:07:56:212 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager  - Step 6) Tag project (if set to
success):

10:07:56:212 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager  - Step 7) Publish Project:

10:07:56:212 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.ProjectProperties  - publishScriptPath =

10:07:56:212 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - Get Revisions
Since command: cmd /x/c cd /

d C:\nightly_builds && p4 -c cruiseControl -p buick:8888 -u kqazi
changes -s submitted //cruiseControl/...@"2005/02/03 10:03:22,now"

 

10:07:56:337 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - Change:
171126

10:07:56:337 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - Get Change
Revision command: cmd /x/c cd /

d C:\nightly_builds && p4 -c cruiseControl -p buick:8888 -u kqazi
describe 171126

 

10:07:56:431 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - User: kqazi

10:07:56:431 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - Date:
2005/02/03 10:04:20

10:07:56:431 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - Comment:
Labeled by Anthill

10:07:56:431 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - File:
//IT-Program/JavaProjects/shared/Glo

balBuild/InsideLineEAR.version

10:07:56:446 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.adapter.PerforceRepositoryAdapter  - not adding
revision to version file.

10:07:56:446 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.ProjectProperties  - InsideLineEAR properties
saved

10:07:56:446 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.AnthillSchedule  - AnthillSchedule.add():
com.urbancode.anthill.AnthillProject@

1e6612c

10:07:56:446 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.ProjectProperties  - Adding param: InsideLineEAR

10:07:56:446 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.ProjectProperties  - Adding param: InsideLineEAR

 

Here are my properties for this project:

 

anthill.schedule = stoppedSchedule

anthill.lastBuildFailDate = 02/02/2005 17:37:25

anthill.lastBuildSucceeded = true

anthill.lastGoodBuildDate = 02/03/2005 10:07:53

anthill.registry.format.version = 1.1

anthill.version.file = shared/GlobalBuild/InsideLineEAR.version

anthill.version.adapter =
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter

anthill.publish.run_policy = success.only

anthill.publish.url = 

anthill.publish.script = 

anthill.publish.dir = 

anthill.publish.ant.params.value = InsideLineEAR

anthill.build.script = shared/GlobalBuild/build.xml

anthill.build.tag = none

anthill.build.ant.params.value = InsideLineEAR

anthill.java.extra.options = 

anthill.repository.adapter =
com.urbancode.anthill.adapter.PerforceRepositoryAdapter

anthill.repository.perforce.P4CLIENT = cruiseControl

anthill.repository.perforce.P4PORT = buick:8888

anthill.repository.perforce.P4PASSWD = 

anthill.repository.perforce.P4VIEW = 

anthill.repository.perforce.P4USER = kqazi

anthill.mail.policy = failed.only

anthill.users.Karim Qazi = kqazi at edmunds.com

anthill.project.version = 1.0 32  

 

Karim Qazi

Sr. Java Developer

Edmunds.com

office 310.309.6330

cell   562.208.5335

kqazi at edmunds.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20050203/cf2232a8/attachment-0002.htm


More information about the Anthill mailing list