From antonio.mailing at gmail.com Sat Feb 7 11:28:23 2015 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Sat, 7 Feb 2015 17:28:23 +0100 Subject: [forge-users] problem with JBoss AS add on In-Reply-To: References: Message-ID: Looks like the plugin has just been updated : https://issues.jboss.org/browse/FORGEPLUGINS-162 Antonio 2015-01-26 12:28 GMT+01:00 Paul Keogh : > Hi, > > I am trying to run the command; > > addon-install-from-git --url https://github.com/jerr/jboss-as-addon.git > > and I get an output of; > > ***INFO*** Installing Addon from Git:Removing previous addon installation > (org.jboss.forge.addon:jboss-as-parent,2.0.0-SNAPSHOT) [2/4] ... > ***INFO*** Installing Addon from Git:Installing addon > (org.jboss.forge.addon:jboss-as-parent,2.0.0-SNAPSHOT) [3/4] ... > ***ERROR*** Addon org.jboss.forge.addon:jboss-as-parent,2.0.0-SNAPSHOT > could not be installed: > org.eclipse.aether.resolution.DependencyResolutionException: Failure to > find org.jboss.forge.addon:jboss-as-parent:jar:forge-addon:2.0.0-SNAPSHOT > in http://repo1.maven.org/maven2 was cached in the local repository, > resolution will not be reattempted until the update interval of central has > elapsed or updates are forced > > Building on JBDS 8.0.2, Maven 3.2.1 > > Any ideas ? > > Thanks, > > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users > -- 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-users/attachments/20150207/1133901a/attachment.html From antonio.mailing at gmail.com Sat Feb 7 11:33:12 2015 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Sat, 7 Feb 2015 17:33:12 +0100 Subject: [forge-users] Command faces-set-project-stage is missing in 2.14.0 Message-ID: Hi all, I'm pretty sure there was a faces-set-project-stage. No ? There are several JIRAs about this : https://issues.jboss.org/browse/FORGE-1812 https://issues.jboss.org/browse/FORGE-1173 https://issues.jboss.org/browse/FORGE-1529 When I do a faces-setup, I then end up with the following commands : faces-new-bean faces-new-converter faces-new-validator faces-new-validator-method faces-setup Am I missing something... or is the command missing ? Thanks -- 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-users/attachments/20150207/3a1919c2/attachment-0001.html From antonio.goncalves at gmail.com Sat Feb 7 16:52:12 2015 From: antonio.goncalves at gmail.com (Antonio Goncalves) Date: Sat, 7 Feb 2015 22:52:12 +0100 Subject: [forge-users] Command faces-set-project-stage is missing in 2.14.0 Message-ID: Hi all, I'm pretty sure there was a faces-set-project-stage. No ? There are several JIRAs about this : https://issues.jboss.org/browse/FORGE-1812 https://issues.jboss.org/browse/FORGE-1173 https://issues.jboss.org/browse/FORGE-1529 When I do a faces-setup, I then end up with the following commands : faces-new-bean faces-new-converter faces-new-validator faces-new-validator-method faces-setup Am I missing something... or is the command missing ? Thanks -- 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-users/attachments/20150207/43827c3f/attachment.html From forge-users at lists.jboss.org Tue Feb 10 13:32:19 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 10 Feb 2015 13:32:19 EST Subject: [forge-users] sometimes forge command is not visible in both windows and linux environments Message-ID: <1871000066.811423593169591.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> I am trying to create a forge addon.My environment is linux.I built the project with maven and then i installed the addon.Lets say my command is "abc".Forge addon installation went successful.So now when i try Crtl+Alt+4(my IDE is IntelliJ)i can see "abc" command in the list of my commands.Well this makes sense as this is obviously expected one.But when i makes some changes again in my file and then build and install ,then try Ctrl+Alt+4 now i cant see any "abc" command.There are no errors in log.And this issue cant be reproduced every single time.Did someone faced issue like this before. Posted by forums Original post: https://developer.jboss.org/message/918387#918387 From forge-users at lists.jboss.org Tue Feb 10 13:35:39 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 10 Feb 2015 13:35:39 EST Subject: [forge-users] forge is great but... In-Reply-To: <1288914775.731418312270816.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1727549276.821423593369327.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> George. Beautifully explained Thank you!I had the same doubts. Posted by forums Original post: https://developer.jboss.org/message/918388#918388 From forge-users at lists.jboss.org Wed Feb 11 01:14:28 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Wed, 11 Feb 2015 01:14:28 EST Subject: [forge-users] How to install a plugin in maven Message-ID: <1547901215.831423635298192.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello, I am trying to install a plugin in maven.So the end application is updating pom.xml something like ++ +br.com.ingenieux+ +? jbake-maven-plugin+ +? + +? + +? default-generate+ +? generate-resources+ +? + +? generate+ +? + +????????? + +? + +? + Now i have written code for this +Coordinate compiler =? CoordinateBuilder.create("br.com.ingenieux:jbake-maven-plugin");+ +MavenPluginBuilder builder = MavenPluginBuilder.create().setCoordinate(compiler).addExecution(ExecutionBuilder.create().setPhase("default-generate").setPhase("generate-resources").addGoal("generate"));+ +Plugin plugin = new MavenPluginAdapter(builder);+ But when i run this command the pom.xml is not updated.I know i have only constructed plugin object.Is there any way to install this just like how we use DependencyInstaller for installing dependecies. Posted by forums Original post: https://developer.jboss.org/message/918425#918425 From forge-users at lists.jboss.org Wed Feb 11 12:24:08 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Wed, 11 Feb 2015 12:24:08 EST Subject: [forge-users] Checking if a class is final from JavaClassSource Message-ID: <1319784255.861423675478248.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, maybe a dummy question, but I didn't find the way to check is a class is final, using JavaClassSource object ? I need to check if, and remove final modifier if found. Thanx for your help Ludo Posted by forums Original post: https://developer.jboss.org/message/918504#918504 From ggastald at redhat.com Wed Feb 11 12:26:06 2015 From: ggastald at redhat.com (George Gastaldi) Date: Wed, 11 Feb 2015 12:26:06 -0500 (EST) Subject: [forge-users] Checking if a class is final from JavaClassSource In-Reply-To: <1319784255.861423675478248.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1319784255.861423675478248.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <97B8967B-BB27-4E2D-AEA5-647E6342B2A0@redhat.com> Tried JavaClassSource.setFinal(false)? > Em 11/02/2015, ?s 15:24, forge-users at lists.jboss.org escreveu: > > Hi, > > maybe a dummy question, but I didn't find the way to check is a class is final, using JavaClassSource object ? > > I need to check if, and remove final modifier if found. > > Thanx for your help > Ludo > > Posted by forums > Original post: https://developer.jboss.org/message/918504#918504 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From lincolnbaxter at gmail.com Wed Feb 11 17:33:01 2015 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Wed, 11 Feb 2015 17:33:01 -0500 Subject: [forge-users] Checking if a class is final from JavaClassSource In-Reply-To: <97B8967B-BB27-4E2D-AEA5-647E6342B2A0@redhat.com> References: <1319784255.861423675478248.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> <97B8967B-BB27-4E2D-AEA5-647E6342B2A0@redhat.com> Message-ID: George, That method does not appear to exist. It looks like we are missing a feature. In the mean time, Ludo, you can call .toString() on the JavaClassSource object and check for the final modifier before the first instance of the type name: if(source.toString().matches("^.*final(? wrote: > Tried JavaClassSource.setFinal(false)? > > > > > Em 11/02/2015, ?s 15:24, forge-users at lists.jboss.org escreveu: > > > > Hi, > > > > maybe a dummy question, but I didn't find the way to check is a class is > final, using JavaClassSource object ? > > > > I need to check if, and remove final modifier if found. > > > > Thanx for your help > > Ludo > > > > Posted by forums > > Original post: https://developer.jboss.org/message/918504#918504 > > _______________________________________________ > > forge-users mailing list > > forge-users at lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/forge-users > > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users > -- Lincoln Baxter, III http://ocpsoft.org "Simpler is better." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-users/attachments/20150211/fb2275fa/attachment.html From ggastald at redhat.com Wed Feb 11 17:42:54 2015 From: ggastald at redhat.com (George Gastaldi) Date: Wed, 11 Feb 2015 17:42:54 -0500 (EST) Subject: [forge-users] Checking if a class is final from JavaClassSource In-Reply-To: References: <1319784255.861423675478248.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> <97B8967B-BB27-4E2D-AEA5-647E6342B2A0@redhat.com> Message-ID: Oh, my apologies, I could swear that method existed. I'll open a JIRA and get this done asap. Thanks > Em 11/02/2015, ?s 20:33, Lincoln Baxter, III escreveu: > > George, > > That method does not appear to exist. It looks like we are missing a feature. > > In the mean time, Ludo, you can call .toString() on the JavaClassSource object and check for the final modifier before the first instance of the type name: > > if(source.toString().matches("^.*final(? > Something like that should work. > > ~Lincoln > >> On Wed, Feb 11, 2015 at 12:26 PM, George Gastaldi wrote: >> Tried JavaClassSource.setFinal(false)? >> >> >> >> > Em 11/02/2015, ?s 15:24, forge-users at lists.jboss.org escreveu: >> > >> > Hi, >> > >> > maybe a dummy question, but I didn't find the way to check is a class is final, using JavaClassSource object ? >> > >> > I need to check if, and remove final modifier if found. >> > >> > Thanx for your help >> > Ludo >> > >> > Posted by forums >> > Original post: https://developer.jboss.org/message/918504#918504 >> > _______________________________________________ >> > forge-users mailing list >> > forge-users at lists.jboss.org >> > https://lists.jboss.org/mailman/listinfo/forge-users >> >> _______________________________________________ >> forge-users mailing list >> forge-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/forge-users > > > > -- > Lincoln Baxter, III > http://ocpsoft.org > "Simpler is better." > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-users/attachments/20150211/6f4e6a3b/attachment-0001.html From ggastald at redhat.com Wed Feb 11 18:45:57 2015 From: ggastald at redhat.com (George Gastaldi) Date: Wed, 11 Feb 2015 18:45:57 -0500 (EST) Subject: [forge-users] Checking if a class is final from JavaClassSource In-Reply-To: References: <1319784255.861423675478248.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> <97B8967B-BB27-4E2D-AEA5-647E6342B2A0@redhat.com> Message-ID: I created https://issues.jboss.org/browse/ROASTER-60 for this feature. Stay tuned for updates. > Em 11/02/2015, ?s 20:43, George Gastaldi escreveu: > > Oh, my apologies, I could swear that method existed. I'll open a JIRA and get this done asap. > > Thanks > > > >> Em 11/02/2015, ?s 20:33, Lincoln Baxter, III escreveu: >> >> George, >> >> That method does not appear to exist. It looks like we are missing a feature. >> >> In the mean time, Ludo, you can call .toString() on the JavaClassSource object and check for the final modifier before the first instance of the type name: >> >> if(source.toString().matches("^.*final(?> >> Something like that should work. >> >> ~Lincoln >> >>> On Wed, Feb 11, 2015 at 12:26 PM, George Gastaldi wrote: >>> Tried JavaClassSource.setFinal(false)? >>> >>> >>> >>> > Em 11/02/2015, ?s 15:24, forge-users at lists.jboss.org escreveu: >>> > >>> > Hi, >>> > >>> > maybe a dummy question, but I didn't find the way to check is a class is final, using JavaClassSource object ? >>> > >>> > I need to check if, and remove final modifier if found. >>> > >>> > Thanx for your help >>> > Ludo >>> > >>> > Posted by forums >>> > Original post: https://developer.jboss.org/message/918504#918504 >>> > _______________________________________________ >>> > forge-users mailing list >>> > forge-users at lists.jboss.org >>> > https://lists.jboss.org/mailman/listinfo/forge-users >>> >>> _______________________________________________ >>> forge-users mailing list >>> forge-users at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/forge-users >> >> >> >> -- >> Lincoln Baxter, III >> http://ocpsoft.org >> "Simpler is better." >> _______________________________________________ >> forge-users mailing list >> forge-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/forge-users > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-users/attachments/20150211/40854df2/attachment.html From forge-users at lists.jboss.org Wed Feb 11 21:48:27 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Wed, 11 Feb 2015 21:48:27 EST Subject: [forge-users] Checking if a class is final from JavaClassSource In-Reply-To: <1319784255.861423675478248.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <778046959.871423709337660.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello, I implemented this feature and it is now available in the master branch. Could you please try with the 2.12.1-SNAPSHOT version? If you are unable to find this version, please clone the sources from forge/roaster ? GitHub (https://github.com/forge/roaster) and do a mvn clean install to build locally. Thank you very much for your feedback! George Gastaldi Posted by forums Original post: https://developer.jboss.org/message/918551#918551 From forge-users at lists.jboss.org Thu Feb 12 01:55:57 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 12 Feb 2015 01:55:57 EST Subject: [forge-users] Checking if a class is final from JavaClassSource In-Reply-To: <778046959.871423709337660.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1525498522.881423724187506.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Sounds great, I will test just right now, and give you a feedback. Thanks for the quick fix Ludovic Bertin Posted by forums Original post: https://developer.jboss.org/message/918560#918560 From forge-users at lists.jboss.org Thu Feb 12 03:15:05 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 12 Feb 2015 03:15:05 EST Subject: [forge-users] Checking if a class is final from JavaClassSource In-Reply-To: <1525498522.881423724187506.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1788333420.891423728935733.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> It rocks! You're wonderful ! Thanx. Ludovic Bertin Posted by forums Original post: https://developer.jboss.org/message/918573#918573 From forge-users at lists.jboss.org Mon Feb 16 12:47:42 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 16 Feb 2015 12:47:42 EST Subject: [forge-users] sometimes forge command is not visible in both windows and linux environments In-Reply-To: <1871000066.811423593169591.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <57951092.971424108892563.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, I have a workaround I found in another post. Exit forge, edit ~/.forge/addons/installed.xml? , remove the line of your addon remove the directory of your addon in ~/.forge/addons/ redo addon-build-and-install Also, be sure to use the same version of Forge in shell & ide Posted by forums Original post: https://developer.jboss.org/message/918939#918939 From forge-users at lists.jboss.org Mon Feb 16 13:07:24 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 16 Feb 2015 13:07:24 EST Subject: [forge-users] Using template files from Jar Message-ID: <1687535705.981424110074886.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, I am trying to use a template I put in src/main/resources BTW,? First, it was not included in the addon Jar built :/ I had to modify the pom like this ** *??? * *?????? ${basedir}/src/main/resources* *???? * *? * ? ProjectName to have it included. Now, I am trying to use it but how do I get a FileResource from the name of a file in the jar ? I tried several options like But I get an error message saying the file does not exist as the path included is wrong BUT the file object within the FileResource is ok The wrong path is prefixed with the project root ! So it looks like??? java.lang.IllegalArgumentException: Template does not exist: d:\projects\myproject\*file:\C:\Users\Me\.forge*\addons\\fr-company-addons-ADDONS213b-1-0-1-SNAPSHOT\ADDONS213b-1.0.1-SNAPSHOT-forge-addon.jar!\voila.txt In the debugger this is the value displayed for the fileresource I create (its toString I presume) although the toString of its file attribute is correct. | | | URL voilaURL = getClass().getClassLoader().getResource("voila.txt"); File f = new File(voilaURL.getFile()) ; FileResource resource = ressfactory.create( f).reify(FileResource.class); // KO FileResource resource =? rfactory.create(new File(voilaURL.toURI()) ).reify(FileResource.class); // KO | I'm using version2.13.1 Final Any idea ? Thanks Posted by forums Original post: https://developer.jboss.org/message/918940#918940 From forge-users at lists.jboss.org Mon Feb 16 13:16:33 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 16 Feb 2015 13:16:33 EST Subject: [forge-users] Using template files from Jar In-Reply-To: <1687535705.981424110074886.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <2073272782.991424110623700.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Same behaviour with 2.14 Posted by forums Original post: https://developer.jboss.org/message/918942#918942 From ggastald at redhat.com Mon Feb 16 13:19:34 2015 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 16 Feb 2015 16:19:34 -0200 Subject: [forge-users] Using template files from Jar In-Reply-To: <1687535705.981424110074886.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1687535705.981424110074886.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <54E234B6.6090800@redhat.com> Hi Jerome, Add your resources in the same folder structure as the Java class that will consume it and use getClass().getResource() to retrieve a URL instance out of it: URL url = getClass().getResource("voila.txt"); Resource resource = resourceFactory.create(url); Tip: Using FileResource directly in your addon is a bad practice, as it relies on the physical file. The best would be to use Resource. This makes your code unaware of the resource location. Best Regards, George Gastaldi On 02/16/2015 04:07 PM, forge-users at lists.jboss.org wrote: > Hi, > > I am trying to use a template I put in src/main/resources > > BTW, First, it was not included in the addon Jar built :/ > I had to modify the pom like this > > > ** > * * > * ${basedir}/src/main/resources* > * * > * * > ProjectName > > to have it included. > > > Now, I am trying to use it but how do I get a FileResource from the name of a file in the jar ? > I tried several options like > > But I get an error message saying the file does not exist as the path included is wrong > BUT the file object within the FileResource is ok > > The wrong path is prefixed with the project root ! > So it looks like > > java.lang.IllegalArgumentException: Template does not exist: d:\projects\myproject\*file:\C:\Users\Me\.forge*\addons\\fr-company-addons-ADDONS213b-1-0-1-SNAPSHOT\ADDONS213b-1.0.1-SNAPSHOT-forge-addon.jar!\voila.txt > > In the debugger this is the value displayed for the fileresource I create (its toString I presume) although the toString of its file attribute is correct. > > | | | URL voilaURL = getClass().getClassLoader().getResource("voila.txt"); > File f = new File(voilaURL.getFile()) ; > FileResource resource = ressfactory.create( f).reify(FileResource.class); // KO > FileResource resource = rfactory.create(new File(voilaURL.toURI()) ).reify(FileResource.class); // KO | > > I'm using version2.13.1 Final > > Any idea ? > > Thanks > > Posted by forums > Original post: https://developer.jboss.org/message/918940#918940 > > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From forge-users at lists.jboss.org Mon Feb 16 13:26:12 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 16 Feb 2015 13:26:12 EST Subject: [forge-users] Using template files from Jar In-Reply-To: <1687535705.981424110074886.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1238235616.1001424111202403.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Jerome, Add your resources in the same folder structure as the Java class that will consume it and use getClass().getResource() to retrieve a URL instance out of it: {quote:class=jive_text_macro jive_macro_quote} URL url = getClass().getResource("voila.txt"); Resource resource = resourceFactory.create(url); {quote} Tip: Using FileResource directly in your addon is a bad practice, as it relies on the physical file. The best would be to use Resource. This makes your code unaware of the resource location. Best Regards, George Gastaldi Posted by forums Original post: https://developer.jboss.org/message/918944#918944 From forge-users at lists.jboss.org Tue Feb 17 05:36:28 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 17 Feb 2015 05:36:28 EST Subject: [forge-users] Using template files from Jar In-Reply-To: <1238235616.1001424111202403.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <900165741.1021424169418661.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello George, Thank you Indeed there is no need to use File or FileResource even if its a file after all (I'm a disciple of intuitive programming {emoticon:class=jive_macro jive_emote|src=https://static.jboss.org/developer/6.0.3.60ddddd/images/emoticons/happy.png|__jive_emoticon_name=happy} ). That leads to a problem (project root appended before an ok full file path).? (should I create a TestCase ?) Unfortunately, Resource templateResource = rfactory.create(getClass().getResource("voila.txt")); ? brings null in templateResource although this syntax is used in the angular-js addon for example (FreemarkerClientTest.java) For future reference, a working code is : | | | Resource templateResource = rfactory.create(getClass().getClassLoader().getResource("voila.txt")); | | | | Template template = tfactory.create(templateResource, FreemarkerTemplate.class); | I'm using Java 7.0.40 on w7 64 and it works on my machine, today {emoticon:class=jive_macro jive_emote|src=https://static.jboss.org/developer/6.0.3.60ddddd/images/emoticons/happy.png|__jive_emoticon_name=happy} As I plan to have a quantity of templates I prefer to put them in resources, separated from java sources. I'll file an improvement request about that because what's the point of having the maven tree if a part of it is not used by default. Cheers, Jerome Posted by forums Original post: https://developer.jboss.org/message/918971#918971 From forge-users at lists.jboss.org Thu Feb 19 02:50:31 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 19 Feb 2015 02:50:31 EST Subject: [forge-users] Jboss Forge scaffolding using JSF: is the number of search criteria limited ? Message-ID: <1923974949.1051424332261719.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> When scaffolding using Jboss Forge + Faces, is the number of search criteria limited to five ? I mean if an entity has more than five fields, I noticed that only five of them are used as search criteria in search.xml.. Thank you. Posted by forums Original post: https://developer.jboss.org/message/919178#919178 From forge-users at lists.jboss.org Fri Feb 20 04:23:46 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 20 Feb 2015 04:23:46 EST Subject: [forge-users] org.jboss.forge.furnace.exception.ContainerException Message-ID: <1423693439.1091424424273812.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello, ? I'm using JBDS8.0.2.GA with JBoss Forge 2.13.0.Final plugin installed. After installing windup-2.1.0.Final add-ons through Forge and re-starting JBDS, the following exception is thrown: org.jboss.forge.furnace.exception.ContainerException: No services of type [org.jboss.forge.addon.convert.ConverterFactory] could be found in any started addons Attached to this discussion are:?? 1)? jbds log file that captures the stacktrace at startup?? 2) forge installed.xml any ideas ? thanks.? jeff Posted by forums Original post: https://developer.jboss.org/message/919426#919426 -------------- next part -------------- A non-text attachment was scrubbed... Name: jbds.log.zip Type: application/zip Size: 2067 bytes Desc: not available Url : http://lists.jboss.org/pipermail/forge-users/attachments/20150220/44d08bf0/attachment.zip -------------- next part -------------- A non-text attachment was scrubbed... Name: installed.xml Type: text/xml Size: 2571 bytes Desc: not available Url : http://lists.jboss.org/pipermail/forge-users/attachments/20150220/44d08bf0/attachment.xml From forge-users at lists.jboss.org Fri Feb 20 06:34:23 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 20 Feb 2015 06:34:23 EST Subject: [forge-users] Jboss Forge scaffolding using JSF: is the number of search criteria limited ? In-Reply-To: <1923974949.1051424332261719.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <905082396.1111424432093908.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Has nobody else faced above issue ? I tried with Forge 2.13.0, but the same. Thank you. Posted by forums Original post: https://developer.jboss.org/message/919437#919437 From danielsoro at gmail.com Fri Feb 20 06:45:20 2015 From: danielsoro at gmail.com (Daniel Cunha) Date: Fri, 20 Feb 2015 08:45:20 -0300 Subject: [forge-users] org.jboss.forge.furnace.exception.ContainerException In-Reply-To: <1423693439.1091424424273812.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1423693439.1091424424273812.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Hi Jeff, Well.. Windup 2.1.0.Final run with Forge 2.14.0.Final I don't know, but, maybe some the compatibility problem. (You run this addon in Forge 2.13.0.Final) I think that this api-version defined in your install.xml is a some validation/rule for furnance container. Really, I don't know. About it, I think that Lincoln or George can to talk better. On Fri, Feb 20, 2015 at 6:23 AM, wrote: > Hello, > I'm using JBDS8.0.2.GA with JBoss Forge 2.13.0.Final plugin installed. > After installing windup-2.1.0.Final add-ons through Forge and re-starting JBDS, the following exception is thrown: > > org.jboss.forge.furnace.exception.ContainerException: No services of type [org.jboss.forge.addon.convert.ConverterFactory] could be found in any started addons > > Attached to this discussion are: 1) jbds log file that captures the stacktrace at startup 2) forge installed.xml > > any ideas ? > > thanks. jeff > > Posted by forums > Original post: https://developer.jboss.org/message/919426#919426 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users -- Daniel Cunha (soro) From forge-users at lists.jboss.org Fri Feb 20 09:07:48 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 20 Feb 2015 09:07:48 EST Subject: [forge-users] org.jboss.forge.furnace.exception.ContainerException In-Reply-To: Message-ID: <605147776.1141424441422232.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> thank? you. disregard ..... this problem is corrected by using windup-2.1.0.A? instead of windup-2.1.0.Final thanks again. jeff Posted by forums Original post: https://developer.jboss.org/message/919466#919466 From forge-users at lists.jboss.org Fri Feb 20 12:08:47 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 20 Feb 2015 12:08:47 EST Subject: [forge-users] Jboss Forge scaffolding using JSF: is the number of search criteria limited ? In-Reply-To: <905082396.1111424432093908.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <842865475.1151424452157452.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Silvu, Yes, the number of search criteria is limited to 5. It is set here: core/UnsearchableWidgetProcessor.java at master ? forge/core ? GitHub (https://github.com/forge/core/blob/master/javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/metawidget/widgetprocessor/UnsearchableWidgetProcessor.java#L34) and I am afraid there isn't a way to customize that at the moment. Would you please raise a JIRA in Forge - JBoss Issue Tracker (https://issues.jboss.org/browse/FORGE) asking for this feature? Of course, pull requests are greatly appreciated too {emoticon:class=jive_macro jive_emote|src=https://static.jboss.org/developer/6.0.3.60ddddd/images/emoticons/happy.png|__jive_emoticon_name=happy} Best Regards, George Gastaldi Posted by forums Original post: https://developer.jboss.org/message/919498#919498 From forge-users at lists.jboss.org Sat Feb 21 10:57:25 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sat, 21 Feb 2015 10:57:25 EST Subject: [forge-users] Problem with any command of forge Message-ID: <947774175.1171424534275513.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> hello guys, i am an newer user in forge, and i? need help. Recently i tried start a project with forge after install him , and when a type any command i got this error : ***ERROR*** No such command: {command name} Even with the list-commands --all ***ERROR*** No such command: {list-commands} I'm using ubuntu 14.04 here, and the forge version is 2.6.0 Final. I'm doing something wrong ? Anyone can help ? Posted by forums Original post: https://developer.jboss.org/message/919558#919558 From ggastald at redhat.com Sat Feb 21 11:57:25 2015 From: ggastald at redhat.com (George Gastaldi) Date: Sat, 21 Feb 2015 11:57:25 -0500 (EST) Subject: [forge-users] Problem with any command of forge In-Reply-To: <947774175.1171424534275513.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <947774175.1171424534275513.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <51E30A48-63F1-42CE-8337-36B6F78C52DB@redhat.com> This is strange. Try downloading the latest version from the forge website (forge.jboss.org) and removing ~/.forge > Em 21/02/2015, ?s 13:58, forge-users at lists.jboss.org escreveu: > > hello guys, i am an newer user in forge, and i need help. Recently i tried start a project with forge after install him , and when a type any command i got this error : > > ***ERROR*** No such command: {command name} > > Even with the list-commands --all > > ***ERROR*** No such command: {list-commands} > > I'm using ubuntu 14.04 here, and the forge version is 2.6.0 Final. I'm doing something wrong ? Anyone can help ? > > Posted by forums > Original post: https://developer.jboss.org/message/919558#919558 > > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From forge-users at lists.jboss.org Sat Feb 21 12:38:53 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sat, 21 Feb 2015 12:38:53 EST Subject: [forge-users] Problem with any command of forge In-Reply-To: <51E30A48-63F1-42CE-8337-36B6F78C52DB@redhat.com> Message-ID: <231534903.1181424540363203.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> hello George, i did this and now i have a new message: for new project : Command: new-project was not found. and for list-commands --all : Command: list-commands was not found. now the forge version is 2,14.0.final Posted by forums Original post: https://developer.jboss.org/message/919565#919565 From ggastald at redhat.com Sat Feb 21 12:49:41 2015 From: ggastald at redhat.com (George Gastaldi) Date: Sat, 21 Feb 2015 12:49:41 -0500 (EST) Subject: [forge-users] Problem with any command of forge In-Reply-To: <231534903.1181424540363203.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <231534903.1181424540363203.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <82443747-994C-4373-AF14-EA1D1ADA22EC@redhat.com> The command names were changed in 2.x. Please see the docs in http://forge.jboss.org/documentation and the videos in https://youtube.com/channel/UChnruRwagWHn16cNSOH_Atw > Em 21/02/2015, ?s 15:39, forge-users at lists.jboss.org escreveu: > > hello George, i did this and now i have a new message: > > for new project : > Command: new-project was not found. > > and for list-commands --all : > Command: list-commands was not found. > > now the forge version is 2,14.0.final > > Posted by forums > Original post: https://developer.jboss.org/message/919565#919565 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From forge-users at lists.jboss.org Mon Feb 23 02:34:17 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 23 Feb 2015 02:34:17 EST Subject: [forge-users] Jboss Forge scaffolding using JSF: is the number of search criteria limited ? In-Reply-To: <842865475.1151424452157452.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <35779671.01424676887714.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Great, George, thank you very much indeed. I will raise a JIRA in Forge - JBoss Issue Tracker (feature request) as soon as possible. Best regards, Silviu Posted by forums Original post: https://developer.jboss.org/message/919619#919619 From forge-users at lists.jboss.org Mon Feb 23 02:59:43 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 23 Feb 2015 02:59:43 EST Subject: [forge-users] Jboss Forge scaffolding using JSF: is the number of search criteria limited ? In-Reply-To: <35779671.01424676887714.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1479428372.11424678413076.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Actually I found a similar one, [FORGE-561] Forge generating only five fields for search.xhtml? - JBoss Issue Tracker (https://issues.jboss.org/browse/FORGE-561), closed as "Incomplete Description", so I'm going to reopen it. Best regards, Silviu Posted by forums Original post: https://developer.jboss.org/message/919622#919622 From forge-users at lists.jboss.org Mon Feb 23 07:10:08 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 23 Feb 2015 07:10:08 EST Subject: [forge-users] Is there any addon which creates stateless seassion beans? Message-ID: <1679729602.21424693438647.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi forge uses extended transaction type and stateful session beans by default, Is there any addon which creates stateless session beans? Im considering to build an addon which generate session beans so that used container managed transaction and stateless session beans, I go through this tutorial http://in.relation.to/24930.lace but I can not install my addon and a silent exception thrown with this message : Addon com.builder:statelessBuilder-beta,1.0.0-SNAPSHOT could not be installed. whats the problem? Im using Intellij IDEA 14, JDK 7 Thanks Posted by forums Original post: https://developer.jboss.org/message/919657#919657 From ggastald at redhat.com Mon Feb 23 07:22:46 2015 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 23 Feb 2015 07:22:46 -0500 (EST) Subject: [forge-users] Is there any addon which creates stateless seassion beans? In-Reply-To: <1679729602.21424693438647.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1679729602.21424693438647.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <3D5E3784-CCA4-4154-BFE1-B160CD2FD829@redhat.com> Hello, Check the logs in ~/.forge/log/forge.log We have fixed forge to display the error when installing addons in the master branch and it will be available in our next release. > Em 23/02/2015, ?s 09:10, forge-users at lists.jboss.org escreveu: > > Hi > forge uses extended transaction type and stateful session beans by default, > Is there any addon which creates stateless session beans? > Im considering to build an addon which generate session beans so that used container managed transaction and stateless session beans, > I go through this tutorial http://in.relation.to/24930.lace but I can not install my addon and a silent exception thrown with this message : > > Addon com.builder:statelessBuilder-beta,1.0.0-SNAPSHOT could not be installed. > > whats the problem? > Im using Intellij IDEA 14, JDK 7 > > Thanks > > Posted by forums > Original post: https://developer.jboss.org/message/919657#919657 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From forge-users at lists.jboss.org Mon Feb 23 07:26:01 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 23 Feb 2015 07:26:01 EST Subject: [forge-users] Is there any addon which creates stateless session beans? In-Reply-To: <1679729602.21424693438647.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <80590278.31424694391932.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Seyed, "forge uses extended transaction type and stateful session beans by default" What do you want to mean with that? the javaee addon has an option to create new EJB's. the command is new-ejb if I remember well. The javaee addon is part of the forge core, so if you use the forge-offline distribution you have this option, case you don't have, you need install this addon. You can see the code here: core/NewEJBCommand.java at master ? forge/core ? GitHub (https://github.com/forge/core/blob/master/javaee/impl/src/main/java/org/jboss/forge/addon/javaee/ejb/ui/NewEJBCommand.java) "Addon com.builder:statelessBuilder-beta,1.0.0-SNAPSHOT could not be installed." Can you try again and share the log? ~/.forge/log/forge.log -- Daniel Cunha (soro) Posted by forums Original post: https://developer.jboss.org/message/919660#919660 From forge-users at lists.jboss.org Tue Feb 24 00:34:49 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 24 Feb 2015 00:34:49 EST Subject: [forge-users] sometimes forge command is not visible in both windows and linux environments In-Reply-To: <57951092.971424108892563.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <759055040.41424756119538.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Thanku i will surely try this one. Posted by forums Original post: https://developer.jboss.org/message/919742#919742 From forge-users at lists.jboss.org Tue Feb 24 00:36:59 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 24 Feb 2015 00:36:59 EST Subject: [forge-users] Need explanation for forge addon folder structure Message-ID: <2044764398.51424756264991.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> I always have a doubt that why does a forge addon folder structure is something like * addon * impl * api * tests what is the relation between each other.And when we install addon why do we have to run install command on addon folder.Is there any meaning behind it?Please brief me about this folder structure. Thanks. Posted by forums Original post: https://developer.jboss.org/message/919743#919743 From forge-users at lists.jboss.org Tue Feb 24 06:15:45 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 24 Feb 2015 06:15:45 EST Subject: [forge-users] Is there any addon which creates stateless session beans? In-Reply-To: <80590278.31424694391932.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1972479494.71424776575784.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello, By this "forge uses extended transaction type and stateful session beans by default" I mean if you create new forge project, create your entities and then scaffold them, forge creates stateful session beans and inject an extended persistence context in them by default. I want to generate stateless session beans instead. so that generated codes includes separated CDI beans, stateless session beans and xhtmls . I remove previous generated forge.log to check the exception log but forge doesn't create it again. this exception "Addon com.builder:statelessBuilder-beta,1.0.0-SNAPSHOT could not be installed." occurred but ~/.forge/log/ is empty ! thanks Posted by forums Original post: https://developer.jboss.org/message/919779#919779 From forge-users at lists.jboss.org Tue Feb 24 09:04:26 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 24 Feb 2015 09:04:26 EST Subject: [forge-users] sometimes forge command is not visible in both windows and linux environments In-Reply-To: <759055040.41424756119538.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <867866005.81424786696583.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> My alternate when I test the result in Eclipse is to increase the version number before each build. Dirts the ~/.addons folder but avoid to restart Eclipse? (File / restart) to remove lock on the addon's jar Posted by forums Original post: https://developer.jboss.org/message/919800#919800 From forge-users at lists.jboss.org Wed Feb 25 11:13:50 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Wed, 25 Feb 2015 11:13:50 EST Subject: [forge-users] ClassLoading - how to make every class (in the visited project) accessible ? Message-ID: <476197024.141424880860115.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello, The context is using one's own addon in a second project. Say this addon manipulates all the @Path classes As I was playing with code generation, I faced issues while trying to do Class.forName() because the addon has no knowledge of P2 classpath. What I did is infer the file path of the sources and then use Roaster to get a JavaInterface. But now, if I wanted to introspect (the java.lang.reflect way) a class declared in a dependency of this second project (like a class defined in twitter4j for example), how would I do ? Should I loop on all JARs in the visited project then loop on all the JAR's .class entries and tell the classloader to load them ? And same for target/classes ? Or is it a special classloader that I haven't found ? Cheers, Jerome Posted by forums Original post: https://developer.jboss.org/message/920001#920001 From ggastald at redhat.com Wed Feb 25 11:22:44 2015 From: ggastald at redhat.com (George Gastaldi) Date: Wed, 25 Feb 2015 13:22:44 -0300 Subject: [forge-users] ClassLoading - how to make every class (in the visited project) accessible ? In-Reply-To: <476197024.141424880860115.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <476197024.141424880860115.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <54EDF6D4.6000306@redhat.com> Hi Jerome, What do you mean by "P2 classpath"? By all means, see if this addon helps you out: http://forge.jboss.org/addon/me.gastaldi.forge:reflections Best Regards, George Gastaldi On 02/25/2015 01:13 PM, forge-users at lists.jboss.org wrote: > Hello, > > The context is using one's own addon in a second project. Say this addon manipulates all the @Path classes > > As I was playing with code generation, I faced issues while trying to do Class.forName() because the addon has no knowledge of P2 classpath. > > What I did is infer the file path of the sources and then use Roaster to get a JavaInterface. > But now, if I wanted to introspect (the java.lang.reflect way) a class declared in a dependency of this second project (like a class defined in twitter4j for example), how would I do ? > > Should I loop on all JARs in the visited project then loop on all the JAR's .class entries and tell the classloader to load them ? > And same for target/classes ? > > Or is it a special classloader that I haven't found ? > > Cheers, > > Jerome > > Posted by forums > Original post: https://developer.jboss.org/message/920001#920001 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From forge-users at lists.jboss.org Fri Feb 27 04:34:44 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 27 Feb 2015 04:34:44 EST Subject: [forge-users] ClassLoading - how to make every class (in the visited project) accessible ? In-Reply-To: <54EDF6D4.6000306@redhat.com> Message-ID: <1038246921.171425029714565.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello George, By P2 I meant second project. Context : * 2 projects in the workspace, first is the addon, the second is where the addon is used, say a maven based webapp with jaxrs endpoints. * My goal here is to generate SOAPUI xml out of the java interfaces that sport the JAXRS annotations I used your addon in the simplistic way. Definitely have to dig the question of scanners and do some tests to see if I can . Cheers, J?r?me Posted by forums Original post: https://developer.jboss.org/message/920135#920135 From forge-users at lists.jboss.org Fri Feb 27 04:38:15 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 27 Feb 2015 04:38:15 EST Subject: [forge-users] Need explanation for forge addon folder structure In-Reply-To: <2044764398.51424756264991.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1408301724.181425029925845.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello Mani, AFAIK, you can run the install command from any directory as long as you specify the project root of your addon. I presume the main point is because this is where the pom is. Cheers, J?r?me Posted by forums Original post: https://developer.jboss.org/message/920136#920136 From forge-users at lists.jboss.org Fri Feb 27 05:31:50 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 27 Feb 2015 05:31:50 EST Subject: [forge-users] (FR reading) Technical reviewer needed In-Reply-To: <1715221581.121421334145848.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <118098334.191425033140815.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Forge is making it into the French specialized press. This month, it is my introductory article that is published. http://www.editions-diamond.fr/?p=555 JBoss Forge2, Java EE facile, tr?s facile translates to JBoss Forge2, Java EE easily, very easily Posted by forums Original post: https://developer.jboss.org/message/920141#920141 From ggastald at redhat.com Fri Feb 27 05:49:43 2015 From: ggastald at redhat.com (George Gastaldi) Date: Fri, 27 Feb 2015 05:49:43 -0500 (EST) Subject: [forge-users] (FR reading) Technical reviewer needed In-Reply-To: <118098334.191425033140815.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <118098334.191425033140815.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Fantastic! Way to go Jerome! :) > Em 27/02/2015, ?s 07:32, forge-users at lists.jboss.org escreveu: > > Forge is making it into the French specialized press. > This month, it is my introductory article that is published. > > http://www.editions-diamond.fr/?p=555 > > JBoss Forge2, Java EE facile, tr?s facile > > translates to > JBoss Forge2, Java EE easily, very easily > > Posted by forums > Original post: https://developer.jboss.org/message/920141#920141 > > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From forge-users at lists.jboss.org Fri Feb 27 06:11:52 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 27 Feb 2015 06:11:52 EST Subject: [forge-users] (FR reading) Technical reviewer needed In-Reply-To: Message-ID: <122011300.201425035542939.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Thank you George, Here is the planning. This first article will be under CreativeCommons in 3 months. So in June, I'll publish in it English. My second article (addons) should be published in two months (may issue) and in August, I will publish it in English too. Now, I have to decide if I try my luck at proposing a combo of presentation+custom addons for Mixit 2015 conference in Lyon. Cheers, J?r?me, happy Posted by forums Original post: https://developer.jboss.org/message/920150#920150 From forge-users at lists.jboss.org Fri Feb 27 06:13:28 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 27 Feb 2015 06:13:28 EST Subject: [forge-users] Need explanation for forge addon folder structure In-Reply-To: <1408301724.181425029925845.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1404292374.221425035638725.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Jerome, ???????????????? Thank you!But i would also be interested to know why forge addon structure is like this. Posted by forums Original post: https://developer.jboss.org/message/920152#920152 From forge-users at lists.jboss.org Fri Feb 27 08:17:26 2015 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 27 Feb 2015 08:17:26 EST Subject: [forge-users] Need explanation for forge addon folder structure In-Reply-To: <1404292374.221425035638725.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <188264559.241425043076203.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello Mani, Here is an explanation of each module and their relationship: * addon: The addon project. This module should depend on api (and spi if available) in compile time and impl in runtime. The artifact produced by this project should be a JAR with the classifier forge-addon * api: any artifact that is supposed to be exposed by your addon. * impl: this is where the implementation of your API lies and they should never be accessed externally. * spi (when feasible): Use a SPI when you want other addons to provide extensions for your addon. * tests: This is where the integration tests are kept. Posted by forums Original post: https://developer.jboss.org/message/920161#920161