From ggastald at redhat.com Mon Feb 3 17:25:13 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 03 Feb 2014 20:25:13 -0200 Subject: [forge-dev] Java-parser name change Message-ID: <52F01749.8060300@redhat.com> Hello everyone, We are in the process of releasing a new version of the Java-parser project (thanks to the great job from Matt Benson) and we would like to give it a cool, easy to remember name. We came up with the name "Roaster", so we would like to know if there is any objection on the name change or we could go ahead with it? Best Regards and looking forward to seeing your reply, -- *George Gastaldi | Senior Software Engineer* JBoss Forge Team T: +55 11 3524-6169 M: +55 47 9711-1000 Red Hat Better technology. Faster innovation. Powered by community collaboration. See how it works at www.redhat.com LinkedIn Youtube -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140203/1ace183d/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: {a8aabf3a-4467-4e37-9bc5-48b1d7b494a2}_LATAM_RedHat.jpg Type: image/jpeg Size: 4815 bytes Desc: not available Url : http://lists.jboss.org/pipermail/forge-dev/attachments/20140203/1ace183d/attachment-0001.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: linkedin.png Type: image/png Size: 597 bytes Desc: not available Url : http://lists.jboss.org/pipermail/forge-dev/attachments/20140203/1ace183d/attachment-0002.png -------------- next part -------------- A non-text attachment was scrubbed... Name: youtube.png Type: image/png Size: 616 bytes Desc: not available Url : http://lists.jboss.org/pipermail/forge-dev/attachments/20140203/1ace183d/attachment-0003.png From asotobu at gmail.com Tue Feb 4 03:46:36 2014 From: asotobu at gmail.com (Alex Soto) Date: Tue, 4 Feb 2014 09:46:36 +0100 Subject: [forge-dev] Asciidoctor, Hyla and Forge Message-ID: Hello Forge folks, this is Alex, I am the developer of AsciidoctorJ, the interface between Ruby part of Asciidoctor and Java. There is one project called Hyla https://github.com/cmoulliard/hyla (written in Ruby) which is something like a console for working with Asciidoctor. Basically what I am going to do is something similar but for Java. What I want is create some commands which allows you to create an Asciidoctor project for example with DZSlides structure, so for example user can do: $>asciidoctor install template dzslides http://......... #this command download a template from internet and install it inside forge directory. $>asciidoctor create dzslides /home/alex/mypresentation #this command basically uncompress the downloaded file inside the destination directory $>asciidoctor render #this command renders the project. Then as you can see it is a very lightweight operations, basically download something from internet, uncompress it, and run a compilation command. Of course maybe in future I can add something like push to github-pages, .... But my original idea was to usig Crest (project from Tomitribe) because I don't need many things provided by (Forge 1), but after Forge 2 is released (which means user can install the required addons instead of having some predefined addons), I send this email because Lincoln asked it in Twitter, so I don't know what are your thoughts about this. BTW one thing that worries me a lot is about using JBoss Modules because historically has complicated a bit our life with classloader issues and JRuby, but of course may be it is time to give a try with Forge. Thank you so much, Alex. -- +----------------------------------------------------------+ Alex Soto Bueno www.lordofthejars.com +----------------------------------------------------------+ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140204/33889082/attachment.html From ggastald at redhat.com Tue Feb 4 08:40:59 2014 From: ggastald at redhat.com (George Gastaldi) Date: Tue, 4 Feb 2014 08:40:59 -0500 (EST) Subject: [forge-dev] Asciidoctor, Hyla and Forge In-Reply-To: References: Message-ID: <737007CE-7579-4E59-AEFF-C02A8A07C434@redhat.com> Looks like it's doable with Forge 2. I'd love to know which issue you had with JBM in your past experience. Join us in the IRC (#forge in irc.freenode.net) and we'll help you out on setting up a new addon to do that. > Em 04/02/2014, ?s 11:35, Alex Soto escreveu: > > Hello Forge folks, > > this is Alex, I am the developer of AsciidoctorJ, the interface between Ruby part of Asciidoctor and Java. There is one project called Hyla https://github.com/cmoulliard/hyla (written in Ruby) which is something like a console for working with Asciidoctor. Basically what I am going to do is something similar but for Java. > > What I want is create some commands which allows you to create an Asciidoctor project for example with DZSlides structure, so for example user can do: > > $>asciidoctor install template dzslides http://......... #this command download a template from internet and install it inside forge directory. > > $>asciidoctor create dzslides /home/alex/mypresentation #this command basically uncompress the downloaded file inside the destination directory > > $>asciidoctor render #this command renders the project. > > Then as you can see it is a very lightweight operations, basically download something from internet, uncompress it, and run a compilation command. Of course maybe in future I can add something like push to github-pages, .... > > But my original idea was to usig Crest (project from Tomitribe) because I don't need many things provided by (Forge 1), but after Forge 2 is released (which means user can install the required addons instead of having some predefined addons), > > I send this email because Lincoln asked it in Twitter, so I don't know what are your thoughts about this. > > BTW one thing that worries me a lot is about using JBoss Modules because historically has complicated a bit our life with classloader issues and JRuby, but of course may be it is time to give a try with Forge. > > Thank you so much, > Alex. > -- > +----------------------------------------------------------+ > Alex Soto Bueno > www.lordofthejars.com > +----------------------------------------------------------+ > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140204/feadb575/attachment.html From lincolnbaxter at gmail.com Tue Feb 4 09:47:20 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Tue, 4 Feb 2014 09:47:20 -0500 Subject: [forge-dev] Asciidoctor, Hyla and Forge In-Reply-To: <737007CE-7579-4E59-AEFF-C02A8A07C434@redhat.com> References: <737007CE-7579-4E59-AEFF-C02A8A07C434@redhat.com> Message-ID: Hey Alex! Good to hear from you :) Regarding JBoss Modules, I don't think there will be a problem there, because I have AsciidoctorJ running fine on JBoss AS 7, and that also uses JBM. If there is an issue, which would surprise me, we can fix it :) Let's see how it goes! This sounds like a perfect fit for Forge. How can we help you get started? ~Lincoln On Tue, Feb 4, 2014 at 8:40 AM, George Gastaldi wrote: > Looks like it's doable with Forge 2. I'd love to know which issue you had > with JBM in your past experience. > > Join us in the IRC (#forge in irc.freenode.net) and we'll help you out on > setting up a new addon to do that. > > Em 04/02/2014, ?s 11:35, Alex Soto escreveu: > > Hello Forge folks, > > this is Alex, I am the developer of AsciidoctorJ, the interface between > Ruby part of Asciidoctor and Java. There is one project called Hyla > https://github.com/cmoulliard/hyla (written in Ruby) which is something > like a console for working with Asciidoctor. Basically what I am going to > do is something similar but for Java. > > What I want is create some commands which allows you to create an > Asciidoctor project for example with DZSlides structure, so for example > user can do: > > $>asciidoctor install template dzslides http://......... #this command > download a template from internet and install it inside forge directory. > > $>asciidoctor create dzslides /home/alex/mypresentation #this command > basically uncompress the downloaded file inside the destination directory > > $>asciidoctor render #this command renders the project. > > Then as you can see it is a very lightweight operations, basically > download something from internet, uncompress it, and run a compilation > command. Of course maybe in future I can add something like push to > github-pages, .... > > But my original idea was to usig Crest (project from Tomitribe) because I > don't need many things provided by (Forge 1), but after Forge 2 is released > (which means user can install the required addons instead of having some > predefined addons), > > I send this email because Lincoln asked it in Twitter, so I don't know > what are your thoughts about this. > > BTW one thing that worries me a lot is about using JBoss Modules because > historically has complicated a bit our life with classloader issues and > JRuby, but of course may be it is time to give a try with Forge. > > Thank you so much, > Alex. > -- > +----------------------------------------------------------+ > Alex Soto Bueno > www.lordofthejars.com > +----------------------------------------------------------+ > > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev > > > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev > -- Lincoln Baxter, III http://ocpsoft.org "Simpler is better." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140204/a3b81ea8/attachment.html From lincolnbaxter at gmail.com Tue Feb 4 09:58:57 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Tue, 4 Feb 2014 09:58:57 -0500 Subject: [forge-dev] Asciidoctor, Hyla and Forge In-Reply-To: References: <737007CE-7579-4E59-AEFF-C02A8A07C434@redhat.com> Message-ID: By the way. I think that what you'd want to do is create a distribution like we have done, then create a single Addon that you'd have pre-installed (with the shell) in a pre-configured Addon repository. We can explain how to do this. When the user starts up Forge (You can even re-brand it to your own AsciidoctorTerm if you like, the Forge logo message is an extension point,) your addon and the shell addon will be loaded. On Tue, Feb 4, 2014 at 9:47 AM, Lincoln Baxter, III wrote: > Hey Alex! > > Good to hear from you :) Regarding JBoss Modules, I don't think there will > be a problem there, because I have AsciidoctorJ running fine on JBoss AS 7, > and that also uses JBM. If there is an issue, which would surprise me, we > can fix it :) > > Let's see how it goes! > > This sounds like a perfect fit for Forge. How can we help you get started? > > ~Lincoln > > > On Tue, Feb 4, 2014 at 8:40 AM, George Gastaldi wrote: > >> Looks like it's doable with Forge 2. I'd love to know which issue you had >> with JBM in your past experience. >> >> Join us in the IRC (#forge in irc.freenode.net) and we'll help you out >> on setting up a new addon to do that. >> >> Em 04/02/2014, ?s 11:35, Alex Soto escreveu: >> >> Hello Forge folks, >> >> this is Alex, I am the developer of AsciidoctorJ, the interface between >> Ruby part of Asciidoctor and Java. There is one project called Hyla >> https://github.com/cmoulliard/hyla (written in Ruby) which is something >> like a console for working with Asciidoctor. Basically what I am going to >> do is something similar but for Java. >> >> What I want is create some commands which allows you to create an >> Asciidoctor project for example with DZSlides structure, so for example >> user can do: >> >> $>asciidoctor install template dzslides http://......... #this command >> download a template from internet and install it inside forge directory. >> >> $>asciidoctor create dzslides /home/alex/mypresentation #this command >> basically uncompress the downloaded file inside the destination directory >> >> $>asciidoctor render #this command renders the project. >> >> Then as you can see it is a very lightweight operations, basically >> download something from internet, uncompress it, and run a compilation >> command. Of course maybe in future I can add something like push to >> github-pages, .... >> >> But my original idea was to usig Crest (project from Tomitribe) because I >> don't need many things provided by (Forge 1), but after Forge 2 is released >> (which means user can install the required addons instead of having some >> predefined addons), >> >> I send this email because Lincoln asked it in Twitter, so I don't know >> what are your thoughts about this. >> >> BTW one thing that worries me a lot is about using JBoss Modules because >> historically has complicated a bit our life with classloader issues and >> JRuby, but of course may be it is time to give a try with Forge. >> >> Thank you so much, >> Alex. >> -- >> +----------------------------------------------------------+ >> Alex Soto Bueno >> www.lordofthejars.com >> +----------------------------------------------------------+ >> >> _______________________________________________ >> forge-dev mailing list >> forge-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/forge-dev >> >> >> _______________________________________________ >> forge-dev mailing list >> forge-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/forge-dev >> > > > > -- > Lincoln Baxter, III > http://ocpsoft.org > "Simpler is better." > -- Lincoln Baxter, III http://ocpsoft.org "Simpler is better." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140204/a7e554be/attachment-0001.html From forge-dev at lists.jboss.org Tue Feb 4 10:42:32 2014 From: forge-dev at lists.jboss.org (forge-dev at lists.jboss.org) Date: Tue, 04 Feb 2014 10:42:32 EST Subject: [forge-dev] Asciidoctor, Hyla and Forge In-Reply-To: Message-ID: <1448029804.81391528582342.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Yes this is exactly what I would like to do, it would be awesome, having a minimal Forge instance with AsciidoctorJ Addon. So users can download a zip, unzipped wherever they want and they can start creating and rendering Asciidoctor projects. In fact the addon only need to access to Filesystem to copy or remove content but nothing more. The edit of the files would be done with external editor, I would like to use Forge as a DRY pattern for Asciidoctor documents (mostly for slides but also for Maven or Gradle integration). BTW I don't know why if I access to forum with my login and password I cannot post messages to this topic, but well no problem to do it by email :). Thank you so much for your support and patience. Alex. 2014-02-04 Guest : > JBoss Community (forge-dev) > Asciidoctor, Hyla and Forge > > reply from Guest in *Forge Development* - View the full discussion Posted by forums Original post: https://community.jboss.org/message/856185#856185 From dan.j.allen at gmail.com Tue Feb 4 21:09:55 2014 From: dan.j.allen at gmail.com (Dan Allen) Date: Tue, 4 Feb 2014 19:09:55 -0700 Subject: [forge-dev] Asciidoctor, Hyla and Forge In-Reply-To: References: <737007CE-7579-4E59-AEFF-C02A8A07C434@redhat.com> Message-ID: Indeed, as Lincoln mentioned, AsciidoctorJ and JRuby work just fine now on Jboss Modules / Wildly. You do need to deploy it as a JBoss Module. You can see an example of how to configure it in the AsciiDoc WebSocket editor by @mgreau. https://github.com/mgreau/when-websocket-met-asciidoctor/blob/master/module/README.adoc I can confirm it works as do the excellent Arquillian tests he wrote, so good news! -Dan On Feb 4, 2014 7:47 AM, "Lincoln Baxter, III" wrote: > Hey Alex! > > Good to hear from you :) Regarding JBoss Modules, I don't think there will > be a problem there, because I have AsciidoctorJ running fine on JBoss AS 7, > and that also uses JBM. If there is an issue, which would surprise me, we > can fix it :) > > Let's see how it goes! > > This sounds like a perfect fit for Forge. How can we help you get started? > > ~Lincoln > > > On Tue, Feb 4, 2014 at 8:40 AM, George Gastaldi wrote: > >> Looks like it's doable with Forge 2. I'd love to know which issue you had >> with JBM in your past experience. >> >> Join us in the IRC (#forge in irc.freenode.net) and we'll help you out >> on setting up a new addon to do that. >> >> Em 04/02/2014, ?s 11:35, Alex Soto escreveu: >> >> Hello Forge folks, >> >> this is Alex, I am the developer of AsciidoctorJ, the interface between >> Ruby part of Asciidoctor and Java. There is one project called Hyla >> https://github.com/cmoulliard/hyla (written in Ruby) which is something >> like a console for working with Asciidoctor. Basically what I am going to >> do is something similar but for Java. >> >> What I want is create some commands which allows you to create an >> Asciidoctor project for example with DZSlides structure, so for example >> user can do: >> >> $>asciidoctor install template dzslides http://......... #this command >> download a template from internet and install it inside forge directory. >> >> $>asciidoctor create dzslides /home/alex/mypresentation #this command >> basically uncompress the downloaded file inside the destination directory >> >> $>asciidoctor render #this command renders the project. >> >> Then as you can see it is a very lightweight operations, basically >> download something from internet, uncompress it, and run a compilation >> command. Of course maybe in future I can add something like push to >> github-pages, .... >> >> But my original idea was to usig Crest (project from Tomitribe) because I >> don't need many things provided by (Forge 1), but after Forge 2 is released >> (which means user can install the required addons instead of having some >> predefined addons), >> >> I send this email because Lincoln asked it in Twitter, so I don't know >> what are your thoughts about this. >> >> BTW one thing that worries me a lot is about using JBoss Modules because >> historically has complicated a bit our life with classloader issues and >> JRuby, but of course may be it is time to give a try with Forge. >> >> Thank you so much, >> Alex. >> -- >> +----------------------------------------------------------+ >> Alex Soto Bueno >> www.lordofthejars.com >> +----------------------------------------------------------+ >> >> _______________________________________________ >> forge-dev mailing list >> forge-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/forge-dev >> >> >> _______________________________________________ >> forge-dev mailing list >> forge-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/forge-dev >> > > > > -- > Lincoln Baxter, III > http://ocpsoft.org > "Simpler is better." > > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140204/4b483127/attachment.html From lincolnbaxter at gmail.com Tue Feb 4 23:36:11 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Tue, 4 Feb 2014 23:36:11 -0500 Subject: [forge-dev] Asciidoctor, Hyla and Forge In-Reply-To: References: <737007CE-7579-4E59-AEFF-C02A8A07C434@redhat.com> Message-ID: The even better news is that Forge (or in this case, Furnace) will do the module packaging for you based on your POM file :) On Tue, Feb 4, 2014 at 9:09 PM, Dan Allen wrote: > Indeed, as Lincoln mentioned, AsciidoctorJ and JRuby work just fine now on > Jboss Modules / Wildly. You do need to deploy it as a JBoss Module. You can > see an example of how to configure it in the AsciiDoc WebSocket editor by > @mgreau. > > > https://github.com/mgreau/when-websocket-met-asciidoctor/blob/master/module/README.adoc > > I can confirm it works as do the excellent Arquillian tests he wrote, so > good news! > > -Dan > On Feb 4, 2014 7:47 AM, "Lincoln Baxter, III" > wrote: > >> Hey Alex! >> >> Good to hear from you :) Regarding JBoss Modules, I don't think there >> will be a problem there, because I have AsciidoctorJ running fine on JBoss >> AS 7, and that also uses JBM. If there is an issue, which would surprise >> me, we can fix it :) >> >> Let's see how it goes! >> >> This sounds like a perfect fit for Forge. How can we help you get started? >> >> ~Lincoln >> >> >> On Tue, Feb 4, 2014 at 8:40 AM, George Gastaldi wrote: >> >>> Looks like it's doable with Forge 2. I'd love to know which issue you >>> had with JBM in your past experience. >>> >>> Join us in the IRC (#forge in irc.freenode.net) and we'll help you out >>> on setting up a new addon to do that. >>> >>> Em 04/02/2014, ?s 11:35, Alex Soto escreveu: >>> >>> Hello Forge folks, >>> >>> this is Alex, I am the developer of AsciidoctorJ, the interface between >>> Ruby part of Asciidoctor and Java. There is one project called Hyla >>> https://github.com/cmoulliard/hyla (written in Ruby) which is something >>> like a console for working with Asciidoctor. Basically what I am going to >>> do is something similar but for Java. >>> >>> What I want is create some commands which allows you to create an >>> Asciidoctor project for example with DZSlides structure, so for example >>> user can do: >>> >>> $>asciidoctor install template dzslides http://......... #this command >>> download a template from internet and install it inside forge directory. >>> >>> $>asciidoctor create dzslides /home/alex/mypresentation #this command >>> basically uncompress the downloaded file inside the destination directory >>> >>> $>asciidoctor render #this command renders the project. >>> >>> Then as you can see it is a very lightweight operations, basically >>> download something from internet, uncompress it, and run a compilation >>> command. Of course maybe in future I can add something like push to >>> github-pages, .... >>> >>> But my original idea was to usig Crest (project from Tomitribe) because >>> I don't need many things provided by (Forge 1), but after Forge 2 is >>> released (which means user can install the required addons instead of >>> having some predefined addons), >>> >>> I send this email because Lincoln asked it in Twitter, so I don't know >>> what are your thoughts about this. >>> >>> BTW one thing that worries me a lot is about using JBoss Modules because >>> historically has complicated a bit our life with classloader issues and >>> JRuby, but of course may be it is time to give a try with Forge. >>> >>> Thank you so much, >>> Alex. >>> -- >>> +----------------------------------------------------------+ >>> Alex Soto Bueno >>> www.lordofthejars.com >>> +----------------------------------------------------------+ >>> >>> _______________________________________________ >>> forge-dev mailing list >>> forge-dev at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/forge-dev >>> >>> >>> _______________________________________________ >>> forge-dev mailing list >>> forge-dev at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/forge-dev >>> >> >> >> >> -- >> Lincoln Baxter, III >> http://ocpsoft.org >> "Simpler is better." >> >> _______________________________________________ >> forge-dev mailing list >> forge-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/forge-dev >> > > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev > -- Lincoln Baxter, III http://ocpsoft.org "Simpler is better." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140204/5b2fadfc/attachment.html From dan.j.allen at gmail.com Wed Feb 5 00:52:42 2014 From: dan.j.allen at gmail.com (Dan Allen) Date: Tue, 4 Feb 2014 22:52:42 -0700 Subject: [forge-dev] Asciidoctor, Hyla and Forge In-Reply-To: References: <737007CE-7579-4E59-AEFF-C02A8A07C434@redhat.com> Message-ID: Solid. -Dan On Feb 4, 2014 9:36 PM, "Lincoln Baxter, III" wrote: > The even better news is that Forge (or in this case, Furnace) will do the > module packaging for you based on your POM file :) > > > On Tue, Feb 4, 2014 at 9:09 PM, Dan Allen wrote: > >> Indeed, as Lincoln mentioned, AsciidoctorJ and JRuby work just fine now >> on Jboss Modules / Wildly. You do need to deploy it as a JBoss Module. You >> can see an example of how to configure it in the AsciiDoc WebSocket editor >> by @mgreau. >> >> >> https://github.com/mgreau/when-websocket-met-asciidoctor/blob/master/module/README.adoc >> >> I can confirm it works as do the excellent Arquillian tests he wrote, so >> good news! >> >> -Dan >> On Feb 4, 2014 7:47 AM, "Lincoln Baxter, III" >> wrote: >> >>> Hey Alex! >>> >>> Good to hear from you :) Regarding JBoss Modules, I don't think there >>> will be a problem there, because I have AsciidoctorJ running fine on JBoss >>> AS 7, and that also uses JBM. If there is an issue, which would surprise >>> me, we can fix it :) >>> >>> Let's see how it goes! >>> >>> This sounds like a perfect fit for Forge. How can we help you get >>> started? >>> >>> ~Lincoln >>> >>> >>> On Tue, Feb 4, 2014 at 8:40 AM, George Gastaldi wrote: >>> >>>> Looks like it's doable with Forge 2. I'd love to know which issue you >>>> had with JBM in your past experience. >>>> >>>> Join us in the IRC (#forge in irc.freenode.net) and we'll help you out >>>> on setting up a new addon to do that. >>>> >>>> Em 04/02/2014, ?s 11:35, Alex Soto escreveu: >>>> >>>> Hello Forge folks, >>>> >>>> this is Alex, I am the developer of AsciidoctorJ, the interface between >>>> Ruby part of Asciidoctor and Java. There is one project called Hyla >>>> https://github.com/cmoulliard/hyla (written in Ruby) which is >>>> something like a console for working with Asciidoctor. Basically what I am >>>> going to do is something similar but for Java. >>>> >>>> What I want is create some commands which allows you to create an >>>> Asciidoctor project for example with DZSlides structure, so for example >>>> user can do: >>>> >>>> $>asciidoctor install template dzslides http://......... #this command >>>> download a template from internet and install it inside forge directory. >>>> >>>> $>asciidoctor create dzslides /home/alex/mypresentation #this command >>>> basically uncompress the downloaded file inside the destination directory >>>> >>>> $>asciidoctor render #this command renders the project. >>>> >>>> Then as you can see it is a very lightweight operations, basically >>>> download something from internet, uncompress it, and run a compilation >>>> command. Of course maybe in future I can add something like push to >>>> github-pages, .... >>>> >>>> But my original idea was to usig Crest (project from Tomitribe) because >>>> I don't need many things provided by (Forge 1), but after Forge 2 is >>>> released (which means user can install the required addons instead of >>>> having some predefined addons), >>>> >>>> I send this email because Lincoln asked it in Twitter, so I don't know >>>> what are your thoughts about this. >>>> >>>> BTW one thing that worries me a lot is about using JBoss Modules >>>> because historically has complicated a bit our life with classloader issues >>>> and JRuby, but of course may be it is time to give a try with Forge. >>>> >>>> Thank you so much, >>>> Alex. >>>> -- >>>> +----------------------------------------------------------+ >>>> Alex Soto Bueno >>>> www.lordofthejars.com >>>> +----------------------------------------------------------+ >>>> >>>> _______________________________________________ >>>> forge-dev mailing list >>>> forge-dev at lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/forge-dev >>>> >>>> >>>> _______________________________________________ >>>> forge-dev mailing list >>>> forge-dev at lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/forge-dev >>>> >>> >>> >>> >>> -- >>> Lincoln Baxter, III >>> http://ocpsoft.org >>> "Simpler is better." >>> >>> _______________________________________________ >>> forge-dev mailing list >>> forge-dev at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/forge-dev >>> >> >> _______________________________________________ >> forge-dev mailing list >> forge-dev at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/forge-dev >> > > > > -- > Lincoln Baxter, III > http://ocpsoft.org > "Simpler is better." > > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140204/34a8e40f/attachment-0001.html From forge-dev at lists.jboss.org Wed Feb 5 02:31:31 2014 From: forge-dev at lists.jboss.org (forge-dev at lists.jboss.org) Date: Wed, 05 Feb 2014 02:31:31 EST Subject: [forge-dev] Asciidoctor, Hyla and Forge In-Reply-To: Message-ID: <2086766906.111391585521923.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Cool! I wish I can start working on this as soon as possible because I am a bit tired to copy-paste my project time after time. So for me the next step is where I can find documentation (or if you can explain as you mentioned in previous post) for creating an own Forge with shell alone (installing shell using --install command?). Then I suppose that I will need to create my addon with furnace for dealing with asciidoctorj and finally adding some Forge dependencies for dealing with resources (basically create directories and copy content). Am I on the good direction? Thanks. 2014-02-05 Guest : > JBoss Community (forge-dev) > Asciidoctor, Hyla and Forge > > reply from Guest in *Forge Development* - View the full discussion Posted by forums Original post: https://community.jboss.org/message/856278#856278 From lincolnbaxter at gmail.com Wed Feb 5 11:30:02 2014 From: lincolnbaxter at gmail.com (lincolnbaxter at gmail.com) Date: Wed, 05 Feb 2014 16:30:02 +0000 Subject: [forge-dev] Invitation: Hack Night in #forge on irc.freenode.net @ Mon Feb 10, 2014 2:30pm - 3:30pm (Forge Project Calendar) Message-ID: <001a11c2e46cc67fdd04f1ab44b8@google.com> You have been invited to the following event. Title: Hack Night in #forge on irc.freenode.net When: Mon Feb 10, 2014 2:30pm - 3:30pm Eastern Time Where: #forge on irc.freenode.net Calendar: Forge Project Calendar Who: * Lincoln Baxter, III - creator * Ivan St. Ivanov * Vineet Reynolds * Koen Aers * forge-dev at lists.jboss.org * George Gastaldi Event details: https://www.google.com/calendar/event?action=VIEW&eid=ODI2Nm1kZGRhOXVmMDlqYTlndjM3N21uZG8gZm9yZ2UtZGV2QGxpc3RzLmpib3NzLm9yZw&tok=NTIjdGl1M2lqaDVub2w5cHY3OHZkdnUza2tidWtAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbTkzOTFhNGExZThlODYxYmE2NzQwOTRkNDZkN2NlYWZlZDU0NmI3M2M&ctz=America/New_York&hl=en Invitation from Google Calendar: https://www.google.com/calendar/ You are receiving this courtesy email at the account forge-dev at lists.jboss.org because you are an attendee of this event. To stop receiving future notifications for this event, decline this event. Alternatively you can sign up for a Google account at https://www.google.com/calendar/ and control your notification settings for your entire calendar. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140205/68cd310b/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/calendar Size: 1608 bytes Desc: not available Url : http://lists.jboss.org/pipermail/forge-dev/attachments/20140205/68cd310b/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: invite.ics Type: application/ics Size: 1644 bytes Desc: not available Url : http://lists.jboss.org/pipermail/forge-dev/attachments/20140205/68cd310b/attachment-0001.bin From ggastald at redhat.com Wed Feb 5 12:04:11 2014 From: ggastald at redhat.com (George Gastaldi) Date: Wed, 05 Feb 2014 15:04:11 -0200 Subject: [forge-dev] Meeting minutes - 02-05-2014 Message-ID: <52F26F0B.4060206@redhat.com> ============== #forge Meeting ============== Meeting started by lincolnthree at 15:54:33 UTC. The full logs are available at http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge.2014-02-05-15.54.log.html . Meeting summary --------------- * Agenda (lincolnthree, 15:54:46) * Final Release Post-mortem (fallout/issues/etc) (gastaldi, 15:55:59) * Forge Hack Night (gastaldi, 15:57:39) * Next steps (Forge 2, Website) (lincolnthree, 15:58:19) * Final Release Post-mortem (fallout/issues/etc) (gastaldi, 15:59:28) * next release version will be 2.1.0.Final (lincolnthree, 16:00:48) * ACTION: Current core/master branch will be renamed to core/1.x ? core/2.0 branch will be renamed to core/master. (lincolnthree, 16:02:40) * the Java-parser project was renamed to Roaster (gastaldi, 16:03:25) * Forge Hack Night (gastaldi, 16:06:52) * ACTION: The Forge Hack Night is scheduled for Feb 10th and 17th (gastaldi, 16:15:12) * ACTION: For more information about the hack night dates, visit http://forge.jboss.org/events.html (gastaldi, 16:18:42) * Next steps (Forge 2, Website) (ivannov, 16:22:37) * LINK: https://issues.jboss.org/browse/FORGE-1479 (lincolnthree, 16:23:28) * LINK: https://issues.jboss.org/browse/FORGE-1432 (lincolnthree, 16:23:34) * ACTION: Decide new package name for Roaster (lincolnthree, 16:37:47) * ACTION: Crobson will put together a few visual designs, then we will proceed to the implementation phase (hire a web designer.) (lincolnthree, 16:46:31) Meeting ended at 16:51:55 UTC. Action Items ------------ * Current core/master branch will be renamed to core/1.x ? core/2.0 branch will be renamed to core/master. * The Forge Hack Night is scheduled for Feb 10th and 17th * For more information about the hack night dates, visit http://forge.jboss.org/events.html * Decide new package name for Roaster * Crobson will put together a few visual designs, then we will proceed to the implementation phase (hire a web designer.) Action Items, by person ----------------------- * **UNASSIGNED** * Current core/master branch will be renamed to core/1.x ? core/2.0 branch will be renamed to core/master. * The Forge Hack Night is scheduled for Feb 10th and 17th * For more information about the hack night dates, visit http://forge.jboss.org/events.html * Decide new package name for Roaster * Crobson will put together a few visual designs, then we will proceed to the implementation phase (hire a web designer.) People Present (lines said) --------------------------- * lincolnthree (109) * gastaldi (101) * ivannov (41) * crobson (35) * vineetreynolds (13) * mbenson (9) * jbossbot (6) * jbott (4) * koentsje (2) Generated by `MeetBot`_ 0.1.4 .. _`MeetBot`: http://wiki.debian.org/MeetBot From lincolnbaxter at gmail.com Wed Feb 5 14:47:09 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Wed, 5 Feb 2014 14:47:09 -0500 Subject: [forge-dev] Asciidoctor, Hyla and Forge In-Reply-To: <2086766906.111391585521923.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <2086766906.111391585521923.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Hey Alex, Yes, I think so. The first place to start is here: https://github.com/forge/core#developing-an-addon This will explain how to create your own addon, and the concepts of addon development. Once you've done that, you probably want to create an addon that depends on the "ui" addon, and the "resources" addon. To build a pre-packaged custom Forge, you can do something like we've done in our "dist" module: https://github.com/forge/core/blob/master/dist/pom.xml With an additional configuration to pre-install(bundle) the addons you need (including your addon:) https://github.com/jbosstools/jbosstools-forge/blob/master/plugins/org.jboss.tools.forge2.runtime/pom.xml#L20 Then you will need to create a bootstrapper that configures the repository and starts furnace: https://github.com/forge/furnace#usage This is a lot of info, but we will be here to help with each step :) ~Lincoln On Wed, Feb 5, 2014 at 2:31 AM, wrote: > Cool! I wish I can start working on this as soon as possible because I am a > bit tired to copy-paste my project time after time. So for me the next step > is where I can find documentation (or if you can explain as you mentioned > in previous post) for creating an own Forge with shell alone (installing > shell using --install command?). Then I suppose that I will need to create > my addon with furnace for dealing with asciidoctorj and finally adding some > Forge dependencies for dealing with resources (basically create > directories and copy content). > > Am I on the good direction? > > Thanks. > > > 2014-02-05 Guest : > > > JBoss Community (forge-dev) > > Asciidoctor, Hyla and Forge > > > > reply from Guest in *Forge Development* - View the full discussion< > https://community.jboss.org/message/856273?et=watches.email.thread#856273> > > > Posted by forums > Original post: https://community.jboss.org/message/856278#856278 > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev > -- Lincoln Baxter, III http://ocpsoft.org "Simpler is better." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140205/136279cf/attachment-0001.html From forge-dev at lists.jboss.org Thu Feb 6 07:39:52 2014 From: forge-dev at lists.jboss.org (forge-dev at lists.jboss.org) Date: Thu, 06 Feb 2014 07:39:52 EST Subject: [forge-dev] Forge 2.0.0.CR2 Released In-Reply-To: <52E7AE4A.1090507@redhat.com> Message-ID: <1344830294.161391690422314.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> The problem is very likely related to ~/.m2/settings.xml. Once starting from scratch you need to make sure your default maven settigs.xml points to Maven central (no mirroring of central used) as well as jboss.org maven repo (Index of /nexus/content/groups/public/ (https://repository.jboss.org/nexus/content/groups/public/)) is enabled otherwise, you will get to the very same error. George, please make some note at the very first part of README to make sure, people understand, that with addon installation, lot's of 3rd party artifacts gets downloaded into local M2 repo and that those artifacts must be accessible.. if not, installation fails. Posted by forums Original post: https://community.jboss.org/message/856520#856520 From forge-dev at lists.jboss.org Thu Feb 6 09:02:00 2014 From: forge-dev at lists.jboss.org (forge-dev at lists.jboss.org) Date: Thu, 06 Feb 2014 09:02:00 EST Subject: [forge-dev] Forge 2.0.0.CR2 Released In-Reply-To: <1344830294.161391690422314.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <920723515.171391695350789.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Done! Thanks for pointing that out. Posted by forums Original post: https://community.jboss.org/message/856559#856559 From antonio.mailing at gmail.com Thu Feb 6 12:29:01 2014 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Thu, 6 Feb 2014 18:29:01 +0100 Subject: [forge-dev] Forge Hack Night, 2nd ed. In-Reply-To: References: Message-ID: Hi all, So it looks like we will be having 2 Hack Nights : 10th and 17th of Feb. This will be my first Hack Nights. Anything I would need to prepare ? My plans are to attend both, do my best, and then blog about it (to encourage people to join future events like that). So any tips/resources/link I could check first would help. Antonio 2014-01-22 21:06 GMT+01:00 Antonio Goncalves : > There are several things I'd like to do with Forge : > > * being able to generate DAO/Service layers > * scaffold REST/JSF based on these DAO/Service layers > * add Form authentication with JASPIC and some authorization (e.g. only > "admins" can delete data). > > So I'm really looking forward to understand more about the core of > Forge... and a hacking session would really help a newbie like me > > Antonio > > > 2014/1/21 Antonio Goncalves > >> Before ski season (21st of Feb) would be perfect for me ;o) >> >> >> 2014/1/21 Ivan St. Ivanov >> >> Hey Lincoln, >>> >>> I don't mind if we do it any night after February 15th, as long it is >>> Tuesday, Wednesday or Thursday :) >>> >>> Let's discuss this in details on tomorrow's meeting? >>> >>> Cheers, >>> Ivan >>> >>> >>> On Tue, Jan 21, 2014 at 3:35 AM, Lincoln Baxter, III < >>> lincolnbaxter at gmail.com> wrote: >>> >>>> Hey Ivan, >>>> >>>> I think this is a great idea :) >>>> >>>> Maybe sometime next month? The week of the 17th, perhaps? When would >>>> you like to run this event? >>>> We should probably brainstorm some ideas to be worked on, like >>>> migrating the Arquillian plugin, and a few other important ones. >>>> >>>> ~Lincoln >>>> >>>> >>>> On Mon, Jan 20, 2014 at 2:59 PM, Antonio Goncalves < >>>> antonio.mailing at gmail.com> wrote: >>>> >>>>> +1 >>>>> >>>>> Antonio >>>>> >>>>> >>>>> 2014/1/16 Ivan St. Ivanov >>>>> >>>>>> Hi folks, >>>>>> >>>>>> With Forge 2 coming really soon, I think that it is time for our >>>>>> second Forge Hack Night. I still remember the first one: it was at the same >>>>>> time fun and success. >>>>>> >>>>>> Now I guess that a good theme for our next event could be Forge 1 >>>>>> plugins migration to Forge 2. It would be valuable for us, non-core >>>>>> contributors, to develop our first addons while having Lincoln, George, >>>>>> Koen or Vineet in the IRC channel. It would also be good for Forge to have >>>>>> a blast of good old plugins migrated. >>>>>> >>>>>> What do you think? >>>>>> >>>>>> Cheers, >>>>>> Ivan >>>>>> >>>>>> _______________________________________________ >>>>>> forge-dev mailing list >>>>>> forge-dev at lists.jboss.org >>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Antonio Goncalves >>>>> Software architect and Java Champion >>>>> >>>>> Web site | Twitter >>>>> | LinkedIn | Paris JUG >>>>> | Devoxx France >>>>> >>>>> _______________________________________________ >>>>> forge-dev mailing list >>>>> forge-dev at lists.jboss.org >>>>> https://lists.jboss.org/mailman/listinfo/forge-dev >>>>> >>>> >>>> >>>> >>>> -- >>>> Lincoln Baxter, III >>>> http://ocpsoft.org >>>> "Simpler is better." >>>> >>>> _______________________________________________ >>>> forge-dev mailing list >>>> forge-dev at lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/forge-dev >>>> >>> >>> >>> _______________________________________________ >>> forge-dev mailing list >>> forge-dev at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/forge-dev >>> >> >> >> >> -- >> Antonio Goncalves >> Software architect and Java Champion >> >> Web site | Twitter >> | LinkedIn | Paris JUG >> | Devoxx France >> > > > > -- > Antonio Goncalves > Software architect and Java Champion > > Web site | Twitter > | LinkedIn | Paris JUG > | Devoxx France > -- Antonio Goncalves Software architect and Java Champion Web site | Twitter | LinkedIn | Paris JUG | Devoxx France -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140206/d7d96e8a/attachment.html From lincolnbaxter at gmail.com Thu Feb 6 13:48:25 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Thu, 6 Feb 2014 13:48:25 -0500 Subject: [forge-dev] Forge Hack Night, 2nd ed. In-Reply-To: References: Message-ID: My recommendation is that people spend some time looking through JIRA and find issues they'd like to try to tackle, or that they think would be fun: https://issues.jboss.org/browse/FORGE-1167?jql=project%20%3D%20FORGE%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC Pick a few and come ready to hack! On Thu, Feb 6, 2014 at 12:29 PM, Antonio Goncalves < antonio.mailing at gmail.com> wrote: > Hi all, > > So it looks like we will be having 2 Hack Nights : 10th and 17th of Feb. > > This will be my first Hack Nights. Anything I would need to prepare ? My > plans are to attend both, do my best, and then blog about it (to encourage > people to join future events like that). So any tips/resources/link I could > check first would help. > > Antonio > > > 2014-01-22 21:06 GMT+01:00 Antonio Goncalves : > > There are several things I'd like to do with Forge : >> >> * being able to generate DAO/Service layers >> * scaffold REST/JSF based on these DAO/Service layers >> * add Form authentication with JASPIC and some authorization (e.g. only >> "admins" can delete data). >> >> So I'm really looking forward to understand more about the core of >> Forge... and a hacking session would really help a newbie like me >> >> Antonio >> >> >> 2014/1/21 Antonio Goncalves >> >>> Before ski season (21st of Feb) would be perfect for me ;o) >>> >>> >>> 2014/1/21 Ivan St. Ivanov >>> >>> Hey Lincoln, >>>> >>>> I don't mind if we do it any night after February 15th, as long it is >>>> Tuesday, Wednesday or Thursday :) >>>> >>>> Let's discuss this in details on tomorrow's meeting? >>>> >>>> Cheers, >>>> Ivan >>>> >>>> >>>> On Tue, Jan 21, 2014 at 3:35 AM, Lincoln Baxter, III < >>>> lincolnbaxter at gmail.com> wrote: >>>> >>>>> Hey Ivan, >>>>> >>>>> I think this is a great idea :) >>>>> >>>>> Maybe sometime next month? The week of the 17th, perhaps? When would >>>>> you like to run this event? >>>>> We should probably brainstorm some ideas to be worked on, like >>>>> migrating the Arquillian plugin, and a few other important ones. >>>>> >>>>> ~Lincoln >>>>> >>>>> >>>>> On Mon, Jan 20, 2014 at 2:59 PM, Antonio Goncalves < >>>>> antonio.mailing at gmail.com> wrote: >>>>> >>>>>> +1 >>>>>> >>>>>> Antonio >>>>>> >>>>>> >>>>>> 2014/1/16 Ivan St. Ivanov >>>>>> >>>>>>> Hi folks, >>>>>>> >>>>>>> With Forge 2 coming really soon, I think that it is time for our >>>>>>> second Forge Hack Night. I still remember the first one: it was at the same >>>>>>> time fun and success. >>>>>>> >>>>>>> Now I guess that a good theme for our next event could be Forge 1 >>>>>>> plugins migration to Forge 2. It would be valuable for us, non-core >>>>>>> contributors, to develop our first addons while having Lincoln, George, >>>>>>> Koen or Vineet in the IRC channel. It would also be good for Forge to have >>>>>>> a blast of good old plugins migrated. >>>>>>> >>>>>>> What do you think? >>>>>>> >>>>>>> Cheers, >>>>>>> Ivan >>>>>>> >>>>>>> _______________________________________________ >>>>>>> forge-dev mailing list >>>>>>> forge-dev at lists.jboss.org >>>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Antonio Goncalves >>>>>> Software architect and Java Champion >>>>>> >>>>>> Web site | Twitter >>>>>> | LinkedIn | Paris JUG >>>>>> | Devoxx France >>>>>> >>>>>> _______________________________________________ >>>>>> forge-dev mailing list >>>>>> forge-dev at lists.jboss.org >>>>>> https://lists.jboss.org/mailman/listinfo/forge-dev >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Lincoln Baxter, III >>>>> http://ocpsoft.org >>>>> "Simpler is better." >>>>> >>>>> _______________________________________________ >>>>> forge-dev mailing list >>>>> forge-dev at lists.jboss.org >>>>> https://lists.jboss.org/mailman/listinfo/forge-dev >>>>> >>>> >>>> >>>> _______________________________________________ >>>> forge-dev mailing list >>>> forge-dev at lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/forge-dev >>>> >>> >>> >>> >>> -- >>> Antonio Goncalves >>> Software architect and Java Champion >>> >>> Web site | Twitter >>> | LinkedIn | Paris JUG >>> | Devoxx France >>> >> >> >> >> -- >> Antonio Goncalves >> Software architect and Java Champion >> >> Web site | Twitter >> | LinkedIn | Paris JUG >> | Devoxx France >> > > > > -- > Antonio Goncalves > Software architect and Java Champion > > Web site | Twitter > | LinkedIn | Paris JUG > | Devoxx France > > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev > -- Lincoln Baxter, III http://ocpsoft.org "Simpler is better." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140206/2a087f2f/attachment-0001.html From ivan.st.ivanov at gmail.com Sun Feb 9 05:56:49 2014 From: ivan.st.ivanov at gmail.com (Ivan St. Ivanov) Date: Sun, 9 Feb 2014 12:56:49 +0200 Subject: [forge-dev] Executing processes in Forge 2 Message-ID: Hi everybody, I have a question about Forge 2. Is there a utility for executing external processes? In Forge 1 there was this: org.jboss.forge.shell.util.NativeSystemCall.execFromPath However, in Forge 2 it is hidden in the maven-impl project. There is something similar in org.jboss.forge.arquillian.util.NativeSystemCall. Is there a preferred way in Forge 2 to run external processes? Maybe every developer should write their own utility? Or maybe we could move the maven-impl implementation to Furnace (org.jboss.forge.furnace.util)? Cheers, Ivan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140209/2ef4769a/attachment.html From ggastald at redhat.com Sun Feb 9 07:50:02 2014 From: ggastald at redhat.com (George Gastaldi) Date: Sun, 9 Feb 2014 07:50:02 -0500 (EST) Subject: [forge-dev] Executing processes in Forge 2 In-Reply-To: References: Message-ID: <22C77AF0-DC54-47B4-8E49-8BF5401EAC92@redhat.com> Hi Ivan, Nice catch. Could you open a JIRA about this? I don't think Furnace should have this class, because it's not used in there. The dev-java-tools addon is a good candidate for it I guess. Thanks! > Em 09/02/2014, ?s 08:57, "Ivan St. Ivanov" escreveu: > > Hi everybody, > > I have a question about Forge 2. Is there a utility for executing external processes? > > In Forge 1 there was this: > org.jboss.forge.shell.util.NativeSystemCall.execFromPath > > However, in Forge 2 it is hidden in the maven-impl project. There is something similar in org.jboss.forge.arquillian.util.NativeSystemCall. > > Is there a preferred way in Forge 2 to run external processes? Maybe every developer should write their own utility? Or maybe we could move the maven-impl implementation to Furnace (org.jboss.forge.furnace.util)? > > Cheers, > Ivan > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev From ivan.st.ivanov at gmail.com Sun Feb 9 11:20:03 2014 From: ivan.st.ivanov at gmail.com (Ivan St. Ivanov) Date: Sun, 9 Feb 2014 18:20:03 +0200 Subject: [forge-dev] Executing processes in Forge 2 In-Reply-To: <22C77AF0-DC54-47B4-8E49-8BF5401EAC92@redhat.com> References: <22C77AF0-DC54-47B4-8E49-8BF5401EAC92@redhat.com> Message-ID: Hi George, Here it is: https://issues.jboss.org/browse/FORGE-1564 I thought of the furnace project as I found in the org.jboss.forge.furnace.util package the class OperatingSystemUtils, which shared the same package with NativeSystemCall in Forge 1. But you know that better than me :) Cheers, Ivan On Sun, Feb 9, 2014 at 2:50 PM, George Gastaldi wrote: > Hi Ivan, > > Nice catch. Could you open a JIRA about this? I don't think Furnace should > have this class, because it's not used in there. The dev-java-tools addon > is a good candidate for it I guess. > > Thanks! > > > Em 09/02/2014, ?s 08:57, "Ivan St. Ivanov" > escreveu: > > > > Hi everybody, > > > > I have a question about Forge 2. Is there a utility for executing > external processes? > > > > In Forge 1 there was this: > > org.jboss.forge.shell.util.NativeSystemCall.execFromPath > > > > However, in Forge 2 it is hidden in the maven-impl project. There is > something similar in org.jboss.forge.arquillian.util.NativeSystemCall. > > > > Is there a preferred way in Forge 2 to run external processes? Maybe > every developer should write their own utility? Or maybe we could move the > maven-impl implementation to Furnace (org.jboss.forge.furnace.util)? > > > > Cheers, > > Ivan > > _______________________________________________ > > forge-dev mailing list > > forge-dev at lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/forge-dev > > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140209/51f84c35/attachment.html From fruehbeck at aon.at Sun Feb 9 19:28:44 2014 From: fruehbeck at aon.at (=?UTF-8?B?VGhvbWFzIEZyw7xoYmVjaw==?=) Date: Mon, 10 Feb 2014 01:28:44 +0100 Subject: [forge-dev] angular scaffold: parent/child relationship issues Message-ID: <52F81D3C.20106@aon.at> Hi, I wanted to work with AngularJS scaffold in Forge and ask for your help. With Forge2, I did not find the way to install the angularjs-scaffold-x as addon/plugin. Is there some guidance available on how to use oldstyle plugins as addons? Stepping back to Forge 1.4 I successfully created a simple parent/child application. On deployment on Wildfly 8.0.0 CR1 I found following issues: Setup: I created a parent and then a child, the child referencing the parent. Issue 1: - w/o any modifications I got a StackOverflowError in org.codehaus.jackson.map.ser.BeanSerializer because infinite loop between parent/child My solution was to: - import org.codehaus.jackson/jackson-jaxrs maven dependency (because this is, what Wildfly seems to use per default) - add @JsonManagedReference/@JsonBackReference on the parent.children and child.parent properties resp. Is there some simpler/more obvious fix for the problem? In Fasterxml Jackson 2.x there is a @JsonIdentityInfo, could this be a way to solve the issue? I seem to be unable to activate Fasterxml.Jackson on Wildfly :-/ Issue 2: - by above @JsonBackReference the child.parent property was not serialized and so the reference did not show up as selected in the parents options > > My solution was to rewrite the EditChildController to check for > parent.id from the parents side (because child.parent is empty): > > for (var idx=0; idx < item.children.length; idx++) { > if (item.children[idx].id === $scope.child.id) { > $scope.parentSelection = labelObject; > $scope.child.parent = wrappedObject; > } > } > > Original code: > if($scope.child.parent && item.id == > $scope.child.parent.id) { > $scope.parentSelection = labelObject; > $scope.child.parent = wrappedObject; > self.original.parent = $scope.child.parent; > } > > Again I ask for your expertise, if this is a problem I introduced by > misusing @JsonBackReference or if this needs a fix in the scaffold. > > Thank you for your great work on Forge and this incredible AngularJS > plugin :-) > > Thomas > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140210/03fb8f4d/attachment.html From sblanc at redhat.com Mon Feb 10 01:35:33 2014 From: sblanc at redhat.com (Sebastien Blanc) Date: Mon, 10 Feb 2014 07:35:33 +0100 Subject: [forge-dev] New Scaffolds In-Reply-To: <851B51B9-2B81-4BD2-B461-032FA739E88A@redhat.com> References: <851B51B9-2B81-4BD2-B461-032FA739E88A@redhat.com> Message-ID: <52F87335.9000902@redhat.com> On 02/10/2014 03:12 AM, George Gastaldi wrote: > Hi everyone, > > I noticed an increasing demand in the scaffold usage (custom architectures, technologies,etc). I was thinking that it would be nice if we had a "Scaffold Project" type (similar to a maven archetype) allowing the creation of an addon project with available extension points to the scaffold addon. > What do you guys think about it? > > Best Regards, > > George > _______________________________________________ > forge-dev mailing list > forge-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-dev +1 Sounds good We had some interesting discussions around this with Vineet last week during JUDCon From vpereira at redhat.com Mon Feb 10 04:42:32 2014 From: vpereira at redhat.com (Vineet Reynolds Pereira) Date: Mon, 10 Feb 2014 04:42:32 -0500 (EST) Subject: [forge-dev] angular scaffold: parent/child relationship issues In-Reply-To: <52F81D3C.20106@aon.at> References: <52F81D3C.20106@aon.at> Message-ID: <917370087.382587.1392025352900.JavaMail.zimbra@redhat.com> Hi Thomas, I've just started working on the AngularJS scaffold. But before that, I'd have to complete a test harness that could be used in the addon tests. About the cyclic and bi-di issues, we've attempted to resolve that via a mapping layer, instead of relying on @JsonIdentityInfo, @JsonManagedReference, @JsonBackReference, @XMLID, @XMLIDREF or similar such annotations. I recommend the mapping layer, because you can flatten/de-normalize relationships at the mapping layer in a manner you desire. What I've found from using most of these annotations is that while they resolve the serialization problem, they're not very useful to clients. Some like @JSONIdentityInfo require more work to be done in the client-side because clients simply do not understand the 'non-standardized' object referencing scheme invented by Jackson. In Forge, to create a REST resource that employs a mapping layer, use the DTO based REST resource generator, like so (in Forge 2): [demo]$ rest-generate-endpoints-from-entities --generator ROOT_AND_NESTED_DTO ... The generated layer is a bit crude at the moment - in the future we hope to have the mapping layer depend on a separate persistence layer. This isn't to say that you must not use such annotations. It just so happens that if you want to expose JPA entities as REST resources, handling relationships and proxied attributes like collections is not easy. You could use the annotations to construct the REST resource, but there are chances that you might not obey certain rules in REST like allowing modifications to the REST resources using a single representation. You may have to construct multiple resource representations for the same JPA entity - one for GET (so clients can obtain the JPA entity) and another for PUT/PATCH (to modify the JPA entity and/or it's relationships). If it so happens that using annotations is more pragmatic, then by all means use it. But if your concerns include the need to have consistent resource representations for JPA entities that also allow modifications to the entities via the same representation, then a mapping layer is probably the best option. You can find notes on them, in the links listed below. Feel free to fire any more queries. 1. https://gist.github.com/VineetReynolds/5108580 2. https://gist.github.com/VineetReynolds/5524706 Vineet ----- Original Message ----- > From: "Thomas Fr?hbeck" > To: "forge-dev List" > Sent: Monday, February 10, 2014 5:58:44 AM > Subject: [forge-dev] angular scaffold: parent/child relationship issues > > Hi, > I wanted to work with AngularJS scaffold in Forge and ask for your help. > > With Forge2, I did not find the way to install the angularjs-scaffold-x > as addon/plugin. > Is there some guidance available on how to use oldstyle plugins as addons? > > Stepping back to Forge 1.4 I successfully created a simple parent/child > application. > On deployment on Wildfly 8.0.0 CR1 I found following issues: > > Setup: I created a parent and then a child, the child referencing the > parent. > > Issue 1: > - w/o any modifications I got a StackOverflowError in > org.codehaus.jackson.map.ser.BeanSerializer because infinite loop > between parent/child > > My solution was to: > - import org.codehaus.jackson/jackson-jaxrs maven dependency > (because this is, what Wildfly seems to use per default) > - add @JsonManagedReference/@JsonBackReference on the > parent.children and child.parent properties resp. > > Is there some simpler/more obvious fix for the problem? > > In Fasterxml Jackson 2.x there is a @JsonIdentityInfo, could this be a > way to solve the issue? > I seem to be unable to activate Fasterxml.Jackson on Wildfly :-/ > > Issue 2: > - by above @JsonBackReference the child.parent property was not > serialized and so the reference did not show up as selected in the > parents