From: Daniel B. <db...@gm...> - 2009-07-24 07:25:16
|
Support Requests item #2826246, was opened at 2009-07-24 00:15 Message generated for change (Tracker Item Submitted) made by rcdabo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=973063&aid=2826246&group_id=200328 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: Daniel Branco (rcdabo) Assigned to: Nobody/Anonymous (nobody) Summary: Problem compiling with java -jar xmlvm.jar Initial Comment: Hello, I am new using XmlVM, I must say that is an interesting and flexible project which I'm attracted to. Anyway, I'm confuse about how to use it. I downloaded Java 6 update 14, Eclipse JEE Galileo, Subeclipse, then connect to svn repository give by you and download the whole repository, last version of Apache ant command. Finally I "ant" the repository and get the dist directory as the documentation says, but after this some interesting things happened. When I run "java -jar xmlvm.jar" an error display "Error: Need at least one --in argument" Then in order to test the "in", "out" and "target" options. I create an environment variable "%xmlvm%=java -jar xmlvm.jar" simulating an alias in unix. Then I just made a class in Eclipse adding reference to the xmlvm JARs build it and then launching the following (the class contain the same code to iHelloWorld example): %xmlvm% --in=holaMundo.class --out="C:/" and got: [07/23/09 23:53:57.906] DEBUG: Instantiated: org.xmlvm.proc.in. ClassInputProcess [07/23/09 23:53:57.906] DEBUG: Instantiated: org.xmlvm.proc.in.ClassInputProcess for "holaMundo.class" [07/23/09 23:53:57.906] ERROR: Could not create OutputProcess for target 'XMLVM'. 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.filterNotYetProcessedProcessed(XmlvmProcessor.java:196) at org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline0(XmlvmProcessor.java:144) at org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline(XmlvmProcessor.java:139) at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:101) at org.xmlvm.proc.NewMain.main(NewMain.java:55) ... 6 more Please Could you tell me what is wrong with steps. PS.: It is intented to build a plugin for Eclipse,isn't it? In that case I would like to learn and collaborate with the project, if it is possible and you allow it, which I think that deserve a great help as many people could take benefit from it. |