Re: Getting an exception while adding a project in cruise control.

Julian Simpson <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
On 10 February 2011 12:00, Sachin Gurumukhi <
[email protected]> wrote:

> Hi,
>
>
>
> [snip]


> [cc]Dec-20 06:38:53 jectController- Admin_Tool Controller: build progress
> event: idle
>
> [cc]Dec-20 06:38:53 Project       - exception attempting build in project
> Admin_Tool
>
> net.sourceforge.cruisecontrol.CruiseControlException: p4 failed with
> exception
>
>         at
> net.sourceforge.cruisecontrol.util.CommandExecutor.executeAndWait(CommandExecutor.java:115)
>
>         at
> net.sourceforge.cruisecontrol.util.Commandline.executeAndWait(Commandline.java:653)
>
>         at
> net.sourceforge.cruisecontrol.bootstrappers.P4Bootstrapper.executeCommandLine(P4Bootstrapper.java:119)
>
>         at
> net.sourceforge.cruisecontrol.bootstrappers.P4Bootstrapper.bootstrap(P4Bootstrapper.java:93)
>
>         at
> net.sourceforge.cruisecontrol.Project.bootstrap(Project.java:779)
>
>         at net.sourceforge.cruisecontrol.Project.build(Project.java:193)
>
>         at net.sourceforge.cruisecontrol.Project.execute(Project.java:148)
>
>         at
> net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:408)
>
>         at
> net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
>
>         at java.lang.Thread.run(Thread.java:619)
>
> Caused by: java.io.IOException: Cannot run program "p4":
> java.io.IOException: error=2, No such file or directory
>


It can't find the Perforce command in your path.  Ideally if you can install
the P4Client via RPM it'll be better for everyone.

J.



>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
>
>         at java.lang.Runtime.exec(Runtime.java:593)
>
>         at java.lang.Runtime.exec(Runtime.java:466)
>
>         at
> net.sourceforge.cruisecontrol.util.CruiseRuntime.exec(CruiseRuntime.java:14)
>
>         at
> net.sourceforge.cruisecontrol.util.Commandline.execute(Commandline.java:624)
>
>         at
> net.sourceforge.cruisecontrol.util.CommandExecutor.executeAndWait(CommandExecutor.java:113)
>
>         ... 9 more
>
> Caused by: java.io.IOException: java.io.IOException: error=2, No such file
> or directory
>
>         at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
>
>         at java.lang.ProcessImpl.start(ProcessImpl.java:65)
>
>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
>
>         ... 14 more
>
> From the above exception , I am not able to find out what can be exact
> cause for it. Could you please let me know where I am going wrong ?
>
>
>
>
>
> *Thanks and Regards*,
>
> *Sachin Gurumukhi *
>
>
>
> DISCLAIMER ========== This e-mail may contain privileged and confidential
> information which is the property of Persistent Systems Ltd. It is intended
> only for the use of the individual or entity to which it is addressed. If
> you are not the intended recipient, you are not authorized to read, retain,
> copy, print, distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all copies of
> this message. Persistent Systems Ltd. does not accept any liability for
> virus infected mails.
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>


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

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.