[Anthill] CVS driver problem

Eric Minick eric at urbancode.com
Wed May 5 08:02:52 CDT 2004


Hi Tim,

I'm glad you hit the mailing list. FYI this is a general Anthill list,
mostly used by those using AnthillOS. There's an additional AnthillPro list
you might want to check out as well. Now, let's see if I can help get these
issues resolved for you.

What's happening is AnthillPro is trying to invoke CVS by creating a batch
file which changes to its working directory and then invokes a CVS command.
When it does, it can't find the cvs command on the path.

You might start by checking to see if you can open open a dos window, type
"cvs" and have the command run. While I did test using the path this
morning, there are fewer variables without it. Another thing you might look
at is to set the logging level to debug (Utility->Logging Management->Edit),
run the build again and the open up the batch files and see if you can run
the commands in there. The batch files, if you are in debug mode, will be
stored at AnthillPro directory\lib\VCSDriver\pagelets\win32\cvsdriver\. You
can crack open the most recent one.

Since things have been trickier than they should have been, I might also
suggest using the Anthill-Example project instead of Project A. It's a tiny
bit more straightforward, although the CVS aspects are going to be
identical.

Please let us know how it goes,

Eric

-----Original Message-----
From: anthill-bounces at lists.urbancode.com
[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Tim Colson
Sent: Tuesday, May 04, 2004 8:36 PM
To: anthill at lists.urbancode.com
Subject: [Anthill] CVS driver problem


Howdy folks -
  I didn't find an automated search, so I looked over the list archives a
bit, but didn't find what I need. (BTW - why does the archive end in March?)

I'm having a look at AnthillPro... and can't currently get it to run CVS
checkouts. :-(

I'm running on WinXP Pro, WinCVS 1.3 (with CVSNT), and C:\Program
Files\GNU\WinCvs 1.3\CVSNT is in the system path env var. AnthillPro is
running under Tomcat 4.1.30. It took me a long time to find the driver setup
screen, but when I did, I tried putting in the path C:\Program
Files\GNU\WinCvs 1.3\CVSNT but that didn't help.

When I try to force a build of the ProjectA.Trunk.Dev --> it says this:

BuildId: 137 of CVS Anthill-Example.Trunk.Dev running on AnthillPro
(2.1.8.7192) licensed to Trial User
Writer: Intranet Publisher

INFO - Building BuildDefinition [owner: CVS Anthill-Example.Trunk.Dev,
buildId: 137, build#: 137, buildDate: Tue May 04 17:29:00 PDT 2004]
INFO - Building on Anthill Pro, version 2.1.8, licensed to Trial User
INFO - Estimated 9 in building CVS Anthill-Example.Trunk.Dev
INFO - Step 1: Dependencies
INFO - Cleanup - IGNORED - Running a incremental build.
INFO - Step 2: Checkout
INFO - Checkout CVS Anthill-Example.Trunk.Dev
ERROR - Checkout - FAILED
com.urbancode.vcsdriver.VCSDriverException: getWorkingProject part#: 0
failed.  Exit code: 1
	at
com.urbancode.vcsdriver.ProfileVCSDriver.executeCommand(ProfileVCSDriver.jav
a:654)
	at
com.urbancode.vcsdriver.ProfileVCSDriver.executeCommandPagelet(ProfileVCSDri
ver.java:549)
	at
com.urbancode.vcsdriver.ProfileVCSDriver.executeCommandPagelet(ProfileVCSDri
ver.java:499)
	at
com.urbancode.vcsdriver.ProfileVCSDriver.executeCommandPagelet(ProfileVCSDri
ver.java:489)
	at
com.urbancode.vcsdriver.ProfileVCSDriver.executeCommandPagelet(ProfileVCSDri
ver.java:470)
	at
com.urbancode.vcsdriver.ProfileVCSDriver.getWorkingProjectCopy(ProfileVCSDri
ver.java:251)
	at
com.urbancode.anthill2.impl.repository.AnthillRepositoryDriver.checkout(Unkn
own Source)
	at
com.urbancode.anthill2.impl.repository.cvsdriver.CVSRepositoryDriver.checkou
t(Unknown Source)
	at
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
.b(Unknown Source)
	at
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
.build(Unknown Source)
	at com.urbancode.anthill2.build.BuildDefinition.run(Unknown Source)
	at com.urbancode.anthill2.impl.queue.DefaultBuildDaemon.run(Unknown
Source)
ERROR - Build Stopped - getWorkingProject part#: 0 failed.  Exit code: 1

-----
TOMCAT STDOUT.LOG shows this:
14184399 INFO  com.urbancode.vcsdriver.ProfileVCSDriver  -
Execute:Java13CommandLauncher: Executing 'cmd' with arguments:
'/x/c'
'call'
'C:\_apps\AnthillPro\lib\VCSDriver\pagelets\Win32\cvsdriver\getWorkingProjec
t59295.bat'

The ' characters around the executable and arguments are
not part of the command.

WorkingDir: none
Environment Variables: none
14184429 ERROR com.urbancode.vcsdriver.ProfileVCSDriver  - '"cvs"' is not
recognized as an internal or external command,

14184429 ERROR com.urbancode.vcsdriver.ProfileVCSDriver  - operable program
or batch file.

14184439 INFO  com.urbancode.vcsdriver.ProfileVCSDriver  - Exit code: 1
14184439 INFO  com.urbancode.vcsdriver.ProfileVCSDriver  - Deleting batch
file
14184439 ERROR
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
- Checkout - FAILED
com.urbancode.vcsdriver.VCSDriverException: getWorkingProject part#: 0
failed.  Exit code: 1
	at
com.urbancode.vcsdriver.ProfileVCSDriver.executeCommand(ProfileVCSDriver.jav
a:654)
	at
com.urbancode.vcsdriver.ProfileVCSDriver.executeCommandPagelet(ProfileVCSDri
ver.java:549)
	at
com.urbancode.vcsdriver.ProfileVCSDriver.executeCommandPagelet(ProfileVCSDri
ver.java:499)
	at
com.urbancode.vcsdriver.ProfileVCSDriver.executeCommandPagelet(ProfileVCSDri
ver.java:489)
	at
com.urbancode.vcsdriver.ProfileVCSDriver.executeCommandPagelet(ProfileVCSDri
ver.java:470)
	at
com.urbancode.vcsdriver.ProfileVCSDriver.getWorkingProjectCopy(ProfileVCSDri
ver.java:251)
	at
com.urbancode.anthill2.impl.repository.AnthillRepositoryDriver.checkout(Unkn
own Source)
	at
com.urbancode.anthill2.impl.repository.cvsdriver.CVSRepositoryDriver.checkou
t(Unknown Source)
	at
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
.b(Unknown Source)
	at
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
.build(Unknown Source)
	at com.urbancode.anthill2.build.BuildDefinition.run(Unknown Source)
	at
com.urbancode.anthill2.impl.dependency.interproject.InterProjectDependencyMa
nager.resolve(Unknown Source)
	at
com.urbancode.anthill2.impl.project.BuildTrack.resolveDependencies(Unknown
Source)
	at
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
.long(Unknown Source)
	at
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
.build(Unknown Source)
	at com.urbancode.anthill2.build.BuildDefinition.run(Unknown Source)
	at com.urbancode.anthill2.impl.queue.DefaultBuildDaemon.run(Unknown
Source)
14184439 ERROR
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
- Build Stopped - getWorkingProject part#: 0 failed.  Exit code: 1
14184449 ERROR
com.urbancode.anthill2.impl.dependency.interproject.InterProjectDependencyMa
nager  -
java.lang.NullPointerException
	at java.io.File.<init>(File.java:180)
	at
com.urbancode.anthill2.impl.dependency.interproject.InterProjectDependencyPr
opertyProvider.case(Unknown Source)
	at
com.urbancode.anthill2.impl.dependency.interproject.InterProjectDependencyLi
stener.buildFailed(Unknown Source)
	at
com.urbancode.anthill2.impl.project.BuildTrack.fireBuildFailedEvent(Unknown
Source)
	at
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
.build(Unknown Source)
	at com.urbancode.anthill2.build.BuildDefinition.run(Unknown Source)
	at
com.urbancode.anthill2.impl.dependency.interproject.InterProjectDependencyMa
nager.resolve(Unknown Source)
	at
com.urbancode.anthill2.impl.project.BuildTrack.resolveDependencies(Unknown
Source)
	at
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
.long(Unknown Source)
	at
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
.build(Unknown Source)
	at com.urbancode.anthill2.build.BuildDefinition.run(Unknown Source)
	at com.urbancode.anthill2.impl.queue.DefaultBuildDaemon.run(Unknown
Source)
14184449 INFO
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
- Step 2: Publishing
14184469 INFO  com.urbancode.anthill2.impl.publisher.IntranetPublisher  -
Writing Revision Log....
14184469 INFO  com.urbancode.anthill2.impl.publisher.IntranetPublisher  -
Writing Revision Log: SUCCESS
14184469 INFO  com.urbancode.anthill2.impl.intranet.DefaultIntranetModule  -
Publishing BuildDef: BuildDefinition [owner: CVS Project A.Trunk.Dev,
buildId: 141, build#: 141, buildDate: Tue May 04 17:30:00 PDT 2004]
14184469 INFO  com.urbancode.anthill2.impl.intranet.DefaultIntranetModule  -
Removing publish directory:
C:\_apps\AnthillPro\intranet\CVS_Project_A.Trunk.Dev\(id_135)
14184519 INFO  com.urbancode.anthill2.impl.publisher.IntranetPublisher  -
Build Published.
14184519 INFO
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
- Publishing - SUCCESS
14184519 INFO
com.urbancode.anthill2.impl.buildmanager.incremental.IncrementalBuildManager
- Build of CVS Project A.Trunk.Dev completed.
14184519 WARN
com.urbancode.anthill2.module.AnthillModuleFactoryImplRegistry  -
saveModule() module not new and not restored, module class:
com.urbancode.anthill2.impl.builder.antbuilder.AntBuilder

_______________________________________________
Anthill mailing list
Anthill at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.658 / Virus Database: 421 - Release Date: 4/9/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.658 / Virus Database: 421 - Release Date: 4/9/2004




More information about the Anthill mailing list