[Anthill] Anthill not compiling the project

Robert Smith robert at shipxpress.com
Wed Sep 22 16:03:12 CDT 2004


So for anthill.version.adapter just use
com.urbancode.anthill.adapter.ProjectPropertyFileVersionAdapter? The docs
say only UrbanCodeVersionAdapter is supported. Is this correct?

Robert

----- Original Message -----
From: "Eric Minick" <eric at urbancode.com>
To: "Anthill user list" <anthill at lists.urbancode.com>
Sent: Wednesday, September 22, 2004 4:56 PM
Subject: Re: [Anthill] Anthill not compiling the project


> Alternatively, you can use the
> com.urbancode.anthill.adapter.ProjectPropertyFileVersionAdapter, and let
> Anthill manage the version without a file.
>
> - Eric
>
>
> Robert E Dobbins wrote:
>
> > checkin a text file containing the version info you use (following
> > info in Anthill manual is cool) and then define to project under the
> > version adapter link.
> >
> > Thanks,
> >
> > Robert E. Dobbins
> > IBM Global Services
> > Systems Management Integration Professional
> > Web Hosting
> > redobbin at us.ibm.com
> >
> >
> >
> > "Robert Smith" <robert at shipxpress.com>
> >
> >
> >                         *"Robert Smith" <robert at shipxpress.com>*
> >                         Sent by: anthill-bounces at caladin.urbancode.com
> >
> >                         09/22/2004 12:52 PM
> >                         Please respond to
> >                         Anthill user list
> >
> >
> >
> > To
> >
> > "Anthill user list" <anthill at caladin.urbancode.com>
> >
> > cc
> >
> >
> > Subject
> >
> > Re: [Anthill] Anthill not compiling the project
> >
> >
> >
> >
> > Ah, that makes sense! Thanks, I was wondering about that. OK, I did
> > the regular builds (had to force it), and am getting this error:
> >
> > Anthill version 1.7.0.162
> >
> > Retrieving project files: OK
> > Incrementing version: FAILED to build project. Message: VersionFile
> > parameter must point to a file that exists
> > Got Revisions: OK
> >
> > -------------------------------------
> > C:\anthill\publishDir\ShipX\buildLogs\ShipX-null-build.log
> >
> > I'm running on Windows XP, and I've set this parameter to every
> > combination I could think of. My version file gets checked out to
> > C:\anthill\work\newshipx. I've set version.file to all sorts of
> > things, even moving it to C:\anthill\work\newshipx\src and having it
> > point to src/ShipX.version, etc. Additionally the docs say this isn't
> > even necessary! Any help would be appreciated. :-)
> >
> > Thanks,
> >
> > Robert
> > ----- Original Message -----
> > *From:* _Robert E Dobbins_ <mailto:redobbin at us.ibm.com>
> > *To:* _Anthill user list_ <mailto:anthill at caladin.urbancode.com>
> > *Cc:* _Anthill user list_ <mailto:anthill at caladin.urbancode.com> ;
> > _anthill-bounces at caladin.urbancode.com_
> > <mailto:anthill-bounces at caladin.urbancode.com>
> > *Sent:* Tuesday, September 21, 2004 10:19 PM
> > *Subject:* Re: [Anthill] Anthill not compiling the project
> >
> > It appears you are attempting to do a "Versioned Build" as opposed to
> > a regular "Build". When doing a Versioned Build the version
> > information passed in will be used as a "tag, version label, etc." to
> > pull the code. If you just want to build the "HEAD or tip", use
> > "Build" instead of "Versioned Build".
> >
> > The version file is used to setup a tag that will be applied.
> > Versioned Builds use the tag to identify and pull code.
> >
> > Thanks,
> >
> > Robert E. Dobbins
> > IBM Global Services
> > Systems Management Integration Professional
> > Web Hosting_
> > __redobbin at us.ibm.com_ <mailto:redobbin at us.ibm.com>
> >
> >
> >
> > "Robert Smith" <robert at shipxpress.com>
> >
> >                                                 *"Robert Smith"
> >                                                 <robert at shipxpress.com>*
> >                                                 Sent by:
> >
anthill-bounces at caladin.urbancode.com
> >
> >
> >                                                 09/21/2004 04:57 PM
> >
> > Please respond to
> > Anthill user list
> >
> >
> > To
> >
> > "Anthill user list" <anthill at caladin.urbancode.com>
> > cc
> >
> > Subject
> >
> > Re: [Anthill] Anthill not compiling the project
> >
> >
> >
> >
> > The log file and anthill file are below. It seems to be calling a
> > "usage" target, which isn't the default, and I've even tried taking it
> > out (it still gets called if that's the case). Could Anthill be
> > pulling the wrong version? Are there any checkout rules that Anthill
> > follows, or does it just pull out the head?
> >
> > Robert
> >
> >
> > Apache Ant version 1.5.1 compiled on October 2 2002
> > Buildfile: C:\anthill\work\newshipx\build.xml
> >
> > This is the contents of my ShipX.anthill file (ips and
> > usernames/passwords changed):
> >
> > anthill.schedule = default
> > anthill.lastBuildFailDate = 09/21/2004 16:12:19
> > anthill.lastBuildSucceeded = false
> > anthill.lastGoodBuildDate = 09/21/2004 12:22:41
> > anthill.registry.format.version = 1.1
> > anthill.publish.run_policy = success.only
> > anthill.publish.url =
> > anthill.publish.script =
> > anthill.publish.dir =
> > anthill.publish.ant.params.value = compile
> > anthill.build.script = newshipx/build.xml
> > anthill.build.tag = success
> > anthill.build.ant.params.value = -verbose
> > anthill.version.adapter =
> > com.urbancode.anthill.adapter.UrbanCodeVersionAdapter
> > anthill.repository.adapter =
> > com.urbancode.anthill.adapter.StarTeamRepositoryAdapter
> > anthill.repository.starteam.access =
> > username:password at xx.xxx.1.29:49201/Default View//Default View/newshipx/
> > anthill.repository.starteam.work.dir = work
> > anthill.repository.starteam.passwd.file =
> > anthill.java.extra.options =
> > anthill.mail.policy = always
> > anthill.users.tech-team = _xxx at shipxpress.com_
<mailto:xxx at shipxpress.com>
> > anthill.project.version = test
> >
> > Output of log:
> >
> > Anthill version 1.7.0.162
> >
> > Retrieving project files: OK
> > OK
> > Build: OK
> > Project Site: _http://192.168.1.92/anthill/projects/ShipX/_
> >
> > Build Log:
> >
_http://192.168.1.92/anthill/projects/ShipX/buildLogs/ShipX-test-build.log_
> > Tag: Bypassed for Versioned Builds
> >
> > Publish: NOT REQUIRED
> >
> > -------------------------------------
> > C:\anthill\publishDir\ShipX\buildLogs\ShipX-test-build.logDetected
> > Java version: 1.4 in: C:\j2sdk1.4.1_02\jre
> > Detected OS: Windows XP
> > parsing buildfile C:\anthill\work\newshipx\build.xml with URI =
> > _file:C:/anthill/work/newshipx/build.xml_
> > <file:///C:/anthill/work/newshipx/build.xml>
> > Project base dir set to: C:\anthill\work\newshipx
> > Build sequence for target `usage' is [usage]
> > Complete build sequence is [usage, compile, prepare-war, war, jsp,
> > deploy, prepare-jar, jar, clean, doc]
> >
> > usage:
> >
> > [echo] ShipXpress Main Application build file
> > [echo] ------------------------------------------------------
> >
> > [echo] Available targets are:
> >
> > [echo] jar --> generates the jar file
> > [echo] war --> generates the war file
> > [echo] clean --> cleans up the build directory
> > [echo] doc --> generates the docs (javadoc, ...)
> > [echo] all --> do it all at once
> > [echo] (clean, war, source, doc)
> >
> >
> >
> > BUILD SUCCESSFUL
> > Total time: 3 seconds
> > ----- Original Message ----- *
> > From:* _Robert E Dobbins_ <mailto:redobbin at us.ibm.com> *
> > To:* _Anthill user list_ <mailto:anthill at caladin.urbancode.com> *
> > Cc:* _Anthill user list_ <mailto:anthill at caladin.urbancode.com> ;
> > _anthill-bounces at caladin.urbancode.com_
> > <mailto:anthill-bounces at caladin.urbancode.com> *
> > Sent:* Tuesday, September 21, 2004 3:57 PM*
> > Subject:* Re: [Anthill] Anthill not compiling the project
> >
> > Check the log (catalina.out in Tomcat) and see if what is happening
> > with the call to the build.xml. Also, you can review the log files
> > that are created from the build (assuming it actually is being run) by
> > following the project link. You might also want to post the
> > [projectname].anthill file, that way others on the list can see the
> > way the project is defined. (It helps with PD)
> >
> >
> > Thanks,
> >
> > Robert E. Dobbins
> > IBM Global Services
> > Systems Management Integration Professional
> > Web Hosting_
> > __redobbin at us.ibm.com_ <mailto:redobbin at us.ibm.com>
> >
> >
> >
> > "Robert Smith" <_robert at shipxpress.com_ <mailto:robert at shipxpress.com>>
> >
> >
*"Robert
> >
Smith"
> >
<robert at shipxpress.com>*
> >
> >
Sent
> >
by:
> >
anthill-bounces at caladin.urbancode.com
> >
> >
> >
09/21/2004
> >
02:31
> >
PM
> >
> >
> >
> > Please respond to
> > Anthill user list
> >
> >
> > To
> >
> > "Anthill user list" <anthill at caladin.urbancode.com>
> > cc
> >
> > Subject
> >
> > [Anthill] Anthill not compiling the project
> >
> >
> >
> >
> > Hello everyone, Anthill looks like it's working pretty well for me, it's
> > finally checking out the project on the schedule I set. I'm running
> > into an
> > interesting issue, Anthill checks out the build.xml file, but it doesn't
> > look like it's calling any targets, and not putting the built
> > classes/files
> > in the directory I set. My default target is compile, and the paths in
the
> > ant script deploy the classes assuming that it is being run from the
> > command
> > line. Should I have a special target (anthill-deploy or something, but
> > even
> > so it isn't being called)? Is anyone having this issue? Just for the
> > record,
> > the target doesn't create a .war file, but still I should see the
> > generated
> > classes, right?
> >
> > Thanks,
> >
> > Robert
> >
> > _______________________________________________
> > Anthill mailing list
> > Anthill at lists.urbancode.com_
> > __http://lists.urbancode.com/mailman/listinfo/anthill_
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Anthill mailing list
> > Anthill at lists.urbancode.com_
> >
__http://lists.urbancode.com/mailman/listinfo/anthill_______________________
_________________________
> > Anthill mailing list
> > Anthill at lists.urbancode.com_
> > __http://lists.urbancode.com/mailman/listinfo/anthill_
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Anthill mailing list
> > Anthill at lists.urbancode.com
> >
http://lists.urbancode.com/mailman/listinfo/anthill_________________________
______________________
> > Anthill mailing list
> > Anthill at lists.urbancode.com
> > http://lists.urbancode.com/mailman/listinfo/anthill
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Anthill mailing list
> >Anthill at lists.urbancode.com
> >http://lists.urbancode.com/mailman/listinfo/anthill
> >
> >
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill




More information about the Anthill mailing list