From lincolnbaxter at gmail.com Mon Feb 3 01:39:31 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Mon, 3 Feb 2014 01:39:31 -0500 Subject: [forge-users] New Command isn't picked up by Forge 2.0 in my addon In-Reply-To: <563373373.651391193049045.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <608684925.631391177529529.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> <563373373.651391193049045.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Does your adding depend on the org.jboss.forge.furnace:container-cdi:forge-addon ? If so, do you have a beans.xml file in your project? On Fri, Jan 31, 2014 at 1:28 PM, wrote: > Hi George, > > I would like to add some parts of the log file (only 5 lines) but I get > some error about frequency limit. > > Anyway, I don't see any error in the log file, only the module and the 3 > dependencies that I have specified underneath it. > And a bit further the message that the container is started. > > I see only a warning about UserTransaction which is not available, but > this is on the org.jboss.forge.addon:templates addon. > > I'll create a minimal project to reproduce the issue. > > Rudy > > Posted by forums > Original post: https://community.jboss.org/message/855779#855779 > _______________________________________________ > 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/20140203/a105c801/attachment.html From forge-users at lists.jboss.org Mon Feb 3 04:10:41 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 03 Feb 2014 04:10:41 EST Subject: [forge-users] New Command isn't picked up by Forge 2.0 in my In-Reply-To: Message-ID: <165393614.671391419846931.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> addon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable beans.xml !=C2=A0 That's it. Have forgotten that it is all CDI based now. Thanks. Posted by forums Original post: https://community.jboss.org/message/855874#855874 From forge-users at lists.jboss.org Mon Feb 3 06:08:39 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 03 Feb 2014 06:08:39 EST Subject: [forge-users] New Command isn't picked up by Forge 2.0 in my In-Reply-To: <165393614.671391419846931.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <610501139.691391428208516.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> addon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Just a minor observation: it uses CDI if you choose for your addon to depen= d on the cdi container. You can depend on the simple container if you want= (this won't allow you to @Inject dependencies in your code, but it should = consume less resources in your environment). > Em 03/02/2014, =C3=A0s 07:31, Rudy De Busscher e= screveu: >=20 >=20 > JBoss Community > (forge-users) New Command isn't picked up by Forge 2.0 in my addon > reply from Rudy De Busscher in Forge - View the full discussion >=20 > beans.xml ! That's it. >=20 > =20 >=20 > Have forgotten that it is all CDI based now. >=20 > =20 >=20 > Thanks. >=20 > Reply to this message by going to Community > Start a new discussion in Forge at Community > Following Forge in these streams: Email Watches > Following (forge-users) New Command isn't picked up by Forge 2.0 in my = addon in these streams: Inbox Posted by forums Original post: https://community.jboss.org/message/855897#855897 From forge-users at lists.jboss.org Mon Feb 3 08:44:14 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 03 Feb 2014 08:44:14 EST Subject: [forge-users] FacesFacet not available from Project ? (Forge 2 add-on) Message-ID: <121275563.01391435084322.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, These are the commands that I have used in forge: {quote:modifiedtitle=true|class=jive_text_macro jive_macro_quote} project-new --named demo --type war faces-setup --facesVersion 2.2 {quote} When I then check all the facets available from the project, The FacesFacet is not in the list! These are the ones that I get (project.getFacets()) +org.jboss.forge.addon.configuration.ConfigurationFacetImpl at e319f748+ +org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider at e319f748+ +org.jboss.forge.addon.maven.projects.facets.MavenJavaCompilerFacet at e319f748+ +org.jboss.forge.addon.maven.projects.facets.MavenResourcesFacet at e319f748+ +org.jboss.forge.addon.maven.projects.facets.MavenJavaSourceFacet at e319f748+ +org.jboss.forge.addon.maven.projects.facets.MavenWebResourcesFacet at e319f748+ +org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet at e319f748+ +org.jboss.forge.addon.maven.projects.facets.MavenPackagingFacet at e319f748+ +org.jboss.forge.addon.maven.projects.facets.MavenMetadataFacet at e319f748+ +org.jboss.forge.addon.maven.projects.MavenPluginFacetImpl at e319f748+ +org.jboss.forge.addon.maven.projects.MavenFacetImpl at e319f748+ Is this expected or this there an issue with the isInstalled() method? regards Rudy Posted by forums Original post: https://community.jboss.org/message/855914#855914 From ggastald at redhat.com Mon Feb 3 08:51:19 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 3 Feb 2014 08:51:19 -0500 (EST) Subject: [forge-users] FacesFacet not available from Project ? (Forge 2 add-on) In-Reply-To: <121275563.01391435084322.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <121275563.01391435084322.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <0E60089A-73C4-46FB-9C24-EC669D9E8B47@redhat.com> How are you fetching the project in your code? > Em 03/02/2014, ?s 11:44, forge-users at lists.jboss.org escreveu: > > Hi, > > These are the commands that I have used in forge: > > {quote:modifiedtitle=true|class=jive_text_macro jive_macro_quote} > project-new --named demo --type war > > faces-setup --facesVersion 2.2 > {quote} > > When I then check all the facets available from the project, The FacesFacet is not in the list! > > These are the ones that I get (project.getFacets()) > +org.jboss.forge.addon.configuration.ConfigurationFacetImpl at e319f748+ > +org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider at e319f748+ > +org.jboss.forge.addon.maven.projects.facets.MavenJavaCompilerFacet at e319f748+ > +org.jboss.forge.addon.maven.projects.facets.MavenResourcesFacet at e319f748+ > +org.jboss.forge.addon.maven.projects.facets.MavenJavaSourceFacet at e319f748+ > +org.jboss.forge.addon.maven.projects.facets.MavenWebResourcesFacet at e319f748+ > +org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet at e319f748+ > +org.jboss.forge.addon.maven.projects.facets.MavenPackagingFacet at e319f748+ > +org.jboss.forge.addon.maven.projects.facets.MavenMetadataFacet at e319f748+ > +org.jboss.forge.addon.maven.projects.MavenPluginFacetImpl at e319f748+ > +org.jboss.forge.addon.maven.projects.MavenFacetImpl at e319f748+ > > Is this expected or this there an issue with the isInstalled() method? > > regards > Rudy > > Posted by forums > Original post: https://community.jboss.org/message/855914#855914 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From rdebusscher at gmail.com Mon Feb 3 09:18:21 2014 From: rdebusscher at gmail.com (Rudy De Busscher) Date: Mon, 3 Feb 2014 15:18:21 +0100 Subject: [forge-users] FacesFacet not available from Project ? (Forge 2 add-on) Message-ID: Hi George, Through AbstractProjectCommand.getSelectedProject(UIContext) Or is there any other way to know if faces-setup has been called on the project Thx Rudy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-users/attachments/20140203/55a15e32/attachment.html From lincolnbaxter at gmail.com Mon Feb 3 09:20:04 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Mon, 3 Feb 2014 09:20:04 -0500 Subject: [forge-users] FacesFacet not available from Project ? (Forge 2 add-on) In-Reply-To: References: Message-ID: Hey Rudy, The FacesFacet should be there. I think it would help if we looked at your code. I'm not really sure why this would be the case without seeing exactly what you're doing. Is that possible? Thanks! ~Lincoln On Mon, Feb 3, 2014 at 9:18 AM, Rudy De Busscher wrote: > > Hi George, > > Through AbstractProjectCommand.getSelectedProject(UIContext) > > Or is there any other way to know if faces-setup has been called on the > project > > Thx > Rudy > > > _______________________________________________ > 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/20140203/bc1a2a48/attachment.html From rdebusscher at gmail.com Mon Feb 3 09:33:31 2014 From: rdebusscher at gmail.com (Rudy De Busscher) Date: Mon, 3 Feb 2014 15:33:31 +0100 Subject: [forge-users] FacesFacet not available from Project ? (Forge 2 add-on) In-Reply-To: References: Message-ID: Hey Lincoln, I have stripped down the add-on to his bare minimum to have a small test case. Just a class which extends AbstractProjectCommand which the action in execute() You can find it in the attachment. Thx Rudy On 3 February 2014 15:20, Lincoln Baxter, III wrote: > Hey Rudy, > > The FacesFacet should be there. I think it would help if we looked at your > code. I'm not really sure why this would be the case without seeing exactly > what you're doing. Is that possible? > > Thanks! > ~Lincoln > > > On Mon, Feb 3, 2014 at 9:18 AM, Rudy De Busscher wrote: > >> >> Hi George, >> >> Through AbstractProjectCommand.getSelectedProject(UIContext) >> >> Or is there any other way to know if faces-setup has been called on the >> project >> >> Thx >> Rudy >> >> >> _______________________________________________ >> 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/20140203/69274f98/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: forge-issue-addon.zip Type: application/zip Size: 4414 bytes Desc: not available Url : http://lists.jboss.org/pipermail/forge-users/attachments/20140203/69274f98/attachment-0001.zip From forge-users at lists.jboss.org Mon Feb 3 12:28:54 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 03 Feb 2014 12:28:54 EST Subject: [forge-users] Forge 2 jpa entity relationship Message-ID: <2074027584.31391448564473.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, It seems that the command *jpa-new-field* doesn't work in Forge2 when the *relationshipType* is set. I've tried with a *Many-To-Many* annotation and a *One-To-Many* but they don't work. There's no error, so I don't know what is happening... The command is: jpa-new-field --named domande --targetEntity it.nikeconsulting.nktest.model.Parent --type it.nikeconsulting.nktest.model.Child --relationshipType Many-to-Many Some help? Posted by forums Original post: https://community.jboss.org/message/855983#855983 From forge-users at lists.jboss.org Mon Feb 3 12:50:50 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 03 Feb 2014 12:50:50 EST Subject: [forge-users] Scaffold error in Forge 2.0 Message-ID: <1332181401.41391449881078.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Guys, I attempt to run scaffold generator in my new project, but i get a simple error in Forge 2 CLI: ***ERROR*** Error generating default scaffolding: null Its a new forge project with latest version of runtime: Forge2.0.0.Final and Java 7 1.7.0.40, Hibernate, WILDFly CR1 and MySQL 5.6 with latest mysql-connector.jar. Posted by forums Original post: https://community.jboss.org/message/855984#855984 From ggastald at redhat.com Mon Feb 3 14:15:48 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 03 Feb 2014 17:15:48 -0200 Subject: [forge-users] Scaffold error in Forge 2.0 In-Reply-To: <1332181401.41391449881078.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1332181401.41391449881078.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <52EFEAE4.4010407@redhat.com> Hi, Can you give us more details on how to reproduce that? Look in ~/.forge/log/forge.log for stacktraces. Best Regards, George On 03-02-2014 15:50, forge-users at lists.jboss.org wrote: > Hi Guys, > > I attempt to run scaffold generator in my new project, but i get a simple error in Forge 2 CLI: > > ***ERROR*** Error generating default scaffolding: null > > Its a new forge project with latest version of runtime: Forge2.0.0.Final and Java 7 1.7.0.40, Hibernate, WILDFly CR1 and MySQL 5.6 with latest mysql-connector.jar. > > Posted by forums > Original post: https://community.jboss.org/message/855984#855984 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From lincolnbaxter at gmail.com Mon Feb 3 14:20:09 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Mon, 3 Feb 2014 14:20:09 -0500 Subject: [forge-users] FacesFacet not available from Project ? (Forge 2 add-on) In-Reply-To: References: Message-ID: Hey Rudy, I've downloaded your example, but I'm not sure exactly how I should reproduce your issue. Could you give me the detailed list of steps that you took? Thank you, Lincoln On Mon, Feb 3, 2014 at 9:33 AM, Rudy De Busscher wrote: > Hey Lincoln, > > I have stripped down the add-on to his bare minimum to have a small test > case. > > Just a class which extends AbstractProjectCommand which the action in > execute() > > > You can find it in the attachment. > > Thx > Rudy > > > > On 3 February 2014 15:20, Lincoln Baxter, III wrote: > >> Hey Rudy, >> >> The FacesFacet should be there. I think it would help if we looked at >> your code. I'm not really sure why this would be the case without seeing >> exactly what you're doing. Is that possible? >> >> Thanks! >> ~Lincoln >> >> >> On Mon, Feb 3, 2014 at 9:18 AM, Rudy De Busscher wrote: >> >>> >>> Hi George, >>> >>> Through AbstractProjectCommand.getSelectedProject(UIContext) >>> >>> Or is there any other way to know if faces-setup has been called on the >>> project >>> >>> Thx >>> Rudy >>> >>> >>> _______________________________________________ >>> 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 > -- 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/20140203/d060ed4e/attachment.html From forge-users at lists.jboss.org Mon Feb 3 14:26:14 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 03 Feb 2014 14:26:14 EST Subject: [forge-users] Scaffold error in Forge 2.0 In-Reply-To: <52EFEAE4.4010407@redhat.com> Message-ID: <744851549.51391455604433.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi George, The command line is: scaffold-generate --webRoot / --overwrite yes --targets com.package.Candidato The log is: 17:24:29,950 WARNING [org.metawidget.config.impl.BaseConfigReader] (AeshProcess: 1) class org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector must be immutable, but appears to have a setter method (public void org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector.setTypeUnderInspection(java.lang.String)) 17:24:30,067 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter] (AeshProcess: 1) Failed to execute [scaffold-generate] due to exception.: java.lang.RuntimeException: Error generating default scaffolding: null ? at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFromEntity(FacesScaffoldProvider.java:774) ? at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFrom(FacesScaffoldProvider.java:222) ? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_40] ? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_40] ? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40] ? at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40] ? at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final] ? at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.Final.jar:2.0.0.Final] ? at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final] ? at org.jboss.forge.addon.facets.AbstractFacet_$$_javassist_9b860e33-ef8c-41ab-8259-49b22e97fbab.generateFrom(AbstractFacet_$$_javassist_9b860e33-ef8c-41ab-8259-49b22e97fbab.java) ? at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep.execute(ScaffoldExecuteGenerationStep.java:63) ? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_40] ? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_40] ? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40] ? at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40] ? at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final] ? at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.Final.jar:2.0.0.Final] ? at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final] ? at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep_$$_javassist_ac79b82d-d3b6-4b4f-9c32-9372bfcacb44.execute(ScaffoldExecuteGenerationStep_$$_javassist_ac79b82d-d3b6-4b4f-9c32-9372bfcacb44.java) ? at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:152) [ui-impl-2.0.0.Final.jar:2.0.0.Final] ? at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:149) [ui-impl-2.0.0.Final.jar:2.0.0.Final] ? at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:69) [shell-impl-2.0.0.Final.jar:2.0.0.Final] ? at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:295) [aesh-0.48.jar:0.48] ? at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:41) [aesh-0.48.jar:0.48] ? at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40] ? at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40] ? at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40] Caused by: java.lang.IllegalArgumentException ? at org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:194) ? at org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2045) ? at org.eclipse.jdt.core.dom.AST.newName(AST.java:1795) ? at org.jboss.forge.parser.java.impl.AbstractJavaSource.setPackage(AbstractJavaSource.java:528) ? at org.jboss.forge.parser.java.impl.AbstractJavaSource.setPackage(AbstractJavaSource.java:55) ? at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFromEntity(FacesScaffoldProvider.java:710) ? ... 26 more Posted by forums Original post: https://community.jboss.org/message/855993#855993 From ggastald at redhat.com Mon Feb 3 14:36:43 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 03 Feb 2014 17:36:43 -0200 Subject: [forge-users] Scaffold error in Forge 2.0 In-Reply-To: <744851549.51391455604433.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <744851549.51391455604433.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <52EFEFCB.7050509@redhat.com> Hi Denis, Thanks for you response. That is because your project package contains a reserved word (package). We already have a JIRA to fix this (https://issues.jboss.org/browse/FORGE-997), but it was not implemented yet. In the meantime, please use a valid package name. Best Regards, George Gastaldi On 03-02-2014 17:26, forge-users at lists.jboss.org wrote: > Hi George, > > The command line is: scaffold-generate --webRoot / --overwrite yes --targets com.package.Candidato > > The log is: > 17:24:29,950 WARNING [org.metawidget.config.impl.BaseConfigReader] (AeshProcess: 1) class org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector must be immutable, but appears to have a setter method (public void org.jboss.forge.addon.scaffold.faces.metawidget.inspector.ForgeInspector.setTypeUnderInspection(java.lang.String)) > 17:24:30,067 SEVERE [org.jboss.forge.addon.shell.aesh.CommandAdapter] (AeshProcess: 1) Failed to execute [scaffold-generate] due to exception.: java.lang.RuntimeException: Error generating default scaffolding: null > at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFromEntity(FacesScaffoldProvider.java:774) > at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFrom(FacesScaffoldProvider.java:222) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_40] > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_40] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40] > at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40] > at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final] > at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.Final.jar:2.0.0.Final] > at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final] > at org.jboss.forge.addon.facets.AbstractFacet_$$_javassist_9b860e33-ef8c-41ab-8259-49b22e97fbab.generateFrom(AbstractFacet_$$_javassist_9b860e33-ef8c-41ab-8259-49b22e97fbab.java) > at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep.execute(ScaffoldExecuteGenerationStep.java:63) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_40] > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_40] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_40] > at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40] > at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final] > at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.Final.jar:2.0.0.Final] > at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.Final.jar:2.0.0.Final] > at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep_$$_javassist_ac79b82d-d3b6-4b4f-9c32-9372bfcacb44.execute(ScaffoldExecuteGenerationStep_$$_javassist_ac79b82d-d3b6-4b4f-9c32-9372bfcacb44.java) > at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:152) [ui-impl-2.0.0.Final.jar:2.0.0.Final] > at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:149) [ui-impl-2.0.0.Final.jar:2.0.0.Final] > at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:69) [shell-impl-2.0.0.Final.jar:2.0.0.Final] > at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:295) [aesh-0.48.jar:0.48] > at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:41) [aesh-0.48.jar:0.48] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_40] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_40] > at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40] > Caused by: java.lang.IllegalArgumentException > at org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:194) > at org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2045) > at org.eclipse.jdt.core.dom.AST.newName(AST.java:1795) > at org.jboss.forge.parser.java.impl.AbstractJavaSource.setPackage(AbstractJavaSource.java:528) > at org.jboss.forge.parser.java.impl.AbstractJavaSource.setPackage(AbstractJavaSource.java:55) > at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.generateFromEntity(FacesScaffoldProvider.java:710) > ... 26 more > > Posted by forums > Original post: https://community.jboss.org/message/855993#855993 > > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From ggastald at redhat.com Mon Feb 3 15:08:24 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 03 Feb 2014 18:08:24 -0200 Subject: [forge-users] Forge 2 jpa entity relationship In-Reply-To: <2074027584.31391448564473.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <2074027584.31391448564473.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <52EFF738.4090101@redhat.com> Hi, I just run the command you described, and I see the message ***SUCCESS*** Relationship Many-to-Many created. Could you provide more information on the problem you're facing? Do you see any stacktrace in the ~/.forge/log/forge.log file? Best Regards, George On 03-02-2014 15:28, forge-users at lists.jboss.org wrote: > Hi, > It seems that the command *jpa-new-field* doesn't work in Forge2 when the *relationshipType* is set. > I've tried with a *Many-To-Many* annotation and a *One-To-Many* but they don't work. > There's no error, so I don't know what is happening... > The command is: jpa-new-field --named domande --targetEntity it.nikeconsulting.nktest.model.Parent --type it.nikeconsulting.nktest.model.Child --relationshipType Many-to-Many > Some help? > > Posted by forums > Original post: https://community.jboss.org/message/855983#855983 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From ggastald at redhat.com Mon Feb 3 15:38:56 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 03 Feb 2014 18:38:56 -0200 Subject: [forge-users] FacesFacet not available from Project ? (Forge 2 add-on) In-Reply-To: References: Message-ID: <52EFFE60.5050903@redhat.com> I think I see your problem. Try invalidating the project cache before browsing the facets by calling projectFactory.invalidateCaches() to test if the facet list changes. Could you create a JIRA about this? Btw, in the latest SNAPSHOT I added a new command (project-list-facets) which does the same as the code you provided. On 03-02-2014 12:33, Rudy De Busscher wrote: > Hey Lincoln, > > I have stripped down the add-on to his bare minimum to have a small > test case. > > Just a class which extends AbstractProjectCommand which the action in > execute() > > > You can find it in the attachment. > > Thx > Rudy > > > > On 3 February 2014 15:20, Lincoln Baxter, III > wrote: > > Hey Rudy, > > The FacesFacet should be there. I think it would help if we looked > at your code. I'm not really sure why this would be the case > without seeing exactly what you're doing. Is that possible? > > Thanks! > ~Lincoln > > > On Mon, Feb 3, 2014 at 9:18 AM, Rudy De Busscher > > wrote: > > > Hi George, > > Through AbstractProjectCommand.getSelectedProject(UIContext) > > Or is there any other way to know if faces-setup has been > called on the project > > Thx > Rudy > > > _______________________________________________ > 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/20140203/728dc5cc/attachment.html From forge-users at lists.jboss.org Tue Feb 4 04:01:49 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 04 Feb 2014 04:01:49 EST Subject: [forge-users] Forge 2 jpa entity relationship In-Reply-To: <52EFF738.4090101@redhat.com> Message-ID: <1637940933.71391504539417.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Today I deleted the *.forge* folder and retried...it works fine! Maybe was some problem 'cause yesterday I installed the *2.0.0.Final*, previously I had the *RC* release... Thank you for the input of the *.forge* folder {emoticon:class=jive_macro jive_emote|src=https://community.jboss.org/6.0.3.60ddddd/images/emoticons/happy.png|__jive_emoticon_name=happy}! Posted by forums Original post: https://community.jboss.org/message/856081#856081 From ggastald at redhat.com Tue Feb 4 08:29:43 2014 From: ggastald at redhat.com (George Gastaldi) Date: Tue, 4 Feb 2014 08:29:43 -0500 (EST) Subject: [forge-users] Forge 2 jpa entity relationship In-Reply-To: <1637940933.71391504539417.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1637940933.71391504539417.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1B6DA986-2D63-413C-9088-4908173AA410@redhat.com> Glad it worked out for you! :) From rdebusscher at gmail.com Tue Feb 4 10:00:59 2014 From: rdebusscher at gmail.com (Rudy De Busscher) Date: Tue, 4 Feb 2014 16:00:59 +0100 Subject: [forge-users] FacesFacet not available from Project ? (Forge 2 add-on) In-Reply-To: <52EFFE60.5050903@redhat.com> References: <52EFFE60.5050903@redhat.com> Message-ID: Hi all, I created the issue https://issues.jboss.org/browse/FORGE-1551 for this. Rudy On 3 February 2014 21:38, George Gastaldi wrote: > I think I see your problem. Try invalidating the project cache before > browsing the facets by calling projectFactory.invalidateCaches() to test if > the facet list changes. > Could you create a JIRA about this? > > Btw, in the latest SNAPSHOT I added a new command (project-list-facets) > which does the same as the code you provided. > > > On 03-02-2014 12:33, Rudy De Busscher wrote: > > Hey Lincoln, > > I have stripped down the add-on to his bare minimum to have a small test > case. > > Just a class which extends AbstractProjectCommand which the action in > execute() > > > You can find it in the attachment. > > Thx > Rudy > > > > On 3 February 2014 15:20, Lincoln Baxter, III wrote: > >> Hey Rudy, >> >> The FacesFacet should be there. I think it would help if we looked at >> your code. I'm not really sure why this would be the case without seeing >> exactly what you're doing. Is that possible? >> >> Thanks! >> ~Lincoln >> >> >> On Mon, Feb 3, 2014 at 9:18 AM, Rudy De Busscher wrote: >> >>> >>> Hi George, >>> >>> Through AbstractProjectCommand.getSelectedProject(UIContext) >>> >>> Or is there any other way to know if faces-setup has been called on >>> the project >>> >>> Thx >>> Rudy >>> >>> >>> _______________________________________________ >>> 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 listforge-users at lists.jboss.orghttps://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/20140204/c5805347/attachment.html From ggastald at redhat.com Tue Feb 4 10:03:30 2014 From: ggastald at redhat.com (George Gastaldi) Date: Tue, 04 Feb 2014 13:03:30 -0200 Subject: [forge-users] FacesFacet not available from Project ? (Forge 2 add-on) In-Reply-To: References: <52EFFE60.5050903@redhat.com> Message-ID: <52F10142.7000908@redhat.com> Thanks Rudy! I'll personally take care of this. On 04-02-2014 13:00, Rudy De Busscher wrote: > Hi all, > > I created the issue https://issues.jboss.org/browse/FORGE-1551 for this. > > Rudy > > > On 3 February 2014 21:38, George Gastaldi > wrote: > > I think I see your problem. Try invalidating the project cache > before browsing the facets by calling > projectFactory.invalidateCaches() to test if the facet list changes. > Could you create a JIRA about this? > > Btw, in the latest SNAPSHOT I added a new command > (project-list-facets) which does the same as the code you provided. > > > On 03-02-2014 12:33, Rudy De Busscher wrote: >> Hey Lincoln, >> >> I have stripped down the add-on to his bare minimum to have a >> small test case. >> >> Just a class which extends AbstractProjectCommand which the >> action in execute() >> >> >> You can find it in the attachment. >> >> Thx >> Rudy >> >> >> >> On 3 February 2014 15:20, Lincoln Baxter, III >> > wrote: >> >> Hey Rudy, >> >> The FacesFacet should be there. I think it would help if we >> looked at your code. I'm not really sure why this would be >> the case without seeing exactly what you're doing. Is that >> possible? >> >> Thanks! >> ~Lincoln >> >> >> On Mon, Feb 3, 2014 at 9:18 AM, Rudy De Busscher >> > wrote: >> >> >> Hi George, >> >> Through AbstractProjectCommand.getSelectedProject(UIContext) >> >> Or is there any other way to know if faces-setup has been >> called on the project >> >> Thx >> Rudy >> >> >> _______________________________________________ >> 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 > > > _______________________________________________ > 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/20140204/6cc4183a/attachment-0001.html From forge-users at lists.jboss.org Tue Feb 4 11:43:17 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 04 Feb 2014 11:43:17 EST Subject: [forge-users] Scaffold error in Forge 2.0 In-Reply-To: <1332181401.41391449881078.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1214506097.91391532227579.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi George, Sorry for my mistake, but the correct package name is com.200four.projects.pleito and no have reservers words... My issue still give me a headache, rs... I test with a downgrade to Forge 1.4.4 and the scaffold works file Posted by forums Original post: https://community.jboss.org/message/856199#856199 From ggastald at redhat.com Tue Feb 4 11:47:44 2014 From: ggastald at redhat.com (George Gastaldi) Date: Tue, 4 Feb 2014 11:47:44 -0500 (EST) Subject: [forge-users] Scaffold error in Forge 2.0 In-Reply-To: <1214506097.91391532227579.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1214506097.91391532227579.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <15DA6CB5-B0D3-47A5-935A-3CCED539854D@redhat.com> Can you provide us with the exact steps to reproduce this issue? > Em 04/02/2014, ?s 14:43, forge-users at lists.jboss.org escreveu: > > Hi George, > > Sorry for my mistake, but the correct package name is com.200four.projects.pleito and no have reservers words... My issue still give me a headache, rs... > I test with a downgrade to Forge 1.4.4 and the scaffold works file > > Posted by forums > Original post: https://community.jboss.org/message/856199#856199 > _______________________________________________ > 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 Tue Feb 4 17:15:10 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 04 Feb 2014 17:15:10 EST Subject: [forge-users] Reverse Engineer Entities using customer Hibernate Dialect Message-ID: <2085690343.101391552194664.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi all. I am attempting to reverse engineer a virtual database from Teiid and generate entities using Forge.? However, when I enter the ?generate-entities? command, I get a NoClassFound error for the Teiid Dialect.? Now, I am trying to figure out how to get the Teiid Hibernate Dialect jar file on the class path.? I have tried a couple of different things:? dropping the jar in the /lib directory as well as adding it as a module.? However, I am still getting the same error. Any pointers would be greatly appreciated.? Thanks! Blaine Mincey Specifically, this is what I am doing: $ new-project --named FinancialsWeb --topLevelPackage com.jboss.teiid $ persistence setup --provider HIBERNATE --container JBOSS_EAP6 $ generate-entities --dialect org.teiid.dialect.TeiidDialect --driver org.teiid.jdbc.TeiidDriver --url jdbc:teiid:Financials --pathToDriver /Users/bmincey/RedHat/jdv/jdv6/jboss-eap-6.1/dataVirtualization/jdbc/teiid-8.4.1-redhat-7-jdbc.jar --user user --password user This final command throws the following exception which makes sense to me.? I just cannot figure out how to make Forge find the dialect. org.hibernate.HibernateException: Dialect class not found: org.teiid.dialect.TeiidDialect [FinancialsWeb] FinancialsWeb $ at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:160) at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:109) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:138) at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2155) at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:41) at org.hibernate.forge.generate.GenerateEntitiesPlugin$1.run(GenerateEntitiesPlugin.java:179) at org.hibernate.forge.common.UrlClassLoaderExecutor.execute(UrlClassLoaderExecutor.java:13) at org.hibernate.forge.generate.GenerateEntitiesPlugin.doReverseEngineering(GenerateEntitiesPlugin.java:171) at org.hibernate.forge.generate.GenerateEntitiesPlugin.generateEntities(GenerateEntitiesPlugin.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.forge.shell.command.Execution.perform(Execution.java:160) at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109) at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47) at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796) at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819) at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125) at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188) at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234) at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616) at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.ClassNotFoundException: org.teiid.dialect.TeiidDialect from [Module "org.jboss.hibernate.forge.hibernate-tools-plugin:1.2.0-SNAPSHOT-aa91c2fc-bbc0-4865-b3a7-17aee99fd144" from local module loader @6744719c (roots: /Users/bmincey/Java/forge-distribution-1.4.4.Final/modules,/Users/bmincey/.forge/plugins,/Users/bmincey/RedHat/jbds/jbds7.1/studio/plugins/org.jboss.tools.forge.runtime.ext_1.2.1.Final-v20131205-0921-B140/modules)] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192) at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:157) ... 45 more Posted by forums Original post: https://community.jboss.org/message/856250#856250 From forge-users at lists.jboss.org Wed Feb 5 03:51:37 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Wed, 05 Feb 2014 03:51:37 EST Subject: [forge-users] Reverse Engineer Entities using customer Hibernate Dialect In-Reply-To: <2085690343.101391552194664.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1939909244.121391590327469.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Blaine, When the Forge plugin generates entities, the jar with the JDBC driver is dynamically added to a new class loader that is used for that task. Since the Teiid dialect is probably not in the standard Hibernate distribution, you would need to also add this dialect to this class loader. I have never tried such a scenario but I think that you could do what you want to do by repackaging the jar containing the JDBC driver and adding the Teiid dialect related classes to this new jar. Let us know if this works. Cheers, Koen Posted by forums Original post: https://community.jboss.org/message/856299#856299 From forge-users at lists.jboss.org Wed Feb 5 10:08:09 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Wed, 05 Feb 2014 10:08:09 EST Subject: [forge-users] Scaffold error in Forge 2.0 In-Reply-To: <1214506097.91391532227579.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1876505588.141391612919653.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello Denis, ???? Could you please attach a sample project so that we can reproduce this ? We're unable to reproduce this by running the usual commands, so I suspect this is something to do with the class, method or field names within your project. Thanks, Vineet Posted by forums Original post: https://community.jboss.org/message/856363#856363 From forge-users at lists.jboss.org Thu Feb 6 20:46:25 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 06 Feb 2014 20:46:25 EST Subject: [forge-users] Reverse Engineer Entities using customer Hibernate Dialect In-Reply-To: <1939909244.121391590327469.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1731336686.181391737615704.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Koen. Thanks for the reply.? I did as you suggested and added the dialect to the Teiid JDBC driver JAR and it appears to have found it.? However, now I am getting the following exception.? I am not sure if this is something to do with Hibernate or the Teiid Dialect class.? Do you have any ideas?? For what it is worth, you at least helped me figure out my ClassNotFoundException and thanks for that! ***ERROR*** An unexpected error happened during reverse engineering. java.lang.NoSuchFieldError: INSTANCE ? at org.teiid.dialect.TeiidDialect.(TeiidDialect.java:38) ? at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ? at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ? at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ? at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ? at java.lang.Class.newInstance(Class.java:374) ? at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:157) ? at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:109) ? at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:138) ? at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163) ? at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2155) ? at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:41) ? at org.hibernate.forge.generate.GenerateEntitiesPlugin$1.run(GenerateEntitiesPlugin.java:179) ? at org.hibernate.forge.common.UrlClassLoaderExecutor.execute(UrlClassLoaderExecutor.java:13) ? at org.hibernate.forge.generate.GenerateEntitiesPlugin.doReverseEngineering(GenerateEntitiesPlugin.java:171) ? at org.hibernate.forge.generate.GenerateEntitiesPlugin.generateEntities(GenerateEntitiesPlugin.java:78) ? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ? at java.lang.reflect.Method.invoke(Method.java:606) ? at org.jboss.forge.shell.command.Execution.perform(Execution.java:160) ? at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109) ? at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47) ? at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796) ? at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819) ? at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609) ? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ? at java.lang.reflect.Method.invoke(Method.java:606) ? at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48) ? at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125) ? at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java) ? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ? at java.lang.reflect.Method.invoke(Method.java:606) ? at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) ? at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) ? at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) ? at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) ? at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188) ? at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59) ? at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198) ? at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282) ? at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265) ? at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234) ? at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635) ? at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622) ? at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616) ? at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186) ? at java.lang.Thread.run(Thread.java:744) Posted by forums Original post: https://community.jboss.org/message/856666#856666 From forge-users at lists.jboss.org Fri Feb 7 04:07:45 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 07 Feb 2014 04:07:45 EST Subject: [forge-users] Reverse Engineer Entities using customer Hibernate Dialect In-Reply-To: <1731336686.181391737615704.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1373881779.191391764096111.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Blaine, This looks like the Hibernate version that is used by the reverse engineering plugin is not compatible with the Teiid Dialect you are using. The Hibernate Tools version of the reverse engineering plugin is 3.4.0.CR2 and that is using Hibernate Core 3.5.6-Final. The simplest solution seems to me to use a Teiid dialect that is compatible with that version of Hibernate. It seems to me that any Teiid dialect version from 8.1.0 or earlier would work (http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/releases/org.jboss.teiid/teiid-hibernate-dialec? (http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/releases/org.jboss.teiid/teiid-hibernate-dialect/8.1.0.Final/org/teiid/dialect/TeiidDialect.java?av=f)). Any later version uses Hibernate 4.x. An alternative but more involved solution would be to rebuild the reverse engineering plugin using Hibernate Tools 4.0.0.CR1 which will also use Hibernate 4.x. I hope this helps. Cheers, Koen Posted by forums Original post: https://community.jboss.org/message/856700#856700 From pablo.palazon at gmail.com Wed Feb 12 05:23:44 2014 From: pablo.palazon at gmail.com (Pablo Palazon) Date: Wed, 12 Feb 2014 11:23:44 +0100 Subject: [forge-users] Forge 2. Exception when parsing/running Message-ID: Hi forge users, I'm using Forge 2.0.0.Final, and I have some problems with command execution on forge CLI. When I execute any command, for example 'ls', I have this reply: Exception when parsing/running: ls, Could not create instance of [org.jboss.forge.addon.devtools.java.RegisterAsServiceCommand] through reflection. That's my environment vars Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200) Maven home: /proyectos/javatools/apache-maven/apache-maven-3.1.1 Java version: 1.7.0_51, vendor: Oracle Corporation Java home: /opt/java/jdk1.7.0_51/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.8.0-33-generic", arch: "amd64", family: "unix" Thanks so much in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-users/attachments/20140212/c2024d0a/attachment.html From ggastald at redhat.com Wed Feb 12 08:15:57 2014 From: ggastald at redhat.com (George Gastaldi) Date: Wed, 12 Feb 2014 08:15:57 -0500 (EST) Subject: [forge-users] Forge 2. Exception when parsing/running In-Reply-To: References: Message-ID: <922FFEC7-9576-4505-8F7F-AF3AA415AD91@redhat.com> Hi Pablo. Does it happen everytime? Could you paste2.org your logs in ~/.forge/logs/? Thanks > Em 12/02/2014, ?s 08:24, Pablo Palazon escreveu: > > Hi forge users, > > I'm using Forge 2.0.0.Final, and I have some problems with command execution on forge CLI. When I execute any command, for example 'ls', I have this reply: > > Exception when parsing/running: ls, Could not create instance of [org.jboss.forge.addon.devtools.java.RegisterAsServiceCommand] through reflection. > > That's my environment vars > > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200) > Maven home: /proyectos/javatools/apache-maven/apache-maven-3.1.1 > Java version: 1.7.0_51, vendor: Oracle Corporation > Java home: /opt/java/jdk1.7.0_51/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "3.8.0-33-generic", arch: "amd64", family: "unix" > > Thanks so much in advance. > _______________________________________________ > 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 12 11:52:49 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Wed, 12 Feb 2014 11:52:49 -0500 Subject: [forge-users] Forge 2. Exception when parsing/running In-Reply-To: <922FFEC7-9576-4505-8F7F-AF3AA415AD91@redhat.com> References: <922FFEC7-9576-4505-8F7F-AF3AA415AD91@redhat.com> Message-ID: Pablo, Could you also paste the results of "forge --list" from the command line (while forge is NOT running.) This should let us know what version of addons you are running. Thank you! ~Lincoln On Wed, Feb 12, 2014 at 8:15 AM, George Gastaldi wrote: > Hi Pablo. > > Does it happen everytime? Could you paste2.org your logs in > ~/.forge/logs/? > > Thanks > > > Em 12/02/2014, ?s 08:24, Pablo Palazon > escreveu: > > > > Hi forge users, > > > > I'm using Forge 2.0.0.Final, and I have some problems with command > execution on forge CLI. When I execute any command, for example 'ls', I > have this reply: > > > > Exception when parsing/running: ls, Could not create instance of > [org.jboss.forge.addon.devtools.java.RegisterAsServiceCommand] through > reflection. > > > > That's my environment vars > > > > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 > 17:22:22+0200) > > Maven home: /proyectos/javatools/apache-maven/apache-maven-3.1.1 > > Java version: 1.7.0_51, vendor: Oracle Corporation > > Java home: /opt/java/jdk1.7.0_51/jre > > Default locale: en_US, platform encoding: UTF-8 > > OS name: "linux", version: "3.8.0-33-generic", arch: "amd64", family: > "unix" > > > > Thanks so much in advance. > > _______________________________________________ > > 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/20140212/19f053c9/attachment.html From forge-users at lists.jboss.org Wed Feb 12 13:18:57 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Wed, 12 Feb 2014 13:18:57 EST Subject: [forge-users] Scaffold error in Forge 2.0 In-Reply-To: <1876505588.141391612919653.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <717153959.11392229167447.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Vineet and George, Sorry for my delay, but i still with errors in Forge 2, but, in Forge 1.44 i can run scaffould normal and without errors. In attach my project with one entity. If can help in get a solution, i'm using Java 1.7.41 and Mac Os X 10.9 Posted by forums Original post: https://community.jboss.org/message/857372#857372 -------------- next part -------------- A non-text attachment was scrubbed... Name: UrnaSocial.zip Type: application/zip Size: 87834 bytes Desc: not available Url : http://lists.jboss.org/pipermail/forge-users/attachments/20140212/70c2fbb5/attachment-0001.zip From pablo.palazon at gmail.com Wed Feb 12 13:28:07 2014 From: pablo.palazon at gmail.com (Pablo Palazon) Date: Wed, 12 Feb 2014 19:28:07 +0100 Subject: [forge-users] Forge 2. Exception when parsing/running In-Reply-To: References: <922FFEC7-9576-4505-8F7F-AF3AA415AD91@redhat.com> Message-ID: Hi, Thanks for your replies. That's is my .forge/log/forge.log http://paste2.org/MVBU3A61 I'm trying to execute some commands, but there aren't any output of this error. And this is the 'forge --list' /home/ppalazon/.forge/addons: org.jboss.forge.addon:dev-tools-java,2.0.0.Final org.jboss.forge.addon:scaffold,2.0.0.Final org.jboss.forge.addon:scaffold-spi,2.0.0.Final org.jboss.forge.addon:scaffold-faces,2.0.0.Final org.jboss.forge.addon:database-tools,2.0.0.Final org.jboss.forge.addon:maven,2.0.0.Final org.jboss.forge.addon:addons,2.0.0.Final org.jboss.forge.addon:shell-spi,2.0.0.Final org.jboss.forge.addon:shell,2.0.0.Final org.jboss.forge.addon:parser-java,2.0.0.Final org.jboss.forge.addon:dependencies,2.0.0.Final org.jboss.forge.addon:projects,2.0.0.Final org.jboss.forge.addon:parser-xml,2.0.0.Final org.jboss.forge.furnace.container:simple,2.0.0.Final org.jboss.forge.addon:text,2.0.0.Final org.jboss.forge.addon:templates-spi,2.0.0.Final org.jboss.forge.addon:templates,2.0.0.Final org.jboss.forge.addon:javaee,2.0.0.Final org.jboss.forge.addon:addon-manager-spi,2.0.0.Final org.jboss.forge.addon:addon-manager,2.0.0.Final org.jboss.forge.addon:configuration,2.0.0.Final org.jboss.forge.addon:resources,2.0.0.Final org.jboss.forge.addon:convert,2.0.0.Final org.jboss.forge.addon:environment,2.0.0.Final org.jboss.forge.addon:ui-spi,2.0.0.Final org.jboss.forge.addon:ui,2.0.0.Final org.jboss.forge.furnace.container:cdi,2.0.0.Final org.jboss.forge.addon:facets,2.0.0.Final org.jboss.forge.addon:core,2.0.0.Final Thanks another time. On Wed, Feb 12, 2014 at 5:52 PM, Lincoln Baxter, III < lincolnbaxter at gmail.com> wrote: > Pablo, > > Could you also paste the results of "forge --list" from the command line > (while forge is NOT running.) This should let us know what version of > addons you are running. Thank you! > > ~Lincoln > > > On Wed, Feb 12, 2014 at 8:15 AM, George Gastaldi wrote: > >> Hi Pablo. >> >> Does it happen everytime? Could you paste2.org your logs in >> ~/.forge/logs/? >> >> Thanks >> >> > Em 12/02/2014, ?s 08:24, Pablo Palazon >> escreveu: >> > >> > Hi forge users, >> > >> > I'm using Forge 2.0.0.Final, and I have some problems with command >> execution on forge CLI. When I execute any command, for example 'ls', I >> have this reply: >> > >> > Exception when parsing/running: ls, Could not create instance of >> [org.jboss.forge.addon.devtools.java.RegisterAsServiceCommand] through >> reflection. >> > >> > That's my environment vars >> > >> > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; >> 2013-09-17 17:22:22+0200) >> > Maven home: /proyectos/javatools/apache-maven/apache-maven-3.1.1 >> > Java version: 1.7.0_51, vendor: Oracle Corporation >> > Java home: /opt/java/jdk1.7.0_51/jre >> > Default locale: en_US, platform encoding: UTF-8 >> > OS name: "linux", version: "3.8.0-33-generic", arch: "amd64", family: >> "unix" >> > >> > Thanks so much in advance. >> > _______________________________________________ >> > 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/20140212/46ebb000/attachment.html From pablo.palazon at gmail.com Wed Feb 12 13:36:09 2014 From: pablo.palazon at gmail.com (Pablo Palazon) Date: Wed, 12 Feb 2014 19:36:09 +0100 Subject: [forge-users] Forge 2. Exception when parsing/running In-Reply-To: References: <922FFEC7-9576-4505-8F7F-AF3AA415AD91@redhat.com> Message-ID: Hi again, That's the log with debug log level when I execute ls command, and produce the error. http://paste2.org/ze4EeJUD Thanks On Wed, Feb 12, 2014 at 5:52 PM, Lincoln Baxter, III < lincolnbaxter at gmail.com> wrote: > Pablo, > > Could you also paste the results of "forge --list" from the command line > (while forge is NOT running.) This should let us know what version of > addons you are running. Thank you! > > ~Lincoln > > > On Wed, Feb 12, 2014 at 8:15 AM, George Gastaldi wrote: > >> Hi Pablo. >> >> Does it happen everytime? Could you paste2.org your logs in >> ~/.forge/logs/? >> >> Thanks >> >> > Em 12/02/2014, ?s 08:24, Pablo Palazon >> escreveu: >> > >> > Hi forge users, >> > >> > I'm using Forge 2.0.0.Final, and I have some problems with command >> execution on forge CLI. When I execute any command, for example 'ls', I >> have this reply: >> > >> > Exception when parsing/running: ls, Could not create instance of >> [org.jboss.forge.addon.devtools.java.RegisterAsServiceCommand] through >> reflection. >> > >> > That's my environment vars >> > >> > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; >> 2013-09-17 17:22:22+0200) >> > Maven home: /proyectos/javatools/apache-maven/apache-maven-3.1.1 >> > Java version: 1.7.0_51, vendor: Oracle Corporation >> > Java home: /opt/java/jdk1.7.0_51/jre >> > Default locale: en_US, platform encoding: UTF-8 >> > OS name: "linux", version: "3.8.0-33-generic", arch: "amd64", family: >> "unix" >> > >> > Thanks so much in advance. >> > _______________________________________________ >> > 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/20140212/4a0c5386/attachment.html From lincolnbaxter at gmail.com Wed Feb 12 16:09:46 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Wed, 12 Feb 2014 16:09:46 -0500 Subject: [forge-users] Forge 2. Exception when parsing/running In-Reply-To: References: <922FFEC7-9576-4505-8F7F-AF3AA415AD91@redhat.com> Message-ID: Hey Pablo, Do you have the Forge 2 source code checked out? If so, could you do me a favor? Make sure you have this project in your eclipse/IDE workspace: https://github.com/forge/furnace-simple Start forge with `forge --debug` and attach the debugger via the instructions here: http://forge.jboss.org/docs/using/debugging-forge.html Set a breakpoint in this class: https://github.com/forge/furnace-simple/blob/master/impl/src/main/java/org/jboss/forge/furnace/container/simple/impl/SimpleExportedInstanceImpl.java#L53 Then run the 'ls' command and your breakpoint should be hit. Could you find the exception there and tell us as much as possible about what is going on? I know this is a lot, but I can't reproduce this issue locally. Thanks! This would be a BIG help. ~Lincoln On Wed, Feb 12, 2014 at 1:36 PM, Pablo Palazon wrote: > Hi again, > > That's the log with debug log level when I execute ls command, and produce > the error. > > http://paste2.org/ze4EeJUD > > Thanks > > > On Wed, Feb 12, 2014 at 5:52 PM, Lincoln Baxter, III < > lincolnbaxter at gmail.com> wrote: > >> Pablo, >> >> Could you also paste the results of "forge --list" from the command line >> (while forge is NOT running.) This should let us know what version of >> addons you are running. Thank you! >> >> ~Lincoln >> >> >> On Wed, Feb 12, 2014 at 8:15 AM, George Gastaldi wrote: >> >>> Hi Pablo. >>> >>> Does it happen everytime? Could you paste2.org your logs in >>> ~/.forge/logs/? >>> >>> Thanks >>> >>> > Em 12/02/2014, ?s 08:24, Pablo Palazon >>> escreveu: >>> > >>> > Hi forge users, >>> > >>> > I'm using Forge 2.0.0.Final, and I have some problems with command >>> execution on forge CLI. When I execute any command, for example 'ls', I >>> have this reply: >>> > >>> > Exception when parsing/running: ls, Could not create instance of >>> [org.jboss.forge.addon.devtools.java.RegisterAsServiceCommand] through >>> reflection. >>> > >>> > That's my environment vars >>> > >>> > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; >>> 2013-09-17 17:22:22+0200) >>> > Maven home: /proyectos/javatools/apache-maven/apache-maven-3.1.1 >>> > Java version: 1.7.0_51, vendor: Oracle Corporation >>> > Java home: /opt/java/jdk1.7.0_51/jre >>> > Default locale: en_US, platform encoding: UTF-8 >>> > OS name: "linux", version: "3.8.0-33-generic", arch: "amd64", family: >>> "unix" >>> > >>> > Thanks so much in advance. >>> > _______________________________________________ >>> > 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 > -- 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/20140212/bfddb6c1/attachment-0001.html From pablo.palazon at gmail.com Thu Feb 13 06:09:24 2014 From: pablo.palazon at gmail.com (Pablo Palazon) Date: Thu, 13 Feb 2014 12:09:24 +0100 Subject: [forge-users] Forge 2. Exception when parsing/running In-Reply-To: References: <922FFEC7-9576-4505-8F7F-AF3AA415AD91@redhat.com> Message-ID: Hi Lincoln, On, SimpleExportedInstanceImpl.java#L43, throws this exception: java.lang.NoSuchMethodException: org.jboss.forge.addon.devtools.java.RegisterAsServiceCommand.(org.jboss.forge.furnace.Furnace) And then, on SimpleExportedInstanceImpl.java#L48, throws another exception: org.jboss.forge.furnace.exception.ContainerException: No services of type [org.jboss.forge.addon.ui.input.InputComponentFactory] could be found in any started addons. The variable 'type' is a instance of Class The variable 'addon' org.jboss.forge.addon:dev-tools-java,2.0.0.Final +STARTED HC: 754457738 The variable 'furnace': - org.jboss.forge.addon:maven,2.0.0.Final +STARTED HC: 1610500533 - org.jboss.forge.addon:addon-manager-spi,2.0.0.Final +STARTED HC: 748079953 - org.jboss.forge.addon:scaffold,2.0.0.Final +STARTED HC: 615545734 - org.jboss.forge.addon:shell-spi,2.0.0.Final +STARTED HC: 604104855 - org.jboss.forge.addon:dev-tools-java,2.0.0.Final +STARTED HC: 754457738 - org.jboss.forge.addon:core,2.0.0.Final +STARTED HC: 223373568 - org.jboss.forge.addon:projects,2.0.0.Final +STARTED HC: 2035098616 - org.jboss.forge.addon:addons,2.0.0.Final +STARTED HC: 1048423739 - org.jboss.forge.addon:environment,2.0.0.Final +STARTED HC: 923692046 - org.jboss.forge.addon:scaffold-faces,2.0.0.Final +STARTED HC: 1982632907 - org.jboss.forge.addon:shell,2.0.0.Final +STARTED HC: 1963251698 - org.jboss.forge.addon:templates,2.0.0.Final +STARTED HC: 1515326872 - org.jboss.forge.addon:database-tools,2.0.0.Final +STARTED HC: 1427750678 - org.jboss.forge.addon:templates-spi,2.0.0.Final +STARTED HC: 947783753 - org.jboss.forge.addon:configuration,2.0.0.Final +STARTED HC: 798571343 - org.jboss.forge.addon:facets,2.0.0.Final +STARTED HC: 332932959 - org.jboss.forge.addon:parser-xml,2.0.0.Final +STARTED HC: 930393343 - org.jboss.forge.addon:ui-spi,2.0.0.Final +STARTED HC: 1409341478 - org.jboss.forge.addon:javaee,2.0.0.Final +STARTED HC: 121940113 - org.jboss.forge.addon:parser-java,2.0.0.Final +STARTED HC: 1090167931 - org.jboss.forge.furnace.container:simple,2.0.0.Final +STARTED HC: 1217654007 - org.jboss.forge.addon:scaffold-spi,2.0.0.Final +STARTED HC: 285052131 - org.jboss.forge.addon:addon-manager,2.0.0.Final +STARTED HC: 1755001097 - org.jboss.forge.addon:dependencies,2.0.0.Final +STARTED HC: 1739223386 - org.jboss.forge.addon:convert,2.0.0.Final +STARTED HC: 57594336 - org.jboss.forge.furnace.container:cdi,2.0.0.Final +STARTED HC: 593506875 - org.jboss.forge.addon:resources,2.0.0.Final +STARTED HC: 1620364002 - org.jboss.forge.addon:text,2.0.0.Final +STARTED HC: 1292481994 - org.jboss.forge.addon:ui,2.0.0.Final +STARTED HC: 1727529185 And, that's a dump of running thread "AeshProcess: 1 at 4299" prio=5 tid=0x3a nid=NA runnable java.lang.Thread.State: RUNNABLE at org.jboss.forge.furnace.container.simple.impl.SimpleExportedInstanceImpl.get(SimpleExportedInstanceImpl.java:53) at org.jboss.forge.furnace.impl.addons.ImportedImpl$ImportedIteratorImpl.next(ImportedImpl.java:195) at org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl.getCommands(CommandFactoryImpl.java:38) - locked <0x105f> (a org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl) at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) at org.jboss.forge.addon.ui.impl.command.CommandFactoryImpl_$$_javassist_72cb1dee-a96a-4edf-9a11-87e8af49a0e4.getCommands(CommandFactoryImpl_$$_javassist_72cb1dee-a96a-4edf-9a11-87e8af49a0e4.java:-1) at org.jboss.forge.addon.shell.CommandManager.getAllCommands(CommandManager.java:64) at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.findCommand(ForgeCommandRegistry.java:123) at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getForgeCommand(ForgeCommandRegistry.java:102) at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getCommand(ForgeCommandRegistry.java:77) at org.jboss.aesh.console.AeshConsoleImpl.getCommand(AeshConsoleImpl.java:211) at org.jboss.aesh.console.AeshConsoleImpl.access$100(AeshConsoleImpl.java:48) at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:275) at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:41) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) I hope that help you. And thanks so much for your attention. On Wed, Feb 12, 2014 at 10:09 PM, Lincoln Baxter, III < lincolnbaxter at gmail.com> wrote: > Hey Pablo, > > Do you have the Forge 2 source code checked out? If so, could you do me a > favor? Make sure you have this project in your eclipse/IDE workspace: > > https://github.com/forge/furnace-simple > > Start forge with `forge --debug` and attach the debugger via the > instructions here: > > http://forge.jboss.org/docs/using/debugging-forge.html > > Set a breakpoint in this class: > > > https://github.com/forge/furnace-simple/blob/master/impl/src/main/java/org/jboss/forge/furnace/container/simple/impl/SimpleExportedInstanceImpl.java#L53 > > Then run the 'ls' command and your breakpoint should be hit. Could you > find the exception there and tell us as much as possible about what is > going on? > > I know this is a lot, but I can't reproduce this issue locally. > > Thanks! This would be a BIG help. > > ~Lincoln > > > On Wed, Feb 12, 2014 at 1:36 PM, Pablo Palazon wrote: > >> Hi again, >> >> That's the log with debug log level when I execute ls command, and >> produce the error. >> >> http://paste2.org/ze4EeJUD >> >> Thanks >> >> >> On Wed, Feb 12, 2014 at 5:52 PM, Lincoln Baxter, III < >> lincolnbaxter at gmail.com> wrote: >> >>> Pablo, >>> >>> Could you also paste the results of "forge --list" from the command line >>> (while forge is NOT running.) This should let us know what version of >>> addons you are running. Thank you! >>> >>> ~Lincoln >>> >>> >>> On Wed, Feb 12, 2014 at 8:15 AM, George Gastaldi wrote: >>> >>>> Hi Pablo. >>>> >>>> Does it happen everytime? Could you paste2.org your logs in >>>> ~/.forge/logs/? >>>> >>>> Thanks >>>> >>>> > Em 12/02/2014, ?s 08:24, Pablo Palazon >>>> escreveu: >>>> > >>>> > Hi forge users, >>>> > >>>> > I'm using Forge 2.0.0.Final, and I have some problems with command >>>> execution on forge CLI. When I execute any command, for example 'ls', I >>>> have this reply: >>>> > >>>> > Exception when parsing/running: ls, Could not create instance of >>>> [org.jboss.forge.addon.devtools.java.RegisterAsServiceCommand] through >>>> reflection. >>>> > >>>> > That's my environment vars >>>> > >>>> > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; >>>> 2013-09-17 17:22:22+0200) >>>> > Maven home: /proyectos/javatools/apache-maven/apache-maven-3.1.1 >>>> > Java version: 1.7.0_51, vendor: Oracle Corporation >>>> > Java home: /opt/java/jdk1.7.0_51/jre >>>> > Default locale: en_US, platform encoding: UTF-8 >>>> > OS name: "linux", version: "3.8.0-33-generic", arch: "amd64", family: >>>> "unix" >>>> > >>>> > Thanks so much in advance. >>>> > _______________________________________________ >>>> > 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 >> > > > > -- > 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/20140213/c481bdda/attachment.html From pablo.palazon at gmail.com Thu Feb 13 09:50:35 2014 From: pablo.palazon at gmail.com (Pablo Palazon) Date: Thu, 13 Feb 2014 15:50:35 +0100 Subject: [forge-users] Forge 2. Exception when parsing/running In-Reply-To: References: <922FFEC7-9576-4505-8F7F-AF3AA415AD91@redhat.com> Message-ID: Hey, It was a strange error because there was an ClassNotFoundException of org.jboss.forge.addon.ui.impl.input.InputComponentProducer, and I don't know why. On forge bootstrap when UI addon is loading. All necessary jars has been installed, included ui-impl-2.0.0.Final.jar I deleted .forge directory and local maven repository of /org/jboss/forge, and I installed another time Forge 2. The error was rid, but I don't know why. Thanks so much for your attention On Wed, Feb 12, 2014 at 10:09 PM, Lincoln Baxter, III < lincolnbaxter at gmail.com> wrote: > Hey Pablo, > > Do you have the Forge 2 source code checked out? If so, could you do me a > favor? Make sure you have this project in your eclipse/IDE workspace: > > https://github.com/forge/furnace-simple > > Start forge with `forge --debug` and attach the debugger via the > instructions here: > > http://forge.jboss.org/docs/using/debugging-forge.html > > Set a breakpoint in this class: > > > https://github.com/forge/furnace-simple/blob/master/impl/src/main/java/org/jboss/forge/furnace/container/simple/impl/SimpleExportedInstanceImpl.java#L53 > > Then run the 'ls' command and your breakpoint should be hit. Could you > find the exception there and tell us as much as possible about what is > going on? > > I know this is a lot, but I can't reproduce this issue locally. > > Thanks! This would be a BIG help. > > ~Lincoln > > > On Wed, Feb 12, 2014 at 1:36 PM, Pablo Palazon wrote: > >> Hi again, >> >> That's the log with debug log level when I execute ls command, and >> produce the error. >> >> http://paste2.org/ze4EeJUD >> >> Thanks >> >> >> On Wed, Feb 12, 2014 at 5:52 PM, Lincoln Baxter, III < >> lincolnbaxter at gmail.com> wrote: >> >>> Pablo, >>> >>> Could you also paste the results of "forge --list" from the command line >>> (while forge is NOT running.) This should let us know what version of >>> addons you are running. Thank you! >>> >>> ~Lincoln >>> >>> >>> On Wed, Feb 12, 2014 at 8:15 AM, George Gastaldi wrote: >>> >>>> Hi Pablo. >>>> >>>> Does it happen everytime? Could you paste2.org your logs in >>>> ~/.forge/logs/? >>>> >>>> Thanks >>>> >>>> > Em 12/02/2014, ?s 08:24, Pablo Palazon >>>> escreveu: >>>> > >>>> > Hi forge users, >>>> > >>>> > I'm using Forge 2.0.0.Final, and I have some problems with command >>>> execution on forge CLI. When I execute any command, for example 'ls', I >>>> have this reply: >>>> > >>>> > Exception when parsing/running: ls, Could not create instance of >>>> [org.jboss.forge.addon.devtools.java.RegisterAsServiceCommand] through >>>> reflection. >>>> > >>>> > That's my environment vars >>>> > >>>> > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; >>>> 2013-09-17 17:22:22+0200) >>>> > Maven home: /proyectos/javatools/apache-maven/apache-maven-3.1.1 >>>> > Java version: 1.7.0_51, vendor: Oracle Corporation >>>> > Java home: /opt/java/jdk1.7.0_51/jre >>>> > Default locale: en_US, platform encoding: UTF-8 >>>> > OS name: "linux", version: "3.8.0-33-generic", arch: "amd64", family: >>>> "unix" >>>> > >>>> > Thanks so much in advance. >>>> > _______________________________________________ >>>> > 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 >> > > > > -- > 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/20140213/6da81d86/attachment-0001.html From lincolnbaxter at gmail.com Thu Feb 13 11:31:10 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Thu, 13 Feb 2014 11:31:10 -0500 Subject: [forge-users] Forge 2. Exception when parsing/running In-Reply-To: References: <922FFEC7-9576-4505-8F7F-AF3AA415AD91@redhat.com> Message-ID: Hey Pablo, Thanks for taking a very detailed look at this! Based on your findings, I believe that this issue has been resolved in the 2.0.1-SNAPSHOT code (there was an issue where classes were being compared for equality by their hash code, which is not correct. We've since switched to using the class name and issues such as this one (where classes of the incorrect type show up in odd places) seem to be resolved. Again, I really appreciate you taking the time to dig into this problem for us! ~Lincoln On Thu, Feb 13, 2014 at 9:50 AM, Pablo Palazon wrote: > Hey, > > It was a strange error because there was an ClassNotFoundException > of org.jboss.forge.addon.ui.impl.input.InputComponentProducer, and I don't > know why. On forge bootstrap when UI addon is loading. All necessary jars > has been installed, included ui-impl-2.0.0.Final.jar > > I deleted .forge directory and local maven repository of /org/jboss/forge, > and I installed another time Forge 2. The error was rid, but I don't know > why. > > Thanks so much for your attention > > > On Wed, Feb 12, 2014 at 10:09 PM, Lincoln Baxter, III < > lincolnbaxter at gmail.com> wrote: > >> Hey Pablo, >> >> Do you have the Forge 2 source code checked out? If so, could you do me a >> favor? Make sure you have this project in your eclipse/IDE workspace: >> >> https://github.com/forge/furnace-simple >> >> Start forge with `forge --debug` and attach the debugger via the >> instructions here: >> >> http://forge.jboss.org/docs/using/debugging-forge.html >> >> Set a breakpoint in this class: >> >> >> https://github.com/forge/furnace-simple/blob/master/impl/src/main/java/org/jboss/forge/furnace/container/simple/impl/SimpleExportedInstanceImpl.java#L53 >> >> Then run the 'ls' command and your breakpoint should be hit. Could you >> find the exception there and tell us as much as possible about what is >> going on? >> >> I know this is a lot, but I can't reproduce this issue locally. >> >> Thanks! This would be a BIG help. >> >> ~Lincoln >> >> >> On Wed, Feb 12, 2014 at 1:36 PM, Pablo Palazon wrote: >> >>> Hi again, >>> >>> That's the log with debug log level when I execute ls command, and >>> produce the error. >>> >>> http://paste2.org/ze4EeJUD >>> >>> Thanks >>> >>> >>> On Wed, Feb 12, 2014 at 5:52 PM, Lincoln Baxter, III < >>> lincolnbaxter at gmail.com> wrote: >>> >>>> Pablo, >>>> >>>> Could you also paste the results of "forge --list" from the command >>>> line (while forge is NOT running.) This should let us know what version of >>>> addons you are running. Thank you! >>>> >>>> ~Lincoln >>>> >>>> >>>> On Wed, Feb 12, 2014 at 8:15 AM, George Gastaldi wrote: >>>> >>>>> Hi Pablo. >>>>> >>>>> Does it happen everytime? Could you paste2.org your logs in >>>>> ~/.forge/logs/? >>>>> >>>>> Thanks >>>>> >>>>> > Em 12/02/2014, ?s 08:24, Pablo Palazon >>>>> escreveu: >>>>> > >>>>> > Hi forge users, >>>>> > >>>>> > I'm using Forge 2.0.0.Final, and I have some problems with command >>>>> execution on forge CLI. When I execute any command, for example 'ls', I >>>>> have this reply: >>>>> > >>>>> > Exception when parsing/running: ls, Could not create instance of >>>>> [org.jboss.forge.addon.devtools.java.RegisterAsServiceCommand] through >>>>> reflection. >>>>> > >>>>> > That's my environment vars >>>>> > >>>>> > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; >>>>> 2013-09-17 17:22:22+0200) >>>>> > Maven home: /proyectos/javatools/apache-maven/apache-maven-3.1.1 >>>>> > Java version: 1.7.0_51, vendor: Oracle Corporation >>>>> > Java home: /opt/java/jdk1.7.0_51/jre >>>>> > Default locale: en_US, platform encoding: UTF-8 >>>>> > OS name: "linux", version: "3.8.0-33-generic", arch: "amd64", >>>>> family: "unix" >>>>> > >>>>> > Thanks so much in advance. >>>>> > _______________________________________________ >>>>> > 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 >>> >> >> >> >> -- >> 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 > -- 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/20140213/c606b604/attachment.html From forge-users at lists.jboss.org Thu Feb 13 13:39:15 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 13 Feb 2014 13:39:15 EST Subject: [forge-users] Map Entities to Different Table Name? Message-ID: <897811895.81392316853923.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Has anyone found a way to tell forge to map Entities or Columns to a table schema that's not exactly the same as the POJO name/field? For instance, for POJO TimeZone, our company standard is to create the table as TIME_ZONE (underscore). Of course we change this after forge runs with annotations of @Table(name="TIME_ZONE") or @Column(name="TIME_ZONE_CODE"), but it would be really nice if there's a way to specify this during forge scripting for easier and better prototyping. Or, has anyone started a plugin for this? We'd love to help. Cheers! Larry Posted by forums Original post: https://community.jboss.org/message/857566#857566 From lincolnbaxter at gmail.com Thu Feb 13 13:57:06 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Thu, 13 Feb 2014 13:57:06 -0500 Subject: [forge-users] Map Entities to Different Table Name? In-Reply-To: <897811895.81392316853923.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <897811895.81392316853923.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Hey Larry, I don't think we currently have a way of specifying the table name or column name at command execution time. This would be a good feature to request in our JIRA issue tracker. https://jira.jboss.org/jira/browse/FORGE Thanks! ~Lincoln On Thu, Feb 13, 2014 at 1:39 PM, wrote: > Has anyone found a way to tell forge to map Entities or Columns to a table > schema that's not exactly the same as the POJO name/field? > > For instance, for POJO TimeZone, our company standard is to create the > table as TIME_ZONE (underscore). Of course we change this after forge runs > with annotations of @Table(name="TIME_ZONE") or > @Column(name="TIME_ZONE_CODE"), but it would be really nice if there's a > way to specify this during forge scripting for easier and better > prototyping. > > Or, has anyone started a plugin for this? We'd love to help. > > Cheers! > Larry > > Posted by forums > Original post: https://community.jboss.org/message/857566#857566 > _______________________________________________ > 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/20140213/5f5de08b/attachment.html From lincolnbaxter at gmail.com Thu Feb 13 13:57:39 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Thu, 13 Feb 2014 13:57:39 -0500 Subject: [forge-users] Map Entities to Different Table Name? In-Reply-To: References: <897811895.81392316853923.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: And If you're feeling really adventurous you could work on implementing it too ;) We love contributions! On Thu, Feb 13, 2014 at 1:57 PM, Lincoln Baxter, III < lincolnbaxter at gmail.com> wrote: > Hey Larry, > > I don't think we currently have a way of specifying the table name or > column name at command execution time. This would be a good feature to > request in our JIRA issue tracker. > > https://jira.jboss.org/jira/browse/FORGE > > Thanks! > ~Lincoln > > > On Thu, Feb 13, 2014 at 1:39 PM, wrote: > >> Has anyone found a way to tell forge to map Entities or Columns to a >> table schema that's not exactly the same as the POJO name/field? >> >> For instance, for POJO TimeZone, our company standard is to create the >> table as TIME_ZONE (underscore). Of course we change this after forge runs >> with annotations of @Table(name="TIME_ZONE") or >> @Column(name="TIME_ZONE_CODE"), but it would be really nice if there's a >> way to specify this during forge scripting for easier and better >> prototyping. >> >> Or, has anyone started a plugin for this? We'd love to help. >> >> Cheers! >> Larry >> >> Posted by forums >> Original post: https://community.jboss.org/message/857566#857566 >> _______________________________________________ >> 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." > -- 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/20140213/6bfda99e/attachment-0001.html From forge-users at lists.jboss.org Sun Feb 16 03:40:07 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sun, 16 Feb 2014 03:40:07 EST Subject: [forge-users] Sifresiz IZLE )] Bjk Bursaspor Canli Maci Izle Lig TV Izle Message-ID: <2114741957.11392540038364.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Be?ikta?, Bursaspor ile Atat?rk Olimpiyat Stad??nda kar??la?acak. Be?ikta?, Gaziantepspor ve Kas?mpa?a galibiyetiyle ciddi ?ekilde ?ampiyonluk potas?na girdi. Tak?m?n bask? alt?na girmemesi ad?na teknik direkt?r Slaven Bilic, ?mraniye?de ?ampiyonluk kelimesini yasaklad?. Ancak siyah-beyazl?lar ?u an ciddi ?ekilde kenetlenmi? durumda. Be?ikta? ligin ilk yar?s?nda son y?llar?n belki de en iyi oyununu oynayarak ma?lup etti?i Bursaspor ile zorlu bir kar??la?maya ??kacak.Be?ikta?, Bursaspor ile Atat?rk Olimpiyat Stad??nda kar??la?acak. Be?ikta?, Gaziantepspor ve Kas?mpa?a galibiyetiyle ciddi ?ekilde ?ampiyonluk potas?na girdi. Tak?m?n bask? alt?na girmemesi ad?na teknik direkt?r Slaven Bilic, ?mraniye?de ?ampiyonluk kelimesini yasaklad?. Ancak siyah-beyazl?lar ?u an ciddi ?ekilde kenetlenmi? durumda oynayarak ma?lup etti?i Bursaspor ile zorlu bir kar??la?maya ??kacak. (http://inci.ca/ut9plhi4ac) Be?ikta? ? Bursaspor Ma??n? Canl? izle 16 ?ubat 2014, Be?ikta? ? Bursaspor Canl? Ma? izle 16 ?ubat 2014, Be?ikta? ? Bursaspor Ma?? Justin Tv Canl? izle 16 ?ubat 2014, Be?ikta? ? Bursaspor Ma? Yay?n? Canl? izle, Lig Tv Be?ikta? ? Bursaspor Ma?? Canl? izle 16 ?ubat 2014, Justin Tv Be?ikta? ? Bursaspor Ma?? Canl? izle 16 ?ubat 2014, Be?ikta? ? Bursaspor Ma?? Lig Tv Canl? izle 16.02.2014, Be?ikta? ? Bursaspor Ma? ?zeti Goller 16 ?ubat 2014, Be?ikta? ? Bursaspor Online 16.02.2014, Be?ikta? ? Bursaspor Ma?? Saat Ka?ta? Hangi Kanalda? 16 ?ubat 2014 Posted by forums Original post: https://community.jboss.org/message/857864#857864 From forge-users at lists.jboss.org Sun Feb 16 06:43:21 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sun, 16 Feb 2014 06:43:21 EST Subject: [forge-users] Sifresiz IZLE )] Bjk Bursaspor Canli Maci Izle Lig TV Izle In-Reply-To: <2114741957.11392540038364.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <459771981.21392551032145.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Image:live-streaming-football.jpg (http://x.co/3kNIP) Image:live-streaming-football.jpg (http://x.co/3kNIP) Image:live-streaming-football.jpg (http://x.co/3kNIP) Image:live-streaming-football.jpg (http://x.co/3kNIP) Image:live-streaming-football.jpg (http://x.co/3kNIP) Image:live-streaming-football.jpg (http://x.co/3kNIP) Posted by forums Original post: https://community.jboss.org/message/857867#857867 From forge-users at lists.jboss.org Sun Feb 16 11:40:22 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sun, 16 Feb 2014 11:40:22 EST Subject: [forge-users] =?utf-8?q?Fenerbah=C3=A7e__=E2=80=93_Kasimpasa_Ma?= =?utf-8?q?=C3=A7i_Canli_Izle_16_Subat_2014?= Message-ID: <114366980.31392568852479.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014 Izle Fenerbah?e? ? Kasimpasa canli akisi 16 Subat 2014,Fenerbah?e? ? Kasimpasa arasindaki ma? Bilgi - ma? Fenerbah?e? ? Kasimpasa online izleyin. Biz her iki takimin taraftarlari canli skor,Fenerbah?e? ? Kasimpasa ?nizleme, recaps ve burada golleri zevk umuyoruz. Peki ben hedefleri Video Fenerbah?e? ? Kasimpasa skoru sonucu ?cretsiz izleyebilirsiniz? burada bu sitede ma? izleyebilirsiniz. Sourcemontre akisi Fenerbah?e? ? Kasimpasa canli g?r?nt? 16 Subat 2014. video youtube google ve diger canli izle. *Fenerbah?e? ? Kasimpasa* *MACi iZLEMEK i?iN TiKLA* (http://goo.gl/lyC3Wi) Sitesi Wiki foot: oyunlari futbol ma?lari canli izle canli izlemek i?in sundugu, canli t?m yeni spor takimlari ma? ve izlemek akisi, size futbol akisi her izlemek saglamak i?in baglantilar toplamak ve Canli: Sampiyonlar Ligi, Ligue 1, Premier Lig, La Liga, Serie A, Bundesliga ve Eurosport spor kanallari SportPlus TV, Al Jazeera Sports, turuncu spor diger Avrupa ligleri ... Ayrica, Euro 2012 uluslararasi etkinlikler ve canli D?nya Kupasi gibi uluslararasi yarismalar takip edebilirsiniz ... Akisi futbol ve kaliteli akisi oyunlari izlemek i?in, canli futbol ma? ve internet ?zerinden ma?lari canli futbol takip ziyaret, ?cretsiz Mater Ligue 1, Sampiyonlar Ligi, Avrupa Ligi, D?nya Kupasi, yasayabilir. Bir futbol oyunu skoru takip Aljazeera ayak yasamak ve en son futbol sonu?lari g?rmek. Bir futbol ma?i canli ve ?cretsiz kolay olmamisti izlerken, d?nyanin 300 yarismalar ?zerinde puan canli futbol: Lig 1, Lig 2, Premier Lig, La Liga, Serie A, Bundesliga, Sampiyonlar Ligi , Avrupa Ligi, Euro 2012, ve digerleri. Bu site Canli online ma? Fenerbah?e? ? Kasimpasa izlemek i?in eglenceli baglantilar saglar. Sitemiz herhangi bir sitede daha Fenerbah?e? ? Kasimpasa ma?i izlemek i?in daha fazla akarsu ve eglenceli daha fazla baglanti saglar. Simdi, bu evinizin konforunda terk etmek gerekli degildir,Fenerbah?e? ? Kasimpasa t?m eylem bilgisayarinizda canli takip etmek i?in arkadaslarinizi davet edebilirsiniz.Izle Fenerbah?e? ? Kasimpasa canli akisi 16 Subat 2014,Fenerbah?e? ? Kasimpasa arasindaki ma? Bilgi - ma? Fenerbah?e? ? Kasimpasa online izleyin. Biz her iki takimin taraftarlari canli skor,Fenerbah?e? ? Kasimpasa ?nizleme, recaps ve burada golleri zevk umuyoruz. Peki ben hedefleri Video Fenerbah?e? ? Kasimpasa skoru sonucu ?cretsiz izleyebilirsiniz? burada bu sitede ma? izleyebilirsiniz. Sourcemontre akisi Fenerbah?e? ? Kasimpasa canli g?r?nt? 16 Subat 2014. video youtube google ve diger canli izle.Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014,Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014mFenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014,Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014,Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014,Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014,Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014,Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014,Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014,Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014,Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014,Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014,Fenerbah?e? ? Kasimpasa Ma?i Canli Izle 16 Subat 2014. Posted by forums Original post: https://community.jboss.org/message/857877#857877 From antonio.mailing at gmail.com Sun Feb 16 15:48:29 2014 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Sun, 16 Feb 2014 21:48:29 +0100 Subject: [forge-users] How do I run Forge shell from the code ? Message-ID: Hi developers, I've cloned Forge 2 code on my local computer, I create pull/requests, test new functionalities.... But do you know how I actually run the command shell from the code ? If I run the org.jboss.forge.bootstrap.Bootstrap class (it has a *public static void *main method) the output just hangs (like when the Shell is not installed) : JBoss Forge, version [ 2.0.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ] So I thought of passing this argument to the Bootstrap class (--install org.jboss.forge.addon:core,2.0.1-SNAPSHOT) but there is a NPE at : String result = System.*console*().readLine(*"Confirm installation [Y/n]? "* ); So on debug mode I set the result to "Y" but after bootstrap.start(); the VM just stopped gently. I suppose the underlying question is : how do you run the shell once you have made a change and want to test it ? Antonio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-users/attachments/20140216/22606c65/attachment.html From ggastald at redhat.com Sun Feb 16 17:43:08 2014 From: ggastald at redhat.com (George Gastaldi) Date: Sun, 16 Feb 2014 17:43:08 -0500 (EST) Subject: [forge-users] How do I run Forge shell from the code ? In-Reply-To: References: Message-ID: <74A5E75D-6DF5-46EA-9588-B4048A61717F@redhat.com> Hi Antonio, There are two options: - I usually build the whole project (tests disabled), then go into dist/target and unzip the distribution. After that I remove my ~/.forge and install the core with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT -b. - create tests using the shell-test-harness. There is a sh script in the forge/core root that does the unzipping but I usually do it manually. > Em 16/02/2014, ?s 17:48, Antonio Goncalves escreveu: > > Hi developers, > > I've cloned Forge 2 code on my local computer, I create pull/requests, test new functionalities.... But do you know how I actually run the command shell from the code ? > > If I run the org.jboss.forge.bootstrap.Bootstrap class (it has a public static void main method) the output just hangs (like when the Shell is not installed) : > > JBoss Forge, version [ 2.0.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ] > > So I thought of passing this argument to the Bootstrap class (--install org.jboss.forge.addon:core,2.0.1-SNAPSHOT) but there is a NPE at : > > String result = System.console().readLine("Confirm installation [Y/n]? "); > > So on debug mode I set the result to "Y" but after bootstrap.start(); the VM just stopped gently. > > I suppose the underlying question is : how do you run the shell once you have made a change and want to test it ? > > Antonio > _______________________________________________ > 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/20140216/282461e2/attachment.html From antonio.mailing at gmail.com Mon Feb 17 06:10:26 2014 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Mon, 17 Feb 2014 12:10:26 +0100 Subject: [forge-users] How do I run Forge shell from the code ? In-Reply-To: <74A5E75D-6DF5-46EA-9588-B4048A61717F@redhat.com> References: <74A5E75D-6DF5-46EA-9588-B4048A61717F@redhat.com> Message-ID: Well, I also do the entire "remove my ~/.forge and install the core with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT -b"... but I thought there was something easier. So, from my IDE I cannot run a Main class somewhere that kick off Forge locally (without having to istall it) ? 2014-02-16 23:43 GMT+01:00 George Gastaldi : > Hi Antonio, > > There are two options: > > - I usually build the whole project (tests disabled), then go into > dist/target and unzip the distribution. After that I remove my ~/.forge and > install the core with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT > -b. > > - create tests using the shell-test-harness. > > There is a sh script in the forge/core root that does the unzipping but I > usually do it manually. > > Em 16/02/2014, ?s 17:48, Antonio Goncalves > escreveu: > > Hi developers, > > I've cloned Forge 2 code on my local computer, I create pull/requests, > test new functionalities.... But do you know how I actually run the command > shell from the code ? > > If I run the org.jboss.forge.bootstrap.Bootstrap class (it has a *public > static void *main method) the output just hangs (like when the Shell is > not installed) : > > JBoss Forge, version [ 2.0.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ > http://forge.jboss.org ] > > So I thought of passing this argument to the Bootstrap class (--install > org.jboss.forge.addon:core,2.0.1-SNAPSHOT) but there is a NPE at : > > String result = System.*console*().readLine(*"Confirm installation [Y/n]? > "*); > > So on debug mode I set the result to "Y" but after bootstrap.start(); the > VM just stopped gently. > I suppose the underlying question is : how do you run the shell once you > have made a change and want to test it ? > > Antonio > > _______________________________________________ > 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 > -- 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/20140217/c67f481c/attachment-0001.html From ggastald at redhat.com Mon Feb 17 07:05:07 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 17 Feb 2014 07:05:07 -0500 (EST) Subject: [forge-users] How do I run Forge shell from the code ? In-Reply-To: References: <74A5E75D-6DF5-46EA-9588-B4048A61717F@redhat.com> Message-ID: <703615C9-B488-4E31-A1F2-54E9182C9F96@redhat.com> I beliee the problem is that the default Console tab in Eclipse does not handle System.in very well (Tabs, etc). Koen is working in the Forge 2 Console view and should allow this very soon. > Em 17/02/2014, ?s 08:10, Antonio Goncalves escreveu: > > Well, I also do the entire "remove my ~/.forge and install the core with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT -b"... but I thought there was something easier. So, from my IDE I cannot run a Main class somewhere that kick off Forge locally (without having to istall it) ? > > > 2014-02-16 23:43 GMT+01:00 George Gastaldi : >> Hi Antonio, >> >> There are two options: >> >> - I usually build the whole project (tests disabled), then go into dist/target and unzip the distribution. After that I remove my ~/.forge and install the core with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT -b. >> >> - create tests using the shell-test-harness. >> >> There is a sh script in the forge/core root that does the unzipping but I usually do it manually. >> >>> Em 16/02/2014, ?s 17:48, Antonio Goncalves escreveu: >>> >> >>> Hi developers, >>> >>> I've cloned Forge 2 code on my local computer, I create pull/requests, test new functionalities.... But do you know how I actually run the command shell from the code ? >>> >>> If I run the org.jboss.forge.bootstrap.Bootstrap class (it has a public static void main method) the output just hangs (like when the Shell is not installed) : >>> >>> JBoss Forge, version [ 2.0.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ] >>> >>> So I thought of passing this argument to the Bootstrap class (--install org.jboss.forge.addon:core,2.0.1-SNAPSHOT) but there is a NPE at : >>> >>> String result = System.console().readLine("Confirm installation [Y/n]? "); >>> >>> So on debug mode I set the result to "Y" but after bootstrap.start(); the VM just stopped gently. >>> >>> I suppose the underlying question is : how do you run the shell once you have made a change and want to test it ? >>> >>> Antonio >>> _______________________________________________ >>> 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 > > > > -- > Antonio Goncalves > Software architect and Java Champion > > Web site | Twitter | LinkedIn | Paris JUG | Devoxx France > _______________________________________________ > 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/20140217/55f17185/attachment.html From lincolnbaxter at gmail.com Mon Feb 17 08:57:49 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Mon, 17 Feb 2014 08:57:49 -0500 Subject: [forge-users] How do I run Forge shell from the code ? In-Reply-To: <703615C9-B488-4E31-A1F2-54E9182C9F96@redhat.com> References: <74A5E75D-6DF5-46EA-9588-B4048A61717F@redhat.com> <703615C9-B488-4E31-A1F2-54E9182C9F96@redhat.com> Message-ID: Antonio, if I understand you correctly, you want to be able to run the Forge shell via the Forge sources in the IDE. Unfortunately there's not really a way to do that currently since as George says, the IDE terminals basically can't handle TAB characters or backspace very well. Though this does give me the idea that we should really provide this as a feature somehow if possible. Maybe as a "Run" type. "Run in Forge Console", so that you could try out any application in the Forge terminal. This would obviously let you run Forge sources as well (E.g. Running the Bootstrap class in the Forge Console would give you the same result as running the Forge Console and starting Forge via the green button. Koen, is this something you think we can do at some point? On Mon, Feb 17, 2014 at 7:05 AM, George Gastaldi wrote: > I beliee the problem is that the default Console tab in Eclipse does not > handle System.in very well (Tabs, etc). Koen is working in the Forge 2 > Console view and should allow this very soon. > > Em 17/02/2014, ?s 08:10, Antonio Goncalves > escreveu: > > Well, I also do the entire "remove my ~/.forge and install the core with > forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT -b"... but I thought > there was something easier. So, from my IDE I cannot run a Main class > somewhere that kick off Forge locally (without having to istall it) ? > > > 2014-02-16 23:43 GMT+01:00 George Gastaldi : > >> Hi Antonio, >> >> There are two options: >> >> - I usually build the whole project (tests disabled), then go into >> dist/target and unzip the distribution. After that I remove my ~/.forge and >> install the core with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT >> -b. >> >> - create tests using the shell-test-harness. >> >> There is a sh script in the forge/core root that does the unzipping but I >> usually do it manually. >> >> Em 16/02/2014, ?s 17:48, Antonio Goncalves >> escreveu: >> >> Hi developers, >> >> I've cloned Forge 2 code on my local computer, I create pull/requests, >> test new functionalities.... But do you know how I actually run the command >> shell from the code ? >> >> If I run the org.jboss.forge.bootstrap.Bootstrap class (it has a *public >> static void *main method) the output just hangs (like when the Shell is >> not installed) : >> >> JBoss Forge, version [ 2.0.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ >> http://forge.jboss.org ] >> >> So I thought of passing this argument to the Bootstrap class (--install >> org.jboss.forge.addon:core,2.0.1-SNAPSHOT) but there is a NPE at : >> >> String result = System.*console*().readLine(*"Confirm installation >> [Y/n]? "*); >> >> So on debug mode I set the result to "Y" but after bootstrap.start();the VM just stopped gently. >> I suppose the underlying question is : how do you run the shell once you >> have made a change and want to test it ? >> >> Antonio >> >> _______________________________________________ >> 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 >> > > > > -- > Antonio Goncalves > Software architect and Java Champion > > Web site | Twitter > | LinkedIn | Paris JUG > | Devoxx France > > _______________________________________________ > 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/20140217/8de642a9/attachment.html From antonio.mailing at gmail.com Mon Feb 17 09:25:10 2014 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Mon, 17 Feb 2014 15:25:10 +0100 Subject: [forge-users] How do I run Forge shell from the code ? In-Reply-To: References: <74A5E75D-6DF5-46EA-9588-B4048A61717F@redhat.com> <703615C9-B488-4E31-A1F2-54E9182C9F96@redhat.com> Message-ID: Yes, that's what I would like to do. Doesn't really matter if I don't have the full shell support (like TAB and so on). I'm quite interested in the code generation, so if I make a tiny change in a template and want to quickly have a look at what it generates, I would like to run the Shell inside my IDE, quickly enter 2 or 3 shell commands and see if my changes are ok. 2014-02-17 14:57 GMT+01:00 Lincoln Baxter, III : > Antonio, if I understand you correctly, you want to be able to run the > Forge shell via the Forge sources in the IDE. Unfortunately there's not > really a way to do that currently since as George says, the IDE terminals > basically can't handle TAB characters or backspace very well. > > Though this does give me the idea that we should really provide this as a > feature somehow if possible. Maybe as a "Run" type. "Run in Forge Console", > so that you could try out any application in the Forge terminal. This would > obviously let you run Forge sources as well (E.g. Running the Bootstrap > class in the Forge Console would give you the same result as running the > Forge Console and starting Forge via the green button. > > Koen, is this something you think we can do at some point? > > > On Mon, Feb 17, 2014 at 7:05 AM, George Gastaldi wrote: > >> I beliee the problem is that the default Console tab in Eclipse does not >> handle System.in very well (Tabs, etc). Koen is working in the Forge 2 >> Console view and should allow this very soon. >> >> Em 17/02/2014, ?s 08:10, Antonio Goncalves >> escreveu: >> >> Well, I also do the entire "remove my ~/.forge and install the core with >> forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT -b"... but I thought >> there was something easier. So, from my IDE I cannot run a Main class >> somewhere that kick off Forge locally (without having to istall it) ? >> >> >> 2014-02-16 23:43 GMT+01:00 George Gastaldi : >> >>> Hi Antonio, >>> >>> There are two options: >>> >>> - I usually build the whole project (tests disabled), then go into >>> dist/target and unzip the distribution. After that I remove my ~/.forge and >>> install the core with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT >>> -b. >>> >>> - create tests using the shell-test-harness. >>> >>> There is a sh script in the forge/core root that does the unzipping but >>> I usually do it manually. >>> >>> Em 16/02/2014, ?s 17:48, Antonio Goncalves >>> escreveu: >>> >>> Hi developers, >>> >>> I've cloned Forge 2 code on my local computer, I create pull/requests, >>> test new functionalities.... But do you know how I actually run the command >>> shell from the code ? >>> >>> If I run the org.jboss.forge.bootstrap.Bootstrap class (it has a *public >>> static void *main method) the output just hangs (like when the Shell is >>> not installed) : >>> >>> JBoss Forge, version [ 2.0.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ >>> http://forge.jboss.org ] >>> >>> So I thought of passing this argument to the Bootstrap class (--install >>> org.jboss.forge.addon:core,2.0.1-SNAPSHOT) but there is a NPE at : >>> >>> String result = System.*console*().readLine(*"Confirm installation >>> [Y/n]? "*); >>> >>> So on debug mode I set the result to "Y" but after bootstrap.start();the VM just stopped gently. >>> I suppose the underlying question is : how do you run the shell once you >>> have made a change and want to test it ? >>> >>> Antonio >>> >>> _______________________________________________ >>> 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 >>> >> >> >> >> -- >> Antonio Goncalves >> Software architect and Java Champion >> >> Web site | Twitter >> | LinkedIn | Paris JUG >> | Devoxx France >> >> _______________________________________________ >> 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 > -- 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/20140217/8a0ff387/attachment-0001.html From lincolnbaxter at gmail.com Mon Feb 17 09:40:07 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Mon, 17 Feb 2014 09:40:07 -0500 Subject: [forge-users] How do I run Forge shell from the code ? In-Reply-To: References: <74A5E75D-6DF5-46EA-9588-B4048A61717F@redhat.com> <703615C9-B488-4E31-A1F2-54E9182C9F96@redhat.com> Message-ID: In this case, I suggest writing a test case: https://github.com/forge/core/blob/master/javaee/tests/src/test/java/org/jboss/forge/addon/javaee/faces/FacesFacetShellTest.java#L93 On Mon, Feb 17, 2014 at 9:25 AM, Antonio Goncalves < antonio.mailing at gmail.com> wrote: > Yes, that's what I would like to do. Doesn't really matter if I don't have > the full shell support (like TAB and so on). I'm quite interested in the > code generation, so if I make a tiny change in a template and want to > quickly have a look at what it generates, I would like to run the Shell > inside my IDE, quickly enter 2 or 3 shell commands and see if my changes > are ok. > > > 2014-02-17 14:57 GMT+01:00 Lincoln Baxter, III : > > Antonio, if I understand you correctly, you want to be able to run the >> Forge shell via the Forge sources in the IDE. Unfortunately there's not >> really a way to do that currently since as George says, the IDE terminals >> basically can't handle TAB characters or backspace very well. >> >> Though this does give me the idea that we should really provide this as a >> feature somehow if possible. Maybe as a "Run" type. "Run in Forge Console", >> so that you could try out any application in the Forge terminal. This would >> obviously let you run Forge sources as well (E.g. Running the Bootstrap >> class in the Forge Console would give you the same result as running the >> Forge Console and starting Forge via the green button. >> >> Koen, is this something you think we can do at some point? >> >> >> On Mon, Feb 17, 2014 at 7:05 AM, George Gastaldi wrote: >> >>> I beliee the problem is that the default Console tab in Eclipse does not >>> handle System.in very well (Tabs, etc). Koen is working in the Forge 2 >>> Console view and should allow this very soon. >>> >>> Em 17/02/2014, ?s 08:10, Antonio Goncalves >>> escreveu: >>> >>> Well, I also do the entire "remove my ~/.forge and install the core with >>> forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT -b"... but I thought >>> there was something easier. So, from my IDE I cannot run a Main class >>> somewhere that kick off Forge locally (without having to istall it) ? >>> >>> >>> 2014-02-16 23:43 GMT+01:00 George Gastaldi : >>> >>>> Hi Antonio, >>>> >>>> There are two options: >>>> >>>> - I usually build the whole project (tests disabled), then go into >>>> dist/target and unzip the distribution. After that I remove my ~/.forge and >>>> install the core with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT >>>> -b. >>>> >>>> - create tests using the shell-test-harness. >>>> >>>> There is a sh script in the forge/core root that does the unzipping but >>>> I usually do it manually. >>>> >>>> Em 16/02/2014, ?s 17:48, Antonio Goncalves >>>> escreveu: >>>> >>>> Hi developers, >>>> >>>> I've cloned Forge 2 code on my local computer, I create pull/requests, >>>> test new functionalities.... But do you know how I actually run the command >>>> shell from the code ? >>>> >>>> If I run the org.jboss.forge.bootstrap.Bootstrap class (it has a *public >>>> static void *main method) the output just hangs (like when the Shell >>>> is not installed) : >>>> >>>> JBoss Forge, version [ 2.0.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ >>>> http://forge.jboss.org ] >>>> >>>> So I thought of passing this argument to the Bootstrap class (--install >>>> org.jboss.forge.addon:core,2.0.1-SNAPSHOT) but there is a NPE at : >>>> >>>> String result = System.*console*().readLine(*"Confirm installation >>>> [Y/n]? "*); >>>> >>>> So on debug mode I set the result to "Y" but after bootstrap.start();the VM just stopped gently. >>>> I suppose the underlying question is : how do you run the shell once >>>> you have made a change and want to test it ? >>>> >>>> Antonio >>>> >>>> _______________________________________________ >>>> 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 >>>> >>> >>> >>> >>> -- >>> Antonio Goncalves >>> Software architect and Java Champion >>> >>> Web site | Twitter >>> | LinkedIn | Paris JUG >>> | Devoxx France >>> >>> _______________________________________________ >>> 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 >> > > > > -- > Antonio Goncalves > Software architect and Java Champion > > Web site | Twitter > | LinkedIn | Paris JUG > | Devoxx France > > _______________________________________________ > 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/20140217/b89d7f10/attachment.html From lincolnbaxter at gmail.com Mon Feb 17 09:40:52 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Mon, 17 Feb 2014 09:40:52 -0500 Subject: [forge-users] How do I run Forge shell from the code ? In-Reply-To: References: <74A5E75D-6DF5-46EA-9588-B4048A61717F@redhat.com> <703615C9-B488-4E31-A1F2-54E9182C9F96@redhat.com> Message-ID: In fact, that test case should pretty much be set up for what you need. I would just copy this as a starting point, replace the test methods with your own, and go from there. On Mon, Feb 17, 2014 at 9:40 AM, Lincoln Baxter, III < lincolnbaxter at gmail.com> wrote: > In this case, I suggest writing a test case: > https://github.com/forge/core/blob/master/javaee/tests/src/test/java/org/jboss/forge/addon/javaee/faces/FacesFacetShellTest.java#L93 > > > On Mon, Feb 17, 2014 at 9:25 AM, Antonio Goncalves < > antonio.mailing at gmail.com> wrote: > >> Yes, that's what I would like to do. Doesn't really matter if I don't >> have the full shell support (like TAB and so on). I'm quite interested in >> the code generation, so if I make a tiny change in a template and want to >> quickly have a look at what it generates, I would like to run the Shell >> inside my IDE, quickly enter 2 or 3 shell commands and see if my changes >> are ok. >> >> >> 2014-02-17 14:57 GMT+01:00 Lincoln Baxter, III : >> >> Antonio, if I understand you correctly, you want to be able to run the >>> Forge shell via the Forge sources in the IDE. Unfortunately there's not >>> really a way to do that currently since as George says, the IDE terminals >>> basically can't handle TAB characters or backspace very well. >>> >>> Though this does give me the idea that we should really provide this as >>> a feature somehow if possible. Maybe as a "Run" type. "Run in Forge >>> Console", so that you could try out any application in the Forge terminal. >>> This would obviously let you run Forge sources as well (E.g. Running the >>> Bootstrap class in the Forge Console would give you the same result as >>> running the Forge Console and starting Forge via the green button. >>> >>> Koen, is this something you think we can do at some point? >>> >>> >>> On Mon, Feb 17, 2014 at 7:05 AM, George Gastaldi wrote: >>> >>>> I beliee the problem is that the default Console tab in Eclipse does >>>> not handle System.in very well (Tabs, etc). Koen is working in the Forge 2 >>>> Console view and should allow this very soon. >>>> >>>> Em 17/02/2014, ?s 08:10, Antonio Goncalves >>>> escreveu: >>>> >>>> Well, I also do the entire "remove my ~/.forge and install the core >>>> with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT -b"... but I >>>> thought there was something easier. So, from my IDE I cannot run a Main >>>> class somewhere that kick off Forge locally (without having to istall it) ? >>>> >>>> >>>> 2014-02-16 23:43 GMT+01:00 George Gastaldi : >>>> >>>>> Hi Antonio, >>>>> >>>>> There are two options: >>>>> >>>>> - I usually build the whole project (tests disabled), then go into >>>>> dist/target and unzip the distribution. After that I remove my ~/.forge and >>>>> install the core with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT >>>>> -b. >>>>> >>>>> - create tests using the shell-test-harness. >>>>> >>>>> There is a sh script in the forge/core root that does the unzipping >>>>> but I usually do it manually. >>>>> >>>>> Em 16/02/2014, ?s 17:48, Antonio Goncalves >>>>> escreveu: >>>>> >>>>> Hi developers, >>>>> >>>>> I've cloned Forge 2 code on my local computer, I create pull/requests, >>>>> test new functionalities.... But do you know how I actually run the command >>>>> shell from the code ? >>>>> >>>>> If I run the org.jboss.forge.bootstrap.Bootstrap class (it has a *public >>>>> static void *main method) the output just hangs (like when the Shell >>>>> is not installed) : >>>>> >>>>> JBoss Forge, version [ 2.0.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ >>>>> http://forge.jboss.org ] >>>>> >>>>> So I thought of passing this argument to the Bootstrap class >>>>> (--install org.jboss.forge.addon:core,2.0.1-SNAPSHOT) but there is a NPE at >>>>> : >>>>> >>>>> String result = System.*console*().readLine(*"Confirm installation >>>>> [Y/n]? "*); >>>>> >>>>> So on debug mode I set the result to "Y" but after bootstrap.start();the VM just stopped gently. >>>>> I suppose the underlying question is : how do you run the shell once >>>>> you have made a change and want to test it ? >>>>> >>>>> Antonio >>>>> >>>>> _______________________________________________ >>>>> 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 >>>>> >>>> >>>> >>>> >>>> -- >>>> Antonio Goncalves >>>> Software architect and Java Champion >>>> >>>> Web site | Twitter >>>> | LinkedIn | Paris JUG >>>> | Devoxx France >>>> >>>> _______________________________________________ >>>> 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 >>> >> >> >> >> -- >> Antonio Goncalves >> Software architect and Java Champion >> >> Web site | Twitter >> | LinkedIn | Paris JUG >> | Devoxx France >> >> _______________________________________________ >> 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." > -- 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/20140217/df3eb572/attachment-0001.html From koen.aers at jboss.com Mon Feb 17 10:17:30 2014 From: koen.aers at jboss.com (Koen Aers) Date: Mon, 17 Feb 2014 16:17:30 +0100 Subject: [forge-users] How do I run Forge shell from the code ? In-Reply-To: References: <74A5E75D-6DF5-46EA-9588-B4048A61717F@redhat.com> <703615C9-B488-4E31-A1F2-54E9182C9F96@redhat.com> Message-ID: <6C9E2C09-616F-4054-B21E-E0BD83BB652D@jboss.com> It's software? With the correct amount of indirections, everything is possible ;-) But I think it should probably be not too difficult. Cheers, Koen Op 17-feb.-2014, om 14:57 heeft Lincoln Baxter, III het volgende geschreven: > Antonio, if I understand you correctly, you want to be able to run the Forge shell via the Forge sources in the IDE. Unfortunately there's not really a way to do that currently since as George says, the IDE terminals basically can't handle TAB characters or backspace very well. > > Though this does give me the idea that we should really provide this as a feature somehow if possible. Maybe as a "Run" type. "Run in Forge Console", so that you could try out any application in the Forge terminal. This would obviously let you run Forge sources as well (E.g. Running the Bootstrap class in the Forge Console would give you the same result as running the Forge Console and starting Forge via the green button. > > Koen, is this something you think we can do at some point? > > > On Mon, Feb 17, 2014 at 7:05 AM, George Gastaldi wrote: > I beliee the problem is that the default Console tab in Eclipse does not handle System.in very well (Tabs, etc). Koen is working in the Forge 2 Console view and should allow this very soon. > > Em 17/02/2014, ?s 08:10, Antonio Goncalves escreveu: > >> Well, I also do the entire "remove my ~/.forge and install the core with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT -b"... but I thought there was something easier. So, from my IDE I cannot run a Main class somewhere that kick off Forge locally (without having to istall it) ? >> >> >> 2014-02-16 23:43 GMT+01:00 George Gastaldi : >> Hi Antonio, >> >> There are two options: >> >> - I usually build the whole project (tests disabled), then go into dist/target and unzip the distribution. After that I remove my ~/.forge and install the core with forge -i org.jboss.forge.addon:core,2.0.1-SNAPSHOT -b. >> >> - create tests using the shell-test-harness. >> >> There is a sh script in the forge/core root that does the unzipping but I usually do it manually. >> >> Em 16/02/2014, ?s 17:48, Antonio Goncalves escreveu: >> >>> Hi developers, >>> >>> I've cloned Forge 2 code on my local computer, I create pull/requests, test new functionalities.... But do you know how I actually run the command shell from the code ? >>> >>> If I run the org.jboss.forge.bootstrap.Bootstrap class (it has a public static void main method) the output just hangs (like when the Shell is not installed) : >>> >>> JBoss Forge, version [ 2.0.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ] >>> >>> So I thought of passing this argument to the Bootstrap class (--install org.jboss.forge.addon:core,2.0.1-SNAPSHOT) but there is a NPE at : >>> >>> String result = System.console().readLine("Confirm installation [Y/n]? "); >>> >>> So on debug mode I set the result to "Y" but after bootstrap.start(); the VM just stopped gently. >>> >>> I suppose the underlying question is : how do you run the shell once you have made a change and want to test it ? >>> >>> Antonio >>> _______________________________________________ >>> 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 >> >> >> >> -- >> Antonio Goncalves >> Software architect and Java Champion >> >> Web site | Twitter | LinkedIn | Paris JUG | Devoxx France >> _______________________________________________ >> 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/20140217/64658d72/attachment.html From forge-users at lists.jboss.org Mon Feb 17 13:45:05 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 17 Feb 2014 13:45:05 EST Subject: [forge-users] Forge 2.0 and Arquillian Message-ID: <1561458595.51392662735554.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, I just wonder how to set up project to use arquillian as it was possible in Forge 1.x forge install-plugin arquillian arquillian setup --containerType MANAGED --containerName JBOSS_AS_MANAGED_7.X Is there some way (or will be)? I'm not able to find any. Thanks a lot Ondra Posted by forums Original post: https://community.jboss.org/message/858116#858116 From lincolnbaxter at gmail.com Mon Feb 17 13:48:25 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Mon, 17 Feb 2014 13:48:25 -0500 Subject: [forge-users] Forge 2.0 and Arquillian In-Reply-To: <1561458595.51392662735554.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1561458595.51392662735554.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Hey Ondra, The Arquillian plugin has not yet been migrated to Forge 2. This is something that is on our up-coming todo list, we could use some help :) ~Lincoln On Mon, Feb 17, 2014 at 1:45 PM, wrote: > Hi, > > I just wonder how to set up project to use arquillian as it was possible > in Forge 1.x > forge install-plugin arquillian > arquillian setup --containerType MANAGED --containerName > JBOSS_AS_MANAGED_7.X > > Is there some way (or will be)? > I'm not able to find any. > > Thanks a lot > Ondra > > Posted by forums > Original post: https://community.jboss.org/message/858116#858116 > _______________________________________________ > 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/20140217/2b0c18a6/attachment.html From forge-users at lists.jboss.org Mon Feb 17 15:01:34 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 17 Feb 2014 15:01:34 EST Subject: [forge-users] Forge 2.0 and Arquillian In-Reply-To: Message-ID: <603270155.61392667324589.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> I see. Thanks for the info. And just sorry. Probably I won't get time to help {emoticon:class=jive_macro_emoticon jive_macro jive_emote|src=https://community.jboss.org/6.0.3.60ddddd/images/emoticons/sad.png|__jive_emoticon_name=sad}. But I'm staying tuned. Posted by forums Original post: https://community.jboss.org/message/858120#858120 From forge-users at lists.jboss.org Mon Feb 17 18:55:26 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 17 Feb 2014 18:55:26 EST Subject: [forge-users] Trying to run Forge under Cygwin and Windows 8 -- no command is executed Message-ID: <1547650426.91392681397044.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello. I have tried to use Forge 1.4.4 under Cygwin + Windows 8 without luck. I'm able to execute the basic tutorial from Powershell (forge.bat). But when I try to do it from cygwin, the shell does not respond. It appears it just won't receive any command. For example: [no project] forge $ help; -- several minutes later, I Ctrl-C: $ help; GNU bash, version 4.1.11(2)-release (x86_64-unknown-cygwin) ..etc So it appears that the commands I execute on the forge shell under cygwin just don't reach the forge shell. I'm using also libevent2: I do use tmux under cygwin. I have tried forge with and without tmux without luck. It would be great to me to use Forge inside cygwin. Is there something I can do for it ? Maybe yo can give me some directions? Or maybe you can tell me some way to go to the sources and try to implement it. Posted by forums Original post: https://community.jboss.org/message/858151#858151 From ggastald at redhat.com Mon Feb 17 19:02:17 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 17 Feb 2014 19:02:17 -0500 (EST) Subject: [forge-users] Trying to run Forge under Cygwin and Windows 8 -- no command is executed In-Reply-To: <1547650426.91392681397044.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1547650426.91392681397044.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <08732A2E-990E-4627-8DF7-113BE605A363@redhat.com> Hi, Could you please give it a try with Forge 2? The shell support in Forge 1.x was not that great, that's why we changed to Aesh (aeshell.github.io). Let us know how it goes, George Gastaldi > Em 17/02/2014, ?s 20:56, forge-users at lists.jboss.org escreveu: > > Hello. I have tried to use Forge 1.4.4 under Cygwin + Windows 8 without luck. > > I'm able to execute the basic tutorial from Powershell (forge.bat). But when I try to do it from cygwin, the shell does not respond. It appears it just won't receive any command. For example: > > [no project] forge $ help; > -- several minutes later, I Ctrl-C: > > $ help; > GNU bash, version 4.1.11(2)-release (x86_64-unknown-cygwin) > ..etc > > So it appears that the commands I execute on the forge shell under cygwin just don't reach the forge shell. > > I'm using also libevent2: I do use tmux under cygwin. I have tried forge with and without tmux without luck. > > It would be great to me to use Forge inside cygwin. Is there something I can do for it ? Maybe yo can give me some directions? > Or maybe you can tell me some way to go to the sources and try to implement it. > > Posted by forums > Original post: https://community.jboss.org/message/858151#858151 > _______________________________________________ > 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 Tue Feb 18 05:23:22 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 18 Feb 2014 05:23:22 EST Subject: [forge-users] Trying to run Forge under Cygwin and Windows 8 -- no command is executed In-Reply-To: <08732A2E-990E-4627-8DF7-113BE605A363@redhat.com> Message-ID: <1119653594.111392719033189.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> I have just tried forge-distribution-2.0.0-Final with the same results. Then I have tried the AESh examples. Effectively, it fails to receive commands in cygwin but it works OK under Windows Powershell. Maybe I can do some coding to make it work if you give me some directions? Posted by forums Original post: https://community.jboss.org/message/858209#858209 From forge-users at lists.jboss.org Tue Feb 18 07:16:31 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 18 Feb 2014 07:16:31 EST Subject: [forge-users] Trying to run Forge under Cygwin and Windows 8 -- no command is executed In-Reply-To: <1547650426.91392681397044.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <393171744.141392725823519.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> This is related on how MinTTy is build: https://code.google.com/p/mintty/issues/detail?id=244 Using ConEmu+Gnu Screen instead of MinTTy and tmux will mitigate the problem (it's not a AEsh or Forge problem) in forge-2 and 1.4.4. Posted by forums Original post: https://community.jboss.org/message/858268#858268 From ggastald at redhat.com Tue Feb 18 09:41:42 2014 From: ggastald at redhat.com (George Gastaldi) Date: Tue, 18 Feb 2014 09:41:42 -0500 (EST) Subject: [forge-users] Trying to run Forge under Cygwin and Windows 8 -- no command is executed In-Reply-To: <393171744.141392725823519.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <393171744.141392725823519.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Interesting. Could you please open a JIRA with this information? Thanks! > Em 18/02/2014, ?s 09:17, forge-users at lists.jboss.org escreveu: > > This is related on how MinTTy is build: > > https://code.google.com/p/mintty/issues/detail?id=244 > > Using ConEmu+Gnu Screen instead of MinTTy and tmux will mitigate the problem (it's not a AEsh or Forge problem) in forge-2 and 1.4.4. > > Posted by forums > Original post: https://community.jboss.org/message/858268#858268 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From ggastald at redhat.com Tue Feb 18 09:43:55 2014 From: ggastald at redhat.com (George Gastaldi) Date: Tue, 18 Feb 2014 09:43:55 -0500 (EST) Subject: [forge-users] Trying to run Forge under Cygwin and Windows 8 -- no command is executed In-Reply-To: <1119653594.111392719033189.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1119653594.111392719033189.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1AD5E048-E2F5-4CFC-A051-7047C99AE256@redhat.com> Absolutely! Can you join us in IRC under irc.freenode.net in the #forge channel? > Em 18/02/2014, ?s 07:24, forge-users at lists.jboss.org escreveu: > > I have just tried forge-distribution-2.0.0-Final with the same results. > > Then I have tried the AESh examples. Effectively, it fails to receive commands in cygwin but it works OK under Windows Powershell. > > Maybe I can do some coding to make it work if you give me some directions? > > Posted by forums > Original post: https://community.jboss.org/message/858209#858209 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From lincolnbaxter at gmail.com Tue Feb 18 10:08:23 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Tue, 18 Feb 2014 10:08:23 -0500 Subject: [forge-users] Trying to run Forge under Cygwin and Windows 8 -- no command is executed In-Reply-To: <1AD5E048-E2F5-4CFC-A051-7047C99AE256@redhat.com> References: <1119653594.111392719033189.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> <1AD5E048-E2F5-4CFC-A051-7047C99AE256@redhat.com> Message-ID: And we would also absolutely love it if you could help us figure out how to implement the solution for this problem. Thank you for offering to contribute! On Tue, Feb 18, 2014 at 9:43 AM, George Gastaldi wrote: > Absolutely! Can you join us in IRC under irc.freenode.net in the #forge > channel? > > > Em 18/02/2014, ?s 07:24, forge-users at lists.jboss.org escreveu: > > > > I have just tried forge-distribution-2.0.0-Final with the same results. > > > > Then I have tried the AESh examples. Effectively, it fails to receive > commands in cygwin but it works OK under Windows Powershell. > > > > Maybe I can do some coding to make it work if you give me some > directions? > > > > Posted by forums > > Original post: https://community.jboss.org/message/858209#858209 > > _______________________________________________ > > 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/20140218/a63de3a9/attachment.html From forge-users at lists.jboss.org Tue Feb 18 10:16:33 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 18 Feb 2014 10:16:33 EST Subject: [forge-users] Forge 2.0 Nested Classes Message-ID: <888600726.151392736624144.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, is it possible to append nested classes to existing java class? Best regards! tnx. Posted by forums Original post: https://community.jboss.org/message/858337#858337 From lincolnbaxter at gmail.com Tue Feb 18 10:51:00 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Tue, 18 Feb 2014 10:51:00 -0500 Subject: [forge-users] Forge 2.0 Nested Classes In-Reply-To: <888600726.151392736624144.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <888600726.151392736624144.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Do you mean is it possible to add nested classes to an existing *.java source file using the Java Parser? I'm not sure we have an API to support this yet. I've copied our local JavaParser expert to see what can be done here. On Tue, Feb 18, 2014 at 10:16 AM, wrote: > Hi, > > is it possible to append nested classes to existing java class? > > Best regards! > > tnx. > > Posted by forums > Original post: https://community.jboss.org/message/858337#858337 > _______________________________________________ > 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/20140218/336fcf2a/attachment.html From gudnabrsam at gmail.com Tue Feb 18 11:34:06 2014 From: gudnabrsam at gmail.com (Matt Benson) Date: Tue, 18 Feb 2014 10:34:06 -0600 Subject: [forge-users] Forge 2.0 Nested Classes In-Reply-To: References: <888600726.151392736624144.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Notwithstanding the discussion of the applicability of the term "expert", it doesn't appear as though we currently support this. I have created https://issues.jboss.org/browse/FORGE-1582 to track this request, however. Matt On Tue, Feb 18, 2014 at 9:51 AM, Lincoln Baxter, III < lincolnbaxter at gmail.com> wrote: > Do you mean is it possible to add nested classes to an existing *.java > source file using the Java Parser? I'm not sure we have an API to support > this yet. I've copied our local JavaParser expert to see what can be done > here. > > > On Tue, Feb 18, 2014 at 10:16 AM, wrote: > >> Hi, >> >> is it possible to append nested classes to existing java class? >> >> Best regards! >> >> tnx. >> >> Posted by forums >> Original post: https://community.jboss.org/message/858337#858337 >> _______________________________________________ >> 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/20140218/aa71ab0c/attachment.html From forge-users at lists.jboss.org Thu Feb 20 08:14:17 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 20 Feb 2014 08:14:17 EST Subject: [forge-users] Forge2 behind proxy Message-ID: <475314061.251392902087387.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello, I am trying to work with Forge 2 behind proxy but not successful. Proxy is configured in Maven settings.xml and works fine. I have also configured config.xml in FORGE user directory (~USER_HOME/.forge), but still it is not working. Any suggestion or help? Posted by forums Original post: https://community.jboss.org/message/858809#858809 From ggastald at redhat.com Thu Feb 20 08:32:38 2014 From: ggastald at redhat.com (George Gastaldi) Date: Thu, 20 Feb 2014 08:32:38 -0500 (EST) Subject: [forge-users] Forge2 behind proxy In-Reply-To: <475314061.251392902087387.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <475314061.251392902087387.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <7F780040-F4A2-4CE0-9220-A932F26BDDC5@redhat.com> Looks like we haven't migrated this feature yet. Could you please open a JIRA for this? It should be fairly easy to implement. Best Regards, George Gastaldi > Em 20/02/2014, ?s 10:15, forge-users at lists.jboss.org escreveu: > > Hello, > > I am trying to work with Forge 2 behind proxy but not successful. > > Proxy is configured in Maven settings.xml and works fine. I have also configured config.xml in FORGE user directory (~USER_HOME/.forge), but still it is not working. > > Any suggestion or help? > > Posted by forums > Original post: https://community.jboss.org/message/858809#858809 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From lincolnbaxter at gmail.com Thu Feb 20 09:16:55 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Thu, 20 Feb 2014 09:16:55 -0500 Subject: [forge-users] Forge2 behind proxy In-Reply-To: <7F780040-F4A2-4CE0-9220-A932F26BDDC5@redhat.com> References: <475314061.251392902087387.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> <7F780040-F4A2-4CE0-9220-A932F26BDDC5@redhat.com> Message-ID: George means could you please file an issue in the Issue tracker - https://jira.jboss.org/jira/browse/FORGE :) Thank you! On Thu, Feb 20, 2014 at 8:32 AM, George Gastaldi wrote: > Looks like we haven't migrated this feature yet. Could you please open a > JIRA for this? It should be fairly easy to implement. > > Best Regards, > > George Gastaldi > > > Em 20/02/2014, ?s 10:15, forge-users at lists.jboss.org escreveu: > > > > Hello, > > > > I am trying to work with Forge 2 behind proxy but not successful. > > > > Proxy is configured in Maven settings.xml and works fine. I have also > configured config.xml in FORGE user directory (~USER_HOME/.forge), but > still it is not working. > > > > Any suggestion or help? > > > > Posted by forums > > Original post: https://community.jboss.org/message/858809#858809 > > _______________________________________________ > > 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/20140220/e0521195/attachment-0001.html From ggastald at redhat.com Thu Feb 20 09:17:52 2014 From: ggastald at redhat.com (George Gastaldi) Date: Thu, 20 Feb 2014 11:17:52 -0300 Subject: [forge-users] Forge2 behind proxy In-Reply-To: References: <475314061.251392902087387.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> <7F780040-F4A2-4CE0-9220-A932F26BDDC5@redhat.com> Message-ID: <53060E90.3070602@redhat.com> Thanks for filling https://issues.jboss.org/browse/FORGE-1590 On 20-02-2014 11:16, Lincoln Baxter, III wrote: > George means could you please file an issue in the Issue tracker - > https://jira.jboss.org/jira/browse/FORGE :) Thank you! > > > On Thu, Feb 20, 2014 at 8:32 AM, George Gastaldi > wrote: > > Looks like we haven't migrated this feature yet. Could you please > open a JIRA for this? It should be fairly easy to implement. > > Best Regards, > > George Gastaldi > > > Em 20/02/2014, ?s 10:15, forge-users at lists.jboss.org > escreveu: > > > > Hello, > > > > I am trying to work with Forge 2 behind proxy but not successful. > > > > Proxy is configured in Maven settings.xml and works fine. I have > also configured config.xml in FORGE user directory > (~USER_HOME/.forge), but still it is not working. > > > > Any suggestion or help? > > > > Posted by forums > > Original post: https://community.jboss.org/message/858809#858809 > > _______________________________________________ > > 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/20140220/7e71f08f/attachment.html From antonio.mailing at gmail.com Fri Feb 21 12:11:06 2014 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Fri, 21 Feb 2014 18:11:06 +0100 Subject: [forge-users] Moving to Bootstrap 3 for next release ? Message-ID: Hi all, During last meeting we mentioned this feature : https://issues.jboss.org/browse/FORGE-1542 (Migrate from Twitter Bootstrap 2 to 3) Vineet said he will be working on that and should be available in a couple of weeks. I was just wondering in which version it would be ? 2.0.1 or later ? (just wondering as I have a talk to do and that could be a nice feature as Bootstrap 3 is mobile first). Vineet also mentioned : https://issues.jboss.org/browse/FORGE-1067 (Adopt WebJars as encapsulation for Bootstrap and JQuery resources) But I know that Lincoln wasn't too keen on this.... just wondering -- 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/20140221/c489ecf4/attachment.html From forge-users at lists.jboss.org Sat Feb 22 08:44:10 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sat, 22 Feb 2014 08:44:10 EST Subject: [forge-users] Forge - no plugin found with name [plugin-spring-mvc] Message-ID: <1150578263.341393076721781.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi there, Ive just downloaded Forge, and I'm currently setting a few things up.? I've downloaded a few plugins fine, but the Spring one isn't working. [no project] connorbray $ forge install-plugin spring ***INFO*** Preparing to install plugin: spring ***INFO*** Checking out plugin source files to [/var/folders/fy/dplp89tx2pb9r72zt8sdgr2r0000gn/T/forgetemp1059132597306663513] via 'git' ***INFO*** Switching to branch/tag [refs/tags/1.0.0.Final] ***INFO*** Cleaning up temp workspace [/var/folders/fy/dplp89tx2pb9r72zt8sdgr2r0000gn/T/forgetemp1059132597306663513] Deleted /var/folders/fy/dplp89tx2pb9r72zt8sdgr2r0000gn/T/forgetemp1059132597306663513 ***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces) org.jboss.forge.shell.exceptions.Abort: The project does not contain a valid Forge Plugin project. Installation aborted at org.jboss.forge.shell.plugins.PluginManager.installFromProject(PluginManager.java:114) at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromGit(ForgePlugin.java:387) at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromIndex(ForgePlugin.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.forge.shell.command.Execution.perform(Execution.java:160) at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109) at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47) at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:796) at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:819) at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:609) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125) at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188) at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234) at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616) at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:186) at java.lang.Thread.run(Thread.java:695) [no project] connorbray $ My git version: git version 1.8.3.4 (Apple Git-47) My maven version: Apache Maven 3.1.0 It seems to me that there is a problem with the plugin its self?? But just in case, is there something that I have missed? Posted by forums Original post: https://community.jboss.org/message/859154#859154 From antonio.mailing at gmail.com Sat Feb 22 13:18:55 2014 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Sat, 22 Feb 2014 19:18:55 +0100 Subject: [forge-users] Advanced Java EE 6 training... with JBoss Forge Message-ID: Hi Guys, I'm holidays skiing, and the fresh air (and bad internet connection) is giving me some ideas. I have a 3 days training course on Java EE 6... and now I'm working on a *new* one : a 3 days on *Advanced Java EE 6*. On the slops I was thinking of using Forge to do it. The idea is to kicki off the first training day by introducing Forge to my students, and then, use it as much as I can during the 3 days. I was having a look at what I would need to make this happen. So I've listed the JIRAs I would *really* need to make it happen, and the ones that would be *nice* to have: *Really missing :* - run command (https://issues.jboss.org/browse/FORGE-1432) - Copy/paste (https://issues.jboss.org/browse/FORGE-1449) - CDI commands (https://issues.jboss.org/browse/FORGE-1493) - Arquillian add-on (couldn't find the JIRA) - Being able to create new JSF pages and Beans ( https://issues.jboss.org/browse/FORGE-1593) *Nice to have* - Template JSF (https://issues.jboss.org/browse/FORGE-1580) - Bootstrap 3 (https://issues.jboss.org/browse/FORGE-1542) - Webjars (https://issues.jboss.org/browse/FORGE-1067) but this one is still unsure on the Forge team side About the *really missing* ones, do you think that would be doable in the coming releases ? I know that Run, Copy/Paste, CDI and Arquillian are on the pipeline, but the JSF ones are new. Back to ski..... -- 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/20140222/871a38cb/attachment.html From forge-users at lists.jboss.org Mon Feb 24 12:08:17 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 24 Feb 2014 12:08:17 EST Subject: [forge-users] Forge - no plugin found with name [plugin-spring-mvc] In-Reply-To: <1150578263.341393076721781.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <977064195.351393267431600.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Connor, Yes, this looks like a problem with the plugin itself. This plugin is maintained by the community. Would you like to submit a pull-request to fix these issues? Best Regards, George Gastaldi Posted by forums Original post: https://community.jboss.org/message/859386#859386 From lincolnbaxter at gmail.com Tue Feb 25 01:15:39 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Tue, 25 Feb 2014 01:15:39 -0500 Subject: [forge-users] Advanced Java EE 6 training... with JBoss Forge In-Reply-To: References: Message-ID: Hey Antonio, thanks for the update! I hope you are having fun in the alps ;) I'll try to make sure that we get this issues fixed. Copy/paste should be working afaik.It was fixed last week so maybe give that another try? The Run command still needs work. I haven't been able to get back to it yet, and the CDI/Arquillian/JSF stuff is just a matter of doing it. I'll try to bump the priority of these. Maybe we can include them in the next release (this week.) Though the Arq addon would be separate. On Sat, Feb 22, 2014 at 1:18 PM, Antonio Goncalves < antonio.mailing at gmail.com> wrote: > Hi Guys, > > I'm holidays skiing, and the fresh air (and bad internet connection) is > giving me some ideas. > > I have a 3 days training course on Java EE 6... and now I'm working on a > *new* one : a 3 days on *Advanced Java EE 6*. On the slops I was thinking > of using Forge to do it. The idea is to kicki off the first training day by > introducing Forge to my students, and then, use it as much as I can during > the 3 days. I was having a look at what I would need to make this happen. > So I've listed the JIRAs I would *really* need to make it happen, and the > ones that would be *nice* to have: > > *Really missing :* > > - run command (https://issues.jboss.org/browse/FORGE-1432) > - Copy/paste (https://issues.jboss.org/browse/FORGE-1449) > - CDI commands (https://issues.jboss.org/browse/FORGE-1493) > - Arquillian add-on (couldn't find the JIRA) > - Being able to create new JSF pages and Beans ( > https://issues.jboss.org/browse/FORGE-1593) > > *Nice to have* > > - Template JSF (https://issues.jboss.org/browse/FORGE-1580) > - Bootstrap 3 (https://issues.jboss.org/browse/FORGE-1542) > - Webjars (https://issues.jboss.org/browse/FORGE-1067) but this one is > still unsure on the Forge team side > > > About the *really missing* ones, do you think that would be doable in the > coming releases ? I know that Run, Copy/Paste, CDI and Arquillian are on > the pipeline, but the JSF ones are new. > > Back to ski..... > > -- > Antonio Goncalves > Software architect and Java Champion > > Web site | Twitter > | LinkedIn | Paris JUG > | Devoxx France > > _______________________________________________ > 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/20140225/d0b68a5f/attachment-0001.html From forge-users at lists.jboss.org Thu Feb 27 10:02:10 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 27 Feb 2014 10:02:10 EST Subject: [forge-users] JBoss set up with a Load Balancer that is performing SSL off-loading Message-ID: <1804661113.11393515281690.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> I have a Load Balancer setup which is pointing to apache server.The Load Balancer is handling the SSL off-loading and passing the request to apache over port 80. Apache server is acting as reverse proxy server and redirecting URLs to OpenAm and Liferay portal via JBoss. My initial problem was JBoss would responded with HTTP instead of HTTPS so we configure mod_ajp. These resolved the initial problem but I am now having issues with my redirects to OpenAM. *apache/httpd.conf:* # Virtual hosts #Include conf/extra/httpd-vhosts.conf ? ServerAdmin jloschiavo at telecomsys.com (mailto:jloschiavo at telecomsys.com) ? DocumentRoot /opt/TMM/apache/httpd/htdocs ? ServerName tmm-sea-portal.xypoint.com ? ErrorLog logs/tmmportal-error_log ? CustomLog logs/tmmportal-access_log common ? RewriteEngine On ? ProxyPreserveHost? On ??????? ? ProxyPass ajp://192.168.52.142:8009/openam ? ProxyPassReverse ajp://192.168.52.142:8009/openam ??????? ??????? ??????? ProxyPass ajp://192.168.52.142:8009/ ??????? ProxyPassReverse ajp://192.168.52.142:8009/ ??????? *standalone.xml:* ??????????? ??????????? ??????????? ??????????????? ??????????? Posted by forums Original post: https://community.jboss.org/message/860048#860048 From ggastald at redhat.com Thu Feb 27 10:38:41 2014 From: ggastald at redhat.com (George Gastaldi) Date: Thu, 27 Feb 2014 10:38:41 -0500 (EST) Subject: [forge-users] JBoss set up with a Load Balancer that is performing SSL off-loading In-Reply-To: <1804661113.11393515281690.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1804661113.11393515281690.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: This is not the JBossAS list. Please use the correct list > Em 27/02/2014, ?s 12:34, forge-users at lists.jboss.org escreveu: > > I have a Load Balancer setup which is pointing to apache server.The Load Balancer is handling the SSL off-loading and passing the request to apache over port 80. Apache server is acting as reverse proxy server and redirecting URLs to OpenAm and Liferay portal via JBoss. My initial problem was JBoss would responded with HTTP instead of HTTPS so we configure mod_ajp. These resolved the initial problem but I am now having issues with my redirects to OpenAM. > > > *apache/httpd.conf:* > # Virtual hosts > #Include conf/extra/httpd-vhosts.conf > > ServerAdmin jloschiavo at telecomsys.com (mailto:jloschiavo at telecomsys.com) > DocumentRoot /opt/TMM/apache/httpd/htdocs > ServerName tmm-sea-portal.xypoint.com > ErrorLog logs/tmmportal-error_log > CustomLog logs/tmmportal-access_log common > RewriteEngine On > ProxyPreserveHost On > > > ProxyPass ajp://192.168.52.142:8009/openam > ProxyPassReverse ajp://192.168.52.142:8009/openam > > > > > ProxyPass ajp://192.168.52.142:8009/ > ProxyPassReverse ajp://192.168.52.142:8009/ > > > > *standalone.xml:* > > > > > > > Posted by forums > Original post: https://community.jboss.org/message/860048#860048 > > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users