Problem with project compilation.

442 views
Skip to first unread message

Anton Shishkov

unread,
Jan 16, 2008, 4:02:36 AM1/16/08
to selenium-develope...@googlegroups.com
Hi everyone.

I am experiencing a problem with compiling the Selenium RC.
My PC configuration:
Maven version: 2.0.8
Java version: 1.6.0_03
OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"

1. Used eclipse to download a project from a SVN server:
http://svn.openqa.org/svn/selenium-rc/trunk
revision 2116

2. cd C:\Java_files\workspaceSelenium\SeleniumRC_Trunk
3. mvn -e install -Dnotest=1 -Dmaven.test.skip=true
Result:

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess
error=2, The system cannot find the file specified
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProce
ss error=2, The system cannot find the file specified
at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:128)
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:95)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
Caused by: Execute failed: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, The system cannot find the file specified
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:620)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:115)
... 19 more
Caused by: java.io.IOException: Cannot run program "svnversion": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at java.lang.Runtime.exec(Runtime.java:593)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)
... 24 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.{code:html}<init>{code}(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 34 more
[INFO] -
-----------------------------------------------------------------------
[INFO] Total time: 45 seconds
[INFO] Finished at: Wed Jan 16 10:58:20 EET 2008
[INFO] Final Memory: 7M/12M
[INFO] -
-----------------------------------------------------------------------

Edited by: antsh85 on Jan 16, 2008 3:02 AM

Anton Shishkov

unread,
Jan 17, 2008, 2:39:05 PM1/17/08
to selenium-develope...@googlegroups.com
up

David Burns

unread,
Nov 30, 2012, 11:51:24 AM11/30/12
to selenium-...@googlegroups.com, selenium-develope...@googlegroups.com, clear...@openqa.org
We don't use that repository. Please use https://code.google.com/p/selenium/source/checkout to get the code and follow https://code.google.com/p/selenium/wiki/BuildingWebDriver to build it.

Patrick, can you please remove that code from that repo since we have all the history in google code and is causing some confusion.



David Burns
URL: http://www.theautomatedtester.co.uk/


On Fri, Nov 30, 2012 at 4:35 PM, Vinay <erkumar.v...@gmail.com> wrote:
Hi Anton,

I am also getting the same error in building the SRC,
if you have any solution to the problem please let me know. 

Thanks

--
 
 

Reply all
Reply to author
Forward
0 new messages