From: Hansi R. <su...@su...> - 2010-10-19 12:28:22
|
hey all! i just got my hands on xmlvm for the first time the other, so i guess i should say hello mailinglist - hello! and also ... it's a really promising project, very fun to play with. i currently playing with support for custom target languages (e.g. javascript output with a different ui library than qooxdoo). i'm not finished, but i'd want it to be invoked along the lines of: java -classpath mycrazyownoutputtargetFolderOrJar -jar xmlvm.jar --in=... --out=... --target=org.test.MyOwnOutputThingie --whatever-other-arguments-this-thing-needs this might or might not be the route to take, but my question is if there are plans to make the "target part" of xmlvm extensible with recompiling the whole thing. another question would be: is there an official git repository online somewhere? currently i'm updating from svn, but i'd prefer git... a lot... best, hansi. |
From: Hansi R. <su...@su...> - 2010-10-19 12:28:36
|
hey all! i just got my hands on xmlvm for the first time the other, so i guess i should say hello mailinglist - hello! and also ... it's a really promising project, very fun to play with. i currently playing with support for custom target languages (e.g. javascript output with a different ui library than qooxdoo). i'm not finished, but i'd want it to be invoked along the lines of: java -classpath mycrazyownoutputtargetFolderOrJar -jar xmlvm.jar --in=... --out=... --target=org.test.MyOwnOutputThingie --whatever-other-arguments-this-thing-needs this might or might not be the route to take, but my question is if there are plans to make the "target part" of xmlvm extensible with recompiling the whole thing. another question would be: is there an official git repository online somewhere? currently i'm updating from svn, but i'd prefer git... a lot... best, hansi. |
From: Sascha H. <sa...@xm...> - 2010-10-19 13:52:47
|
On Tue, Oct 19, 2010 at 1:57 PM, Hansi Raber <su...@su...> wrote: > hey all! > > i just got my hands on xmlvm for the first time the other, so i guess i > should say hello mailinglist - hello! > and also ... it's a really promising project, very fun to play with. > Hi Hansi! Welcome to the list :) > > i currently playing with support for custom target languages (e.g. > javascript output with a different ui library than qooxdoo). > Sounds very interesting. Keep me in the loop as I am also working on the JS part right now and wonder if there might be some better alternative to qooxdoo. Keep in mind however, that qooxdoo is not "just" used for the UI. It's main purpose is actually to allow the usage of its object-oriented paradigms and the ability to compile the whole code into one JS "binary". > i'm not finished, but i'd want it to be invoked along the lines of: > java -classpath mycrazyownoutputtargetFolderOrJar -jar xmlvm.jar --in=... > --out=... --target=org.test.MyOwnOutputThingie > --whatever-other-arguments-this-thing-needs > Preferably you should try getting your code into the xmlvm.jar. Depending on what you have in your crazyOwnStuff you can either put it as a jar into the lib directory, or put the code itself into the repository and make it part of XMLVM. What exactly is in this package? > > this might or might not be the route to take, but my question is if there > are plans to make the "target part" of xmlvm extensible with recompiling the > whole thing. > The whole pipeline is actually very extensible. Check out the OutputProcessFactory, which allows you to specify an a target process. You just need to implement your own, specify the supported input processes and make sure that your target process is created in the OutputProcessFactory. Let me know if you have any question about this. > > another question would be: is there an official git repository online > somewhere? currently i'm updating from svn, but i'd prefer git... a lot... > Sorry, we use SVN for now and we would like to have everything in there if possible for now. > best, hansi. > > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |
From: Hansi R. <su...@su...> - 2010-10-19 17:55:19
|
hello! > > The whole pipeline is actually very extensible. Check out the > OutputProcessFactory, which allows you to specify an a target process. You > just need to implement your own, specify the supported input processes and > make sure that your target process is created in the OutputProcessFactory. > > Let me know if you have any question about this. > yes, the OutputProcessFactory is exactly were i made my modifications. currently this factory is "static", meaning that i can't specify 3rd party output targets, without recompiling xmlvm. my question would be if you have thought about opening this part up, for instance by allowing users to specify other targets (e.g. js-jqueryui) from the command line. those could then be developed independently of xmlvm. at this point it is really more a hypothetical question, um... i'll ask again about this when i have a working prototype of what i'm trying to do.... best, hansi. |
From: Sascha H. <sa...@xm...> - 2010-10-19 18:32:38
|
On Tue, Oct 19, 2010 at 7:31 PM, Hansi Raber <su...@su...> wrote: > hello! > > >> >> The whole pipeline is actually very extensible. Check out the >> OutputProcessFactory, which allows you to specify an a target process. You >> just need to implement your own, specify the supported input processes and >> make sure that your target process is created in the OutputProcessFactory. >> >> Let me know if you have any question about this. >> > > yes, the OutputProcessFactory is exactly were i made my modifications. > currently this factory is "static", meaning that i can't specify 3rd party > output targets, without recompiling xmlvm. > So if I understand you correct you would like to develop plugins that are not directly baked into XMLVM but that can be put onto the classpath and then loaded through reflection? It would certainly be doable, but I am wondering, if this usecase makes sense. Ideally you would just submit your target and all the code into XMLVM. But granted, it could make it easier for people to develop plugins for XMLVM as they don't have to submit directly to XMLVM. However, such a plugin API would need to be somewhat stable and therefore needs to be designed careful. And I am not sure if we are at a stage right now were it makes sense to make that kind of investment. Getting to the elephant in the room: Would you have an issue with submitting your changes to XMLVM again? > > my question would be if you have thought about opening this part up, for > instance by allowing users to specify other targets (e.g. js-jqueryui) > from the command line. those could then be developed independently of > xmlvm. > > > at this point it is really more a hypothetical question, um... i'll ask > again about this when i have a working > prototype of what i'm trying to do.... > > > > best, > hansi. > > |
From: Hansi R. <su...@su...> - 2010-10-19 19:08:08
|
hey! > So if I understand you correct you would like to develop plugins that are > not directly baked into XMLVM but that can be put onto the classpath and > then loaded through reflection? > > It would certainly be doable, but I am wondering, if this usecase makes > sense. Ideally you would just submit your target and all the code into > XMLVM. But granted, it could make it easier for people to develop plugins > for XMLVM as they don't have to submit directly to XMLVM. > yep, exactly. > > However, such a plugin API would need to be somewhat stable and therefore > needs to be designed careful. And I am not sure if we are at a stage right > now were it makes sense to make that kind of investment. > > Getting to the elephant in the room: Would you have an issue with > submitting your changes to XMLVM again? > not at all, it's more the other way round: i'm not sure if you'd like to have my mess in the official repositories :) as i said... i don't have anything meaningful at this point, but as soon as i do i'll obviously post a link here! best, hansi. |