[Anthill] Anthill error when labelling with PVCS
Rob Stark
r.stark at adelphia.net
Tue Mar 15 20:10:10 CST 2005
Hi Cameron,
Did you ever get a response to your previous question?
I ask because I am experiencing the same exact problems you describe below.
I would be curious to know what else you did to the runScript.pgl to get the
script to execute.
I have yet to get Anthill to successfully label and or retrieve the revision
histroy properly. At the moment I when Anthill tries to call
myscript.pcli - it errors out, so I've had to comment out some code to find
out that the java file calling it has a problem when the '&&' is in the java
file.
I'd be curious to know how or what you did to get past your problems...I'd
rather not write my own adapters if I don;t have to.
Regards
~Rob.
email: r.stark at adelphia.net
----- Original Message -----
From: "McKerral, Cameron" <mckerrc1 at anz.com>
To: "Anthill user list" <anthill at lists.urbancode.com>
Sent: Friday, January 28, 2005 12:15 AM
Subject: RE: [Anthill] Anthill error when labelling with PVCS
Hi Eric,
Sorry for the delayed response ....
The original command which failed was output in the logs was:
cmd /x/c cd /d "C:\Savoy\anthill-1.8.0.264\work\EtradeAccountOpening" &&
pcli
run -s"C:\Savoy\anthill-1.8.0.264\conf\profiles\Win32\win_pvcs\myscript.pcli
" "\\svrau31512.ecom.anz\ecommerce\SAVOYPVCS" "/EtradeAccountOpening"
so I ran that command stand-alone ... and it ran, but didn't actually update
the label in PVCS. So I assumed that it was the command that was the
problem. So I played around with the options/flags/commands that were
issued by anthill and came up with a command that successfully labelling
into PVCS:
cmd /x/c cd /d "<%=localProjectDir%>" && pcli
label -v"<%=label%>" -pr"<%=dbDir%>" -z <%=project%>
I also had to add code to the script (runScript.pgl) to get "label" &
"localProjectDir"
But the scripts never seem to actually get called properly ... any
suggestions?
regards,
Cam
-----Original Message-----
From: anthill-bounces at lists.urbancode.com
[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Eric Minick
Sent: Thursday, 27 January 2005 1:29 AM
To: Anthill user list
Subject: Re: [Anthill] Anthill error when labelling with PVCS
Hi Cameron,
When you look in the log, do you see the command that Anthill is
running? If so, what happens when you run that command?
Regards,
Eric
McKerral, Cameron wrote:
>Hi,
>
>I've run into a problem where my anthill build always fail when run the
label step with PVCS .... I've tried everything around getting the command
to work properly from the command line and updating the scripts
(runScript.pgl & getCommandInit.pgl), but no matter what I do, I get the
following error on the console:
>
>15:59:48:664 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.BuildManager - PVCSRepositoryAdapter: Error running
script in pvcs label. Exit code: -1
>com.urbancode.anthill.adapter.RepositoryException: PVCSRepositoryAdapter:
Errorrunning script in pvcs label. Exit code: -1
> at
com.urbancode.anthill.adapter.PVCSRepositoryAdapter.label(PVCSRepositoryAdap
ter.java:196)
> at
com.urbancode.anthill.BuildManager.tagProject(BuildManager.java:273)
> at com.urbancode.anthill.BuildManager.build(BuildManager.java:171)
> 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've even removed the effect code from the runScript.pgl to see what
happens if the label does nothing ... and I still get the same error!
>
>Does any one have any suggestions ... or is anthill running on Win32 with
PVCS an uncommon setup that no one else uses?
>
>regards,
>Cam
>_______________________________________________
>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