mule - svn mkdir command not wokring inside java code -
i trying execute string trunkfolder="svn mkdir file:///c:/svn/repositary/tempproject"+"-m"+ "creating trunk folder"; processbuilder pb1 = new processbuilder(trunkfolder); process p1=pb1.start();
for creating folder through java file getting error of exception in thread "main" java.io.ioexception: cannot run program "svn": createprocess error=2, system cannot find file specified @ java.lang.processbuilder.start(processbuilder.java:1048) @ java.lang.runtime.exec(runtime.java:620) @ java.lang.runtime.exec(runtime.java:450) @ java.lang.runtime.exec(runtime.java:347) @ nl.apg.mule.xmltoproperty.xmltoproperty.main(xmltoproperty.java:42) caused by: java.io.ioexception: createprocess error=2, system cannot find file specified @ java.lang.processimpl.create(native method) @ java.lang.processimpl.<init>(processimpl.java:386) @ java.lang.processimpl.start(processimpl.java:137) @ java.lang.processbuilder.start(processbuilder.java:1029) ... 4 more . should ?
Comments
Post a Comment