Re: PVCS Get failing

Julian Simpson <[email protected]> Mon, 26 Sep 2011 19:09:49 +0100
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <CANwBkz9YLDrZn-p3_LWnev9tPv87ji5w0bDSVEmZ6ki5j5KMnw@mail.gmail.com>
David, I replied to your email and told you that you were emailing the
CruiseControl (for Java) mailing list, and not the CruiseControl.NET mailing
list.

I have used CruiseControl.NET with Perforce, so perhaps you can email your
questions to me off-list?

Best

Julian.

On Monday, 26 September 2011, Laub, David M. wrote:

>  I sent this request for help on 9/12/2011 and so far have received no
> answer.  However I have solved  the issue on my own by downloading the
> source, and troubleshooting from there –
>
****
>
> The root cause of the PVCS failing was that the PVCS executable was in a
> path with an embedded space – e.g. “Program Files”.  Once I moved my pvcs
> exes into a path with no spaces, no problems occurred – so am I the first
> person to use CruiseControl.net with executables in “Program Files”?****
>
> ** **
>
> I also note some other pvcs issues:****
>
> **1)      **The actual get command only gets the files that have changed
> (vs. all files recursively in the source tree) – so how do I “seed” the work
> directory in the first place (other than a manual copy)****
>
> **2)      **If the overall work directory for cruise control is different
> from the pvcs work directory, nothing automatically copies files from the
> pvcs work dir to the build work dir****
>
> **3)      **My PVCS repository is on a network drive that is mapped to a
> drive letter.  Other than adding an explicit “net use” command to the pvcs
> cmd/batch files that cruise control generates to execute the pvcs commands
> to use this drive letter, is there a better way to do this?****
>
> Thanks****
>
> ** **
>
> David Laub****
>
> [email protected] <javascript:_e({}, 'cvml', '[email protected]');>****
>
> ** **
>
> *From:* Laub, David M.
> *Sent:* Monday, September 12, 2011 12:36 PM
> *To:* '[email protected] <javascript:_e({}, 'cvml',
> '[email protected]');>'
> *Subject:* PVCS Get failing****
>
> ** **
>
> I’ve downloaded the latest build of Cruise Control .net.  I have
> successfully used it with subversion, but I am having problems with PVCS.
> The PVCS command to get a log of changes works fine, but then the get itself
> fails with “Illegal characters in path” – I don’t know what path is at
> issue…****
>
> ** **
>
> I’m really stuck and any help would be appreciated!****
>
> ** **
>
> Thanks****
>
> ** **
>
> David Laub****
>
> ** **
>
> ** **
>
> <build date="2011-09-12 12:17:12" buildtime="00:00:01"
> buildcondition="ForceBuild" />****
>
>   <exception><![CDATA[System.ArgumentException: Illegal characters in path.
> ****
>
>    at System.IO.Path.CheckInvalidPathChars(String path)****
>
>    at System.IO.Path.GetDirectoryName(String path)****
>
>    at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Pvcs.GetExeFilename()*
> ***
>
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.Pvcs.ExecutePvcsGet(StringDictionary
> folders)****
>
>    at
> ThoughtWorks.CruiseControl.Core.Sourcecontrol.Pvcs.GetSource(IIntegrationResult
> result)****
>
>    at
> ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build(IIntegrationResult
> result)****
>
>    at
> ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest
> request)]]></exception>****
>
> ** **
>
> My cc.net project:****
>
> ** **
>
> <project name="Claims_Server">****
>
>     <workingDirectory>C:\Projects\Claims_Server\work</workingDirectory>***
> *
>
>     <artifactDirectory>C:\Projects\Claims_Server\art</artifactDirectory>**
> **
>
>     <sourcecontrol type="pvcs">****
>
>       <executable>"C:\Program Files\Serena\vm\win32\bin\pcli.exe"</
> executable>****
>
>       <project>"C:\MyLocalPVCS"</project>****
>
>       <subproject>"/SvnTestApp2/SvnTestApp2"</subproject>****
>
>     </sourcecontrol>****
>
>     <triggers>****
>
>       <intervalTrigger seconds="600000" buildCondition="
> IfModificationExists" />****
>
>     </triggers>****
>
>     <tasks>****
>
>       <msbuild>****
>
>         <executable>
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</executable>****
>
>         <workingDirectory>C:\Projects\Claims_Server\work\</
> workingDirectory>****
>
>         <projectFile>SvnTestApp2.sln</projectFile>****
>
>         <buildArgs>/p:Configuration=Debug /v:diag</buildArgs>****
>
>         <targets>Build</targets>****
>
>         <timeout>900</timeout>****
>
>         <logger>C:\Program
> Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</
> logger>****
>
>       </msbuild>****
>
>     </tasks>****
>
>     <publishers>****
>
>       <xmllogger logDir="BuildLogs\ProjectStageLog" />****
>
>       <buildpublisher>****
>
>         <sourceDir>C:\projects\ProjectUrl\publish</sourceDir>****
>
>         <publishDir>\\remoteserver\sites\stagelocation\root</publishDir>**
> **
>
>         <useLabelSubDirectory>false</useLabelSubDirectory>****
>
>         <alwaysPublish>false</alwaysPublish>****
>
>         <cleanPublishDirPriorToCopy>true</cleanPublishDirPriorToCopy>****
>
>       </buildpublisher>****
>
>     </publishers>****
>
>     <externalLinks>****
>
>       <externalLink name="development" url="http://somestageurl.com/" />**
> **
>
>     </externalLinks>****
>
>   </project>****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *David Laub*
>
> Senior Software Developer****
>
> [email protected] <javascript:_e({}, 'cvml', '[email protected]');>****
>
> (312) 697-7081****
>
> (312) 697-7028 (fax)****
>
> ALAS, Inc. / 311 S. Wacker Suite 5700 / Chicago, IL 60606****
>
> ** **
>


-- 
Julian Simpson
The Build Doctor Ltd.
http://www.build-doctor.com
[email protected]
(+44) 207 183 0323

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user