04-03-2011, 08:25 AM
Darth1701, i follow your guide.
but when i build with ant failed.
when i try
Cvn co http://jpcsp.googlecode.com/svn/trunk/ C:\jpcsp
and then
cd \jpcsp
ant -f build-auto.xml dist-windows-x86
but when i build with ant failed.
when i try
Cvn co http://jpcsp.googlecode.com/svn/trunk/ C:\jpcsp
Code:
C:\>svn co http://jpcsp.googlecode.com/svn/trunk/ C:\jpcsp
svn: OPTIONS (URL: 'http://jpcsp.googlecode.com/svn/trunk'): Could not resolve h
ostname `jpcsp.googlecode.com': The requested name is valid and was found in the
database, but it does not have the correct associated data being resolved for.
(http://jpcsp.googlecode.com)
and then
cd \jpcsp
ant -f build-auto.xml dist-windows-x86
Code:
C:\Jpcsp>ant -f build-auto.xml dist-windows-x86
Buildfile: C:\Jpcsp\build-auto.xml
dist-windows-x86:
build-subprojects:
init:
[mkdir] Created dir: C:\Jpcsp\bin\class
[copy] Copying 61 files to C:\Jpcsp\bin\class
build-project:
[echo] Jpcsp: C:\Jpcsp\build-auto.xml
[javac] C:\Jpcsp\build-auto.xml:87: warning: 'includeantruntime' was not set
, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 433 source files to C:\Jpcsp\bin\class
[javac] Note: C:\Jpcsp\src\jpcsp\Settings.java uses unchecked or unsafe oper
ations.
[javac] Note: Recompile with -Xlint:unchecked for details.
build:
jar:
[jar] Building jar: C:\Jpcsp\bin\jpcsp.jar
dist-generic:
[mkdir] Created dir: C:\Jpcsp\dist\jpcsp-windows-x86
[copy] Copying 159 files to C:\Jpcsp\dist\jpcsp-windows-x86
[copy] Copied 15 empty directories to 1 empty directory under C:\Jpcsp\dist
\jpcsp-windows-x86
BUILD FAILED
C:\Jpcsp\build-auto.xml:141: The following error occurred while executing this l
ine:
C:\Jpcsp\build-auto.xml:57: Execute failed: java.io.IOException: Cannot run prog
ram "7z" (in directory "C:\Jpcsp\dist"): CreateProcess error=2, The system canno
t find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Exec
ute.java:862)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav
a:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 37 more
Total time: 12 seconds
Mobo:Gigabyte (GA-78LMT-USB3) CPU:AMD FX-6300 RAM:G-Skill 8GB Dual-Channel DDR3 PC12800 VGA:Sapphire R7 265 2GB OS:Windows 7 Ultimate 64-bit SP1