[Anthill] Anthill error when labelling with PVCS
McKerral, Cameron
mckerrc1 at anz.com
Thu Jan 27 23:15:48 CST 2005
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(PVCSRepositoryAdapter.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
More information about the Anthill
mailing list