From: iPhone <cco...@ya...> - 2011-01-28 13:41:59
|
I built xmlvm.jar successfully by running ant from the /xmlvm root directory. I'm trying to build the iphone demos from the same directory and it fails with a path issue that I have not been able to resolve. I have the same result from within Eclipse. The stack trace is as follows, please send the end for the actual build error: C:\iphone\XMLVM>ant demos-iphone Buildfile: C:\iphone\XMLVM\build.xml init: build-xmlvm: [echo] Compiling XMLVM [javac] C:\iphone\XMLVM\build.xml:122: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatabl e builds build-objc-compat-lib: [echo] Generating objc-compat.jar [javac] C:\iphone\XMLVM\build.xml:76: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds build-android-compat-lib: [javac] C:\iphone\XMLVM\build.xml:90: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds cc-android-compat-lib: cc-android-compat-lib.impl: xmlvmjar: [unjar] Expanding: C:\iphone\XMLVM\lib\one-jar-boot.jar into C:\iphone\XMLVM\build\base [unjar] Expanding: C:\iphone\XMLVM\lib\lwjgl.jar into C:\iphone\XMLVM\build\base [unjar] Expanding: C:\iphone\XMLVM\dist\lib\objc-compat.jar into C:\iphone\XMLVM\build\base [unjar] Expanding: C:\iphone\XMLVM\dist\lib\android-compat.jar into C:\iphone\XMLVM\build\base [javac] C:\iphone\XMLVM\build.xml:170: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatabl e builds [javac] Compiling 2 source files to C:\iphone\XMLVM\build\base [delete] Deleting: C:\iphone\XMLVM\build\base\org\apache\tools\ant\BuildException.class [delete] Deleting: C:\iphone\XMLVM\build\base\org\apache\tools\ant\Task.class [javac] C:\iphone\XMLVM\build.xml:200: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatabl e builds [javac] C:\iphone\XMLVM\build.xml:212: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatabl e builds [javac] C:\iphone\XMLVM\build.xml:220: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatabl e builds -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-debug-args: -init-macrodef-nbjpda: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-debug-args: -init-macrodef-nbjpda: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-debug-args: -init-macrodef-nbjpda: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-debug-args: -init-macrodef-nbjpda: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-debug-args: -init-macrodef-nbjpda: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-debug-args: -init-macrodef-nbjpda: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-debug-args: -init-macrodef-nbjpda: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-debug-args: -init-macrodef-nbjpda: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: jar: demos-iphone: -pre-init: -init-private: -init-user: -init-project: -init-macrodef-property: -do-init: -post-init: -init-check: -init-macrodef-javac: -init-macrodef-junit: -init-debug-args: -init-macrodef-nbjpda: -init-macrodef-debug: -init-macrodef-java: -init-presetdef-jar: init: deps-jar: -check-automatic-build: -clean-after-automatic-build: -verify-automatic-build: -pre-pre-compile: -x-init-static: -x-pre-init: -xmlvm-exists: -pre-compile: -compile-depend: -do-compile: -x-post-init: -xcode-resources: -post-compile: compile: -pre-xproject: -xproject-plugins: BUILD FAILED C:\iphone\XMLVM\build.xml:326: The following error occurred while executing this line: C:\iphone\XMLVM\demo\iphone\ihelloworld\fullscreen\nbproject\xcode.xml:93: java.io.IOException: Unable to use path C:\iphone\XMLVM\demo\iphone\ihellow orld\fullscreen\C:\iphone\XMLVM\demo\iphone\ihelloworld\fullscreen\build\plugins\objc at org.xmlvm.ant.SrcPluginExtractor.execute(SrcPluginExtractor.java:90) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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: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.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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: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(DefaultExecutor.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) Total time: 4 seconds |
From: Arno P. <ar...@pu...> - 2011-01-30 01:16:07
|
you can't use XMLVM to generate an iPhone project under Windows. You have to run it on a Mac with Xcode installed. Arno On 1/28/11 5:41 AM, iPhone wrote: > I built xmlvm.jar successfully by running ant from the /xmlvm root > directory. I'm trying to build the iphone demos from the same directory > and it fails with a path issue that I have not been able to resolve. I > have the same result from within Eclipse. The stack trace is as follows, > please send the end for the actual build error: > C:\iphone\XMLVM>ant demos-iphone > Buildfile: C:\iphone\XMLVM\build.xml > init: > build-xmlvm: > [echo] Compiling XMLVM > [javac] C:\iphone\XMLVM\build.xml:122: warning: 'includeantruntime' was > not set, defaulting to build.sysclasspath=last; set to false for repeatabl > e builds > build-objc-compat-lib: > [echo] Generating objc-compat.jar > [javac] C:\iphone\XMLVM\build.xml:76: warning: 'includeantruntime' was > not set, defaulting to build.sysclasspath=last; set to false for repeatable > builds > build-android-compat-lib: > [javac] C:\iphone\XMLVM\build.xml:90: warning: 'includeantruntime' was > not set, defaulting to build.sysclasspath=last; set to false for repeatable > builds > cc-android-compat-lib: > cc-android-compat-lib.impl: > xmlvmjar: > [unjar] Expanding: C:\iphone\XMLVM\lib\one-jar-boot.jar into > C:\iphone\XMLVM\build\base > [unjar] Expanding: C:\iphone\XMLVM\lib\lwjgl.jar into > C:\iphone\XMLVM\build\base > [unjar] Expanding: C:\iphone\XMLVM\dist\lib\objc-compat.jar into > C:\iphone\XMLVM\build\base > [unjar] Expanding: C:\iphone\XMLVM\dist\lib\android-compat.jar into > C:\iphone\XMLVM\build\base > [javac] C:\iphone\XMLVM\build.xml:170: warning: 'includeantruntime' was > not set, defaulting to build.sysclasspath=last; set to false for repeatabl > e builds > [javac] Compiling 2 source files to C:\iphone\XMLVM\build\base > [delete] Deleting: > C:\iphone\XMLVM\build\base\org\apache\tools\ant\BuildException.class > [delete] Deleting: > C:\iphone\XMLVM\build\base\org\apache\tools\ant\Task.class > [javac] C:\iphone\XMLVM\build.xml:200: warning: 'includeantruntime' was > not set, defaulting to build.sysclasspath=last; set to false for repeatabl > e builds > [javac] C:\iphone\XMLVM\build.xml:212: warning: 'includeantruntime' was > not set, defaulting to build.sysclasspath=last; set to false for repeatabl > e builds > [javac] C:\iphone\XMLVM\build.xml:220: warning: 'includeantruntime' was > not set, defaulting to build.sysclasspath=last; set to false for repeatabl > e builds > -pre-init: > -init-private: > -init-user: > -init-project: > -init-macrodef-property: > -do-init: > -post-init: > -init-check: > -init-macrodef-javac: > -init-macrodef-junit: > -init-debug-args: > -init-macrodef-nbjpda: > -init-macrodef-debug: > -init-macrodef-java: > -init-presetdef-jar: > init: > -pre-init: > -init-private: > -init-user: > -init-project: > -init-macrodef-property: > -do-init: > -post-init: > -init-check: > -init-macrodef-javac: > -init-macrodef-junit: > -init-debug-args: > -init-macrodef-nbjpda: > -init-macrodef-debug: > -init-macrodef-java: > -init-presetdef-jar: > init: > -pre-init: > -init-private: > -init-user: > -init-project: > -init-macrodef-property: > -do-init: > -post-init: > -init-check: > -init-macrodef-javac: > -init-macrodef-junit: > -init-debug-args: > -init-macrodef-nbjpda: > -init-macrodef-debug: > -init-macrodef-java: > -init-presetdef-jar: > init: > -pre-init: > -init-private: > -init-user: > -init-project: > -init-macrodef-property: > -do-init: > -post-init: > -init-check: > -init-macrodef-javac: > -init-macrodef-junit: > -init-debug-args: > -init-macrodef-nbjpda: > -init-macrodef-debug: > -init-macrodef-java: > -init-presetdef-jar: > init: > -pre-init: > -init-private: > -init-user: > -init-project: > -init-macrodef-property: > -do-init: > -post-init: > -init-check: > -init-macrodef-javac: > -init-macrodef-junit: > -init-debug-args: > -init-macrodef-nbjpda: > -init-macrodef-debug: > -init-macrodef-java: > -init-presetdef-jar: > init: > -pre-init: > -init-private: > -init-user: > -init-project: > -init-macrodef-property: > -do-init: > -post-init: > -init-check: > -init-macrodef-javac: > -init-macrodef-junit: > -init-debug-args: > -init-macrodef-nbjpda: > -init-macrodef-debug: > -init-macrodef-java: > -init-presetdef-jar: > init: > -pre-init: > -init-private: > -init-user: > -init-project: > -init-macrodef-property: > -do-init: > -post-init: > -init-check: > -init-macrodef-javac: > -init-macrodef-junit: > -init-debug-args: > -init-macrodef-nbjpda: > -init-macrodef-debug: > -init-macrodef-java: > -init-presetdef-jar: > init: > -pre-init: > -init-private: > -init-user: > -init-project: > -init-macrodef-property: > -do-init: > -post-init: > -init-check: > -init-macrodef-javac: > -init-macrodef-junit: > -init-debug-args: > -init-macrodef-nbjpda: > -init-macrodef-debug: > -init-macrodef-java: > -init-presetdef-jar: > init: > jar: > demos-iphone: > -pre-init: > -init-private: > -init-user: > -init-project: > -init-macrodef-property: > -do-init: > -post-init: > -init-check: > -init-macrodef-javac: > -init-macrodef-junit: > -init-debug-args: > -init-macrodef-nbjpda: > -init-macrodef-debug: > -init-macrodef-java: > -init-presetdef-jar: > init: > deps-jar: > -check-automatic-build: > -clean-after-automatic-build: > -verify-automatic-build: > -pre-pre-compile: > -x-init-static: > -x-pre-init: > -xmlvm-exists: > -pre-compile: > -compile-depend: > -do-compile: > -x-post-init: > -xcode-resources: > -post-compile: > compile: > -pre-xproject: > -xproject-plugins: > BUILD FAILED > C:\iphone\XMLVM\build.xml:326: The following error occurred while > executing this line: > C:\iphone\XMLVM\demo\iphone\ihelloworld\fullscreen\nbproject\xcode.xml:93: > java.io <http://java.io.io/>.IOException: Unable to use path > C:\iphone\XMLVM\demo\iphone\ihellow > orld\fullscreen\C:\iphone\XMLVM\demo\iphone\ihelloworld\fullscreen\build\plugins\objc > at org.xmlvm.ant.SrcPluginExtractor.execute(SrcPluginExtractor.java:90) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > 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: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.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) > at org.apache.tools.ant.Project.executeTargets(Project.java:1251) > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) > at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > 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: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(DefaultExecutor.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) > Total time: 4 seconds > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |