From: Sascha H. <sa...@gm...> - 2009-07-24 11:45:47
|
Hi Daniel, first of all thank for reposting to the mailing list. I now closed the forums to avoid further confusion. To your problem: This is actually not your problem, you've done everything absolutely right. I could go into explaining you that we are currently rebuilding some of the XMLVM infrastructure and the new one doesn't support XMLVM output yet, but that doesn't help you. As you are currently building without any other options, XMLVM tries to convert your class file into XMLVM (XML format). However, the output module for this is not yet converted to this new infrastructure. However, this shouldn't be a big problem and I will do this on the weekend and will let you know. In the meantime, you can try to specify a concrete output. For example try adding "--objc", "--js", "--python" or "--cpp". These should work and produce output. Let me know if this works or doesn't. // Sascha On Fri, Jul 24, 2009 at 9:24 AM, Daniel Branco <db...@gm...> wrote: > 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. > > > ------------------------------------------------------------------------------ > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |