From: T F <tsf...@ho...> - 2010-04-10 02:30:20
|
I'm new to XMLVM and Java. I have installed the latest Java edition for Windows as well as Ant, and have been able to compile XMLVM. I'm running Windows 7 and Visual Studio 2008. I've tried to build the two C# examples provided, and am getting a post-build event error with both of them. The post-build event is as follows: cd ..\..\..\bin java -classpath ./lib/bcel.jar;./lib/jakarta-regexp.jar;./lib/jdom.jar;./lib/mbel.jar;./lib/saxon9.jar;./lib/xercesImpl.jar;./ org.xmlvm.Main --java --out=./ FireWorks.exe Two things seem to be an issue. One is that the ..\..\bin section doesn't navigate high enough in the XMLVM directory to actually get to the bin directory. I'm able to correct that. The second seems to be that the file org.xmlvm.Main doesn't exist anywhere in the code I checked out from the trunk. I don't know if this is causing my other problems when trying to cross-compile FireWorks.xmlvm (CLR). I get the following error when executing the following. Am I supposed to target the DFA first before attempting "target=class"?? My ultimate goal is to compile to an iPhone app. Thanks. Tim c:\XMLVM\dist>java -jar xmlvm.jar --in=c:\xmlvm\bin\FireWorks.xmlvm --out=c:\xml vm\bin --target=dfa [04/09/10 22:06:43.014] ERROR: Could not create target process for target 'DF A'. Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.simontuffs.onejar.Boot.run(Boot.java:306) at com.simontuffs.onejar.Boot.main(Boot.java:159) Caused by: java.lang.NullPointerException at org.xmlvm.proc.XmlvmProcessor.filterNotYetProcessedProcesses(XmlvmPro cessor.java:188) at org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline0(XmlvmProcessor .java:151) at org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline(XmlvmProcessor. java:146) at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:99) at org.xmlvm.proc.NewMain.main(NewMain.java:50) ... 6 more _________________________________________________________________ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. http://clk.atdmt.com/GBL/go/196390706/direct/01/ |