[forge-dev] Regarding Errai and JBoss Plugin

Luca Masini luca.masini.mailing.list at gmail.com
Wed Oct 17 08:44:46 EDT 2012


Sure, I'll show also REST and jboss-as7 plugin !!!

I hope to have time to show some scaffolding after the talk to who is
interested in working with forge.

Thank you.

2012/10/17 Lincoln Baxter, III <lincolnbaxter at gmail.com>

> You could always show some other features of forge (like scaffolding,
> REST, or some of the plugins from the central repository :)
>
> Cheers!
> ~Lincoln
>
>
> On Wed, Oct 17, 2012 at 6:18 AM, Luca Masini <
> luca.masini.mailing.list at gmail.com> wrote:
>
>> Thank you Lincoln, I will try your enhancement to the plugin and after
>> the presentation I'll contact the developers, may be I'll open some issue.
>>
>> As far as now I decided to show forge that create the project, that
>> introduce the errai facet and the errai-cdi example, but then I'll stop
>> there will live example and I'll show an old style presentation with screen
>> shot and code embedded.
>>
>> I hope this will not be too annoying to the audience (as far as now we
>> have 150 developers signed for the Dev Fest).
>>
>> Ciao.
>> L.
>>
>> 2012/10/16 Lincoln Baxter, III <lincolnbaxter at gmail.com>
>>
>> Hi Luca, my comments are inline.
>>>
>>> It sounds like you need to get in touch with the authors of these
>>> plugins and see if you can get some enhancements made (or submit some pull
>>> requests with enhancements yourself.)
>>>
>>> As far as your presentation goes, I would just try to figure out what is
>>> and is not ready to be shown. It seems like you have identified a number of
>>> things that might cause problems during your talk, so you might want to
>>> decide if you feel comfortable presenting them or not. If you think you can
>>> improve and solve these issues before your presentation, that is another
>>> option :) It's up to you. There is no good or bad path for a presentation;
>>> there is only what you feel will be good or not, and what you want to show
>>> people!
>>>
>>> Try the Errai plugin again BTW. I just merged a long-standing pull
>>> request that incremented a bunch of versions and fixed a few things.
>>>
>>> See below...
>>>
>>> On Tue, Oct 16, 2012 at 4:11 AM, Luca Masini <luca.masini at gmail.com>wrote:
>>>
>>>> Hi guys, I'm writing this because this friday I'll talk about forge and
>>>> errai-plugin and I'm getting some trouble.
>>>>
>>>> I try to synthesize in few words:
>>>>
>>>> 1) errai-plugin: the generated web.xml is is configured for jetty and
>>>> doesn't work on JBoss AS 7 (my presentation target) and I needed to remove
>>>> everything but the DefaultBlockingServlet mapping
>>>>
>>>
>>> Sounds like this will need to be improved. You could submit a pull
>>> request with your enhancements, or with with the developer to get it fixed,
>>> depending on your time-frame.
>>>
>>>
>>>> 2) errai-plugin: pom.xml reference a SNAPSHOT version of errai instead
>>>> of 2.1.0.FINAL (I think this is due to the fact is a CR1)
>>>>
>>>
>>> Pull request? Contact developer.
>>>
>>>
>>>> 3) errai-plugin: generated pom.xml has wrong version and a bad
>>>> dependency ("org.jboss.weld.servlet:weld-se:1.1.6.Final" instead of
>>>> org.jboss.weld.servlet:weld-servlet:1.1.6.Final !)
>>>>
>>>
>>> Pull request? Contact developer.
>>>
>>>
>>>> 4) errai-plugin: if I install CDI and then I install JAXRS the pom.xml
>>>> is modified but not the App.gwt.xml file !! Had to modify by hand (with
>>>> strange errors indeed)
>>>>
>>>
>>> How did you install JAX-RS? I'm not sure what you used to do this, so I
>>> can't really comment, but if it's the errai-plugin, then I'm guessing it
>>> would need to be patched.
>>>
>>>
>>>> 5) jboss-plugin: here the fact is quite involved. I have many heap and
>>>> perm gen (on 64bit JVM) memory problems, so I looked for a way to configure
>>>> memory. I saw the plugin has a jvmArgs property but this is never read or
>>>> written. I had to modify it into the plugin itself.
>>>>
>>>
>>> Pull request and let me know when it's ready :)
>>>
>>>
>>>> 6) eclipse forge plugin: there no way to increase memory for the forked
>>>> forge. Default memory is enough in all situation but when I deploy on JBoss
>>>> AS7, from time to time I receive OOM errors and I have to kill AS7 and
>>>> restart forge
>>>>
>>>
>>> Sounds like the Forge Eclipse integration needs a bit of work to allow
>>> passing JVM args for memory. I've put an issue in for this:
>>>
>>>  https://issues.jboss.org/browse/JBIDE-12865
>>>
>>>
>>>> Am I doing something wrong ?? Do you think I'm following a bad road for
>>>> my presentation ??
>>>>
>>>> Thank you guys.
>>>>
>>>>
>>>>
>>>> --
>>>> ****************************************
>>>> http://www.lucamasini.net
>>>> http://twitter.com/lmasini
>>>> http://www.linkedin.com/pub/luca-masini/7/10/2b9
>>>> ****************************************
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>
>>
>> --
>> ****************************************
>> http://www.lucamasini.net
>> http://twitter.com/lmasini
>> http://www.linkedin.com/pub/luca-masini/7/10/2b9
>> ****************************************
>>
>> _______________________________________________
>> 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
>
>


-- 
****************************************
http://www.lucamasini.net
http://twitter.com/lmasini
http://www.linkedin.com/pub/luca-masini/7/10/2b9
****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20121017/04816d23/attachment.html 


More information about the forge-dev mailing list