problem in building the SRC

83 views
Skip to first unread message

Vinay

unread,
Nov 30, 2012, 11:51:13 AM11/30/12
to selenium-...@googlegroups.com
Hi All,

please help in building the SRC as i am getting following stack trace while build. 
 my system configuration is as follows.
os - windows vista
java- 1.7
maven 2.0.11
------------------------------------------------------------
D:\selenium_project>mvn install -e -DskipTests
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Selenium RC
[INFO]   Selenium RC Server (Coreless)
[INFO]   Selenium RC Server
[INFO]   Selenium RC Client Drivers
[INFO]   Selenium RC Java Client Driver
[INFO]   selenium-java-testng-helper
[INFO]   Selenium Translator
[INFO] ------------------------------------------------------------------------
[INFO] Building Selenium RC
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing D:\selenium_project\pom.xml to C:\Users\VINAY\.m2\repository\org\seleniumhq\selenium\selenium-rc\1.0.2-SNAPSHOT\selenium-rc-1.0.2-SNAPS
HOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Selenium RC Server (Coreless)
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 23 resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 6 resources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
     [echo] Shutting down any existing Remote Control...
      [get] To: D:\selenium_project\server-coreless\shutdown.log
      [get] Error getting http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer to D:\selenium_project\server-coreless\shutdown.log
[INFO] Executed tasks
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] [install:install]
[INFO] Installing D:\selenium_project\server-coreless\target\selenium-server-coreless-1.0.2-SNAPSHOT.jar to C:\Users\VINAY\.m2\repository\org\seleniumhq\
selenium\server\selenium-server-coreless\1.0.2-SNAPSHOT\selenium-server-coreless-1.0.2-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Selenium RC Server
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [antrun:run {execution: compile}]
[INFO] Executing tasks
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "svnversion" (in directory "D:\selenium_project\seleniu
m-server"): CreateProcess error=2, The system cannot find the file specified

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "svnve
rsion" (in directory "D:\selenium_project\selenium-server"): CreateProcess error=2, The system cannot find the file specified
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:584)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:290)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        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 "sv
nversion" (in directory "D:\selenium_project\selenium-server"): CreateProcess error=2, The system cannot find the file specified
        at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:131)
        at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:98)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:454)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
        ... 16 more
Caused by: Execute failed: java.io.IOException: Cannot run program "svnversion" (in directory "D:\selenium_project\selenium-server"): CreateProcess error
=2, The system cannot find the file specified
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:665)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:118)
        ... 19 more
Caused by: java.io.IOException: Cannot run program "svnversion" (in directory "D:\selenium_project\selenium-server"): CreateProcess error=2, The system c
annot find the file specified
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
        at java.lang.Runtime.exec(Runtime.java:615)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:832)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:447)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:461)
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:621)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662)
        ... 29 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.<init>(ProcessImpl.java:189)
        at java.lang.ProcessImpl.start(ProcessImpl.java:133)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
        ... 39 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Fri Nov 30 22:12:50 IST 2012
[INFO] Final Memory: 17M/42M
[INFO] ------------------------------------------------------------------------
D:\selenium_project>


























































David Burns

unread,
Nov 30, 2012, 11:57:58 AM11/30/12
to selenium-...@googlegroups.com
We don't use Maven to build our code, to build it follow https://code.google.com/p/selenium/wiki/BuildingWebDriver to build it.


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




























































--
 
 

Reply all
Reply to author
Forward
0 new messages