From forge-users at lists.jboss.org Sun Mar 2 14:15:34 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sun, 02 Mar 2014 14:15:34 EST Subject: [forge-users] forge application security Message-ID: <596598676.81393787828728.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Is there in jboss forge something similar to seam-gen (Seam2) identity management, for application security and privileges management? Thanks Posted by forums Original post: https://community.jboss.org/message/860394#860394 From ggastald at redhat.com Sun Mar 2 14:29:53 2014 From: ggastald at redhat.com (George Gastaldi) Date: Sun, 2 Mar 2014 14:29:53 -0500 (EST) Subject: [forge-users] forge application security In-Reply-To: <596598676.81393787828728.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <596598676.81393787828728.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <5EE05D34-CCCF-46D8-B18B-E6C10300A79B@redhat.com> Hi, The nearest thing we have from that is the PicketLink addon. It is still under development yet. Look for sbryzak in IRC (irc.freenode.net) in #forge or #picketlink > Em 02/03/2014, ?s 16:17, forge-users at lists.jboss.org escreveu: > > Hi > Is there in jboss forge something similar to seam-gen (Seam2) identity management, for application security and privileges management? > Thanks > > Posted by forums > Original post: https://community.jboss.org/message/860394#860394 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From antonio.mailing at gmail.com Sun Mar 2 14:42:47 2014 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Sun, 2 Mar 2014 20:42:47 +0100 Subject: [forge-users] Advanced Java EE 6 training... with JBoss Forge In-Reply-To: References: Message-ID: Hum.... couldn't make the run command work... I have a timeout : https://issues.jboss.org/browse/FORGE-1432?focusedCommentId=12949199&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12949199 2014-02-25 7:15 GMT+01:00 Lincoln Baxter, III : > 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." > > _______________________________________________ > 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/20140302/b5e553aa/attachment.html From forge-users at lists.jboss.org Mon Mar 3 06:42:25 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 03 Mar 2014 06:42:25 EST Subject: [forge-users] Getting started with forge Message-ID: <1823476926.101393846975653.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi I'm a first time user of forge, so please forgive me if these seem like stupid questions. I've wanting to use forge as it seems like it will speed update development, especially of erria applications. I installed Forge, as documented on errai/forge-errai ? GitHub (https://github.com/errai/forge-errai) and https://github.com/forge/core#jboss-forge-20 Firstly, I tried installing it into JBDS. According to the documentation I should be able to hit ctrl-5 and the Forge UI should show. This did not happen. I tried the eclipse console, and tried to add the errai plugin. Wrote /home/anton/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml [magick.watcher] dev $ forge install-plugin errai ***INFO*** Preparing to install plugin: errai ***INFO*** Checking out plugin source files to [/tmp/forgetemp6427039614160685695] via 'git' ***INFO*** Switching to branch/tag [refs/heads/master] ***INFO*** Cleaning up temp workspace [/tmp/forgetemp6427039614160685695] Deleted /tmp/forgetemp6427039614160685695 ***ERROR*** Exception encountered: The project does not contain a valid Forge Plugin project. Installation aborted (type "set VERBOSE true" to enable stack traces) ??? _____??????????????????? ?? |? ___|__? _ __ __ _? ___ ?? | |_ / _ \| `__/ _` |/ _ \? \\ ?? |? _| (_) | | | (_| |? __/? // ?? |_|? \___/|_|? \__, |\___| ?????????????????? |___/????? JBoss Forge, version [ 2.1.1.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ] [bin]$ forge ***ERROR*** No such command: forge [bin]$ forge Project: New ***ERROR*** No such command: forge [bin]$ forge --install core ***ERROR*** No such command: forge [bin]$ forge --install shell ***ERROR*** No such command: forge [bin]$ I am obviously doing something very wrong. Can someone please help me? I would preferably use the UI in eclipse, but am fine with using the command line. Unfortunately neither is working. Posted by forums Original post: https://community.jboss.org/message/860448#860448 From lincolnbaxter at gmail.com Mon Mar 3 10:50:17 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Mon, 3 Mar 2014 10:50:17 -0500 Subject: [forge-users] Getting started with forge In-Reply-To: <1823476926.101393846975653.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1823476926.101393846975653.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Hi there, A few things that will hopefully clear up these issues :) The Errai plugin is for Forge 2. It won't work in Forge 1. Based on the Forge 2 output you pasted, it looks like you were trying to run `forge --install xxxxxx` from within Forge shell itself. This command must be run from your system terminal, outside of Forge 2. To install addons within Forge, you can use the: `addon-install` command. Also, a hint: Press to see a list of available commands within Forge 2. Cheers! On Mon, Mar 3, 2014 at 6:42 AM, wrote: > Hi > > I'm a first time user of forge, so please forgive me if these seem like > stupid questions. > > I've wanting to use forge as it seems like it will speed update > development, especially of erria applications. > > I installed Forge, as documented on errai/forge-errai ? GitHub ( > https://github.com/errai/forge-errai) and > https://github.com/forge/core#jboss-forge-20 > > Firstly, I tried installing it into JBDS. According to the documentation I > should be able to hit ctrl-5 and the Forge UI should show. This did not > happen. > > I tried the eclipse console, and tried to add the errai plugin. > > Wrote > /home/anton/.forge/httpsrawgithubcomforgepluginrepositorymasterrepositoryyaml.yaml > [magick.watcher] dev $ forge install-plugin errai > ***INFO*** Preparing to install plugin: errai > ***INFO*** Checking out plugin source files to > [/tmp/forgetemp6427039614160685695] via 'git' > ***INFO*** Switching to branch/tag [refs/heads/master] > ***INFO*** Cleaning up temp workspace [/tmp/forgetemp6427039614160685695] > Deleted /tmp/forgetemp6427039614160685695 > ***ERROR*** Exception encountered: The project does not contain a valid > Forge Plugin project. Installation aborted (type "set VERBOSE true" to > enable stack traces) > > > > > _____ > | ___|__ _ __ __ _ ___ > | |_ / _ \| `__/ _` |/ _ \ \\ > | _| (_) | | | (_| | __/ // > |_| \___/|_| \__, |\___| > |___/ > > > JBoss Forge, version [ 2.1.1.Final ] - JBoss, by Red Hat, Inc. [ > http://forge.jboss.org ] > > > [bin]$ forge > ***ERROR*** No such command: forge > [bin]$ forge Project: New > ***ERROR*** No such command: forge > [bin]$ forge --install core > ***ERROR*** No such command: forge > [bin]$ forge --install shell > ***ERROR*** No such command: forge > [bin]$ > > I am obviously doing something very wrong. Can someone please help me? > I would preferably use the UI in eclipse, but am fine with using the > command line. Unfortunately neither is working. > > Posted by forums > Original post: https://community.jboss.org/message/860448#860448 > > _______________________________________________ > 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/20140303/021fe371/attachment-0001.html From forge-users at lists.jboss.org Mon Mar 3 10:32:35 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 03 Mar 2014 10:32:35 EST Subject: [forge-users] Getting started with forge In-Reply-To: <1823476926.101393846975653.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <473995966.141393863652901.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi Anton, Do you have any error in the Error Log view after you hit Ctrl+5? in the Forge console, try installing the plugin by using addon-install --groupId org.jboss.errai.forge --name errai-forge-addon --version 2.0.0.Beta1 Posted by forums Original post: https://community.jboss.org/message/860483#860483 From forge-users at lists.jboss.org Mon Mar 3 11:33:55 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 03 Mar 2014 11:33:55 EST Subject: [forge-users] Getting started with forge In-Reply-To: <473995966.141393863652901.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <471199916.151393864898430.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Thanks George - I'll get back to you on the eclipse question. I ran the command you gave me, and it installed something... Then I tried some basic commands and get the following: ***SUCCESS*** Addon org.jboss.errai.forge:errai-forge-addon,2.0.0.Beta1 was installed successfully. [bin]$ [bin]$ [bin]$ forge find-addon errai ***ERROR*** No such command: forge [bin]$ forge find-plugin errai ***ERROR*** No such command: forge [bin]$ Posted by forums Original post: https://community.jboss.org/message/860491#860491 From ggastald at redhat.com Mon Mar 3 11:50:24 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 03 Mar 2014 13:50:24 -0300 Subject: [forge-users] Getting started with forge In-Reply-To: <471199916.151393864898430.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <471199916.151393864898430.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <5314B2D0.9050706@redhat.com> That's because you're trying to use Forge 1 commands in Forge 2. That will not work. Press and you should see the list of commands. There should be a command named "setup-errai-to-project" or something like that. You should follow the same steps provided in the Errai plugin documentation. On 03-03-2014 13:33, forge-users at lists.jboss.org wrote: > Thanks George - I'll get back to you on the eclipse question. > > I ran the command you gave me, and it installed something... Then I tried some basic commands and get the following: > > ***SUCCESS*** Addon org.jboss.errai.forge:errai-forge-addon,2.0.0.Beta1 was installed successfully. > [bin]$ > [bin]$ > [bin]$ forge find-addon errai > ***ERROR*** No such command: forge > [bin]$ forge find-plugin errai > ***ERROR*** No such command: forge > [bin]$ > > Posted by forums > Original post: https://community.jboss.org/message/860491#860491 > _______________________________________________ > 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 Mar 4 16:39:09 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 04 Mar 2014 16:39:09 EST Subject: [forge-users] forge application security In-Reply-To: <5EE05D34-CCCF-46D8-B18B-E6C10300A79B@redhat.com> Message-ID: <356526794.231393981452110.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Thanks George for your suggestion. I spent my whole day reading the PicketLink doc and testing all quickstarts ... it's very difficult to get started.. I agree, it's very powerful security framework, but for people who just need a simple identity management for java ee 6 web app, I think it's very complicated. Posted by forums Original post: https://community.jboss.org/message/860665#860665 From rdebusscher at gmail.com Wed Mar 5 02:35:03 2014 From: rdebusscher at gmail.com (Rudy De Busscher) Date: Wed, 5 Mar 2014 08:35:03 +0100 Subject: [forge-users] forge application security In-Reply-To: <356526794.231393981452110.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <5EE05D34-CCCF-46D8-B18B-E6C10300A79B@redhat.com> <356526794.231393981452110.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Hi, There are other alternatives if you want something simpler. There is Apache Shiro and we have created the Octopus framework around it if your web app is JSF/CDI and EJB based. regards Rudy On 4 March 2014 22:39, wrote: > Thanks George for your suggestion. > > I spent my whole day reading the PicketLink doc and testing all > quickstarts ... it's very difficult to get started.. > I agree, it's very powerful security framework, but for people who just > need a simple identity management for java ee 6 web app, I think it's very > complicated. > > Posted by forums > Original post: https://community.jboss.org/message/860665#860665 > _______________________________________________ > 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/20140305/eb4d1fe2/attachment.html From antonio.mailing at gmail.com Wed Mar 5 15:21:46 2014 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Wed, 5 Mar 2014 21:21:46 +0100 Subject: [forge-users] Advanced Java EE 6 training... with JBoss Forge In-Reply-To: References: Message-ID: Hum.... there is something else I miss : - Being able to have inheritance in JPA ( https://issues.jboss.org/browse/FORGE-1478) Now that we have MappedSuperclasses, it would be good to be able to inherit from either an Entity or MappedSuperclass Antonio 2014-02-22 19:18 GMT+01:00 Antonio Goncalves : > 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 > -- 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/20140305/f0d66cd9/attachment.html From lincolnbaxter at gmail.com Thu Mar 6 09:12:31 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Thu, 6 Mar 2014 09:12:31 -0500 Subject: [forge-users] Advanced Java EE 6 training... with JBoss Forge In-Reply-To: References: Message-ID: Agreed! This should be added as a new UIInput of the JPA New Entity wizard... But it will require a bit of work to ensure that we don't duplicate fields. --- Lincoln Baxter's Droid http://ocpsoft.org "Keep it Simple" On Mar 5, 2014 3:22 PM, "Antonio Goncalves" wrote: > Hum.... there is something else I miss : > > - Being able to have inheritance in JPA ( > https://issues.jboss.org/browse/FORGE-1478) > > > Now that we have MappedSuperclasses, it would be good to be able to > inherit from either an Entity or MappedSuperclass > > Antonio > > > > > 2014-02-22 19:18 GMT+01:00 Antonio Goncalves : > >> 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 >> > > > > -- > 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/20140306/5476ef2c/attachment-0001.html From lincolnbaxter at gmail.com Thu Mar 6 09:14:08 2014 From: lincolnbaxter at gmail.com (Lincoln Baxter, III) Date: Thu, 6 Mar 2014 09:14:08 -0500 Subject: [forge-users] forge application security In-Reply-To: <356526794.231393981452110.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <5EE05D34-CCCF-46D8-B18B-E6C10300A79B@redhat.com> <356526794.231393981452110.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Hey Shane, What features will the new picketlink forge add on provide? Will it do simple IDM setup? Thanks! --- Lincoln Baxter's Droid http://ocpsoft.org "Keep it Simple" On Mar 4, 2014 8:04 PM, wrote: > Thanks George for your suggestion. > > I spent my whole day reading the PicketLink doc and testing all > quickstarts ... it's very difficult to get started.. > I agree, it's very powerful security framework, but for people who just > need a simple identity management for java ee 6 web app, I think it's very > complicated. > > Posted by forums > Original post: https://community.jboss.org/message/860665#860665 > _______________________________________________ > 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/20140306/1ff508a7/attachment.html From forge-users at lists.jboss.org Thu Mar 6 10:00:47 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 06 Mar 2014 10:00:47 EST Subject: [forge-users] HTTP (JSON-like) API - domain mode Message-ID: <1965445941.01394118183933.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> I have a jboss cluster set up in domain mode. I want to use the jboss management rest api to fetch information about the hosts from the domain controller: eg: URL : http://myhost:9990/management (http://eclwsd004:9990/management) Content Type: application/json Content : {"operation":"read-attribute","address":[{"host":"*myhost09*"},{"server":"+server-node-A+"}],"name":"server-state"} =================================== I get back : Status : 500 Internal Server Error Message: | {"outcome" : "failed", "result" : null, "failure-description" : "JBAS014883: No resource definition is registered for address [\n | (\"host\" => \"*myhost09*\"),\n | (\"server\" => \"+server-node-A+\")\n]", "rolled-back" : true} | =================================== where in host.xml on the host machine reads : .... ??????? ??????????? ??????????????? ??????????????? ??????????????????? ??????????? ??????????? ??????? ==================================== So I cant understand what am I missing here. Could anyone help here? Posted by forums Original post: https://community.jboss.org/message/861003#861003 From forge-users at lists.jboss.org Thu Mar 6 11:07:21 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 06 Mar 2014 11:07:21 EST Subject: [forge-users] HTTP (JSON-like) API - domain mode In-Reply-To: <1965445941.01394118183933.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <205986428.11394122071999.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Strange observation. When I tried to do the same thing via the console using curl, I saw a new registry for *management realm* (in bold) and it gave me result successfully. Once this worked, even the calls from the (firefox) poster as described above are now working fine. curl --digest -L -D - http://user:pwd at localhost:9990/management --header "Content-Type: application/json" -d '{"operation":"read-attribute","address":[{"host":"*myhost09*"},{"server":"+server-node-A+"}],"name":"server-state"}' HTTP/1.1 401 Unauthorized Content-length: 0 *Www-authenticate: Digest realm="ManagementRealm",nonce="454825e7664ddd1fb62e70f4a78e3b56"* Date: Thu, 06 Mar 2014 15:57:04 GMT HTTP/1.1 200 OK Transfer-encoding: chunked Content-type: application/json Date: Thu, 06 Mar 2014 15:57:04 GMT {"outcome" : "success", "result" : "running"} Posted by forums Original post: https://community.jboss.org/message/861014#861014 From forge-users at lists.jboss.org Thu Mar 6 11:39:41 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 06 Mar 2014 11:39:41 EST Subject: [forge-users] forge application security In-Reply-To: Message-ID: <1206813687.21394124011394.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, Doing IDM setup, is not a problem. It is well explained in the doc. The problem is more related to IDM - java ee app integration. The domain model is certainly very powerful, but not intuitive at all. It's simply over-engineered. The best quick start I found so far is actually from seam 3: security-idmconsole (Thanks Shane{emoticon:class=jive_macro_emoticon jive_macro jive_emote jiveImage|src=https://community.jboss.org/6.0.3.60ddddd/images/emoticons/wink.png|__jive_emoticon_name=wink}). I have used the seam-gen identity management. It was an excellent tool... very efficient and easy to use.? Something similar for forge will be great. Thanks https://github.com/seam/examples/tree/master/idmconsole http://in.relation.to/Bloggers/PutSeamsIdentityManagementToPracticeUsingSeamgen Posted by forums Original post: https://community.jboss.org/message/861023#861023 From sbryzak at redhat.com Thu Mar 6 17:58:09 2014 From: sbryzak at redhat.com (Shane Bryzak) Date: Fri, 07 Mar 2014 08:58:09 +1000 Subject: [forge-users] forge application security In-Reply-To: References: <5EE05D34-CCCF-46D8-B18B-E6C10300A79B@redhat.com> <356526794.231393981452110.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <5318FD81.3000407@redhat.com> These are the features currently planned for the PicketLink Forge Addon: 1) Adding the PicketLink dependencies to the project 2) Generating a custom Identity Model (this allows you to more easily tweak which state you store for your users) 3) Generate a JPA entity schema for an identity model - this goes hand in hand with 2). 4) Generate the IDM configuration 5) Generate the login bean classes (basically sets up all the server-side requirements for authentication) 6) Generate a login form (client side - JSF, HTML5, other view technologies possibly?) 7) Generate RESTful interfaces for authentication 8) Create an @Admin typesafe security binding using Deltaspike 9) Setup multi-tenancy support if required. Basically the addon will trivialize the setup for PicketLink, creating all the necessary classes and views to meet the needs of a typical application's security requirements. You can track progress in JIRA: https://issues.jboss.org/browse/FORGEPLUGINS-161 Shane On 07/03/14 00:14, Lincoln Baxter, III wrote: > > Hey Shane, > > What features will the new picketlink forge add on provide? > > Will it do simple IDM setup? > > Thanks! > > --- > Lincoln Baxter's Droid > http://ocpsoft.org > "Keep it Simple" > > On Mar 4, 2014 8:04 PM, > wrote: > > Thanks George for your suggestion. > > I spent my whole day reading the PicketLink doc and testing all > quickstarts ... it's very difficult to get started.. > I agree, it's very powerful security framework, but for people who > just need a simple identity management for java ee 6 web app, I > think it's very complicated. > > Posted by forums > Original post: https://community.jboss.org/message/860665#860665 > _______________________________________________ > 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/20140307/dfa08842/attachment.html From forge-users at lists.jboss.org Mon Mar 10 12:35:55 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 10 Mar 2014 12:35:55 EDT Subject: [forge-users] JSF1015: Request path begins with one or more occurrences of the FacesServlet prefix path mapping '/faces'. Message-ID: <174079106.41394469385810.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi scaffolding from forge 1.4.4 raises the following warning with create.xhtml: "JSF1015: Request path? begins with one or more occurrences of the FacesServlet prefix path mapping '/faces'." the URL contains? /faces/faces/ Any idea how to fix it? Thanks Posted by forums Original post: https://community.jboss.org/message/861612#861612 From forge-users at lists.jboss.org Mon Mar 10 13:11:22 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 10 Mar 2014 13:11:22 EDT Subject: [forge-users] JSF1015: Request path begins with one or more occurrences of the FacesServlet prefix path mapping '/faces'. In-Reply-To: <174079106.41394469385810.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <290393078.51394471512621.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> If I recall correctly, this is because the Faces servlet is mapped to /faces, and installing the Faces scaffold into a sub-directory named 'faces', simply confuses the Servlet and/or results in broken URLs being generated. The fix, if I'm not mistaken, is to install the scaffold into a directory with a different name. Posted by forums Original post: https://community.jboss.org/message/861628#861628 From forge-users at lists.jboss.org Fri Mar 14 10:56:48 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 14 Mar 2014 10:56:48 EDT Subject: [forge-users] plugin jboss-as-7 error in forge Message-ID: <2120764027.11394809038295.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> This looks like a bug in forge, I moved this discussion to Forge forum, where guys would be able to help you better. Posted by forums Original post: https://community.jboss.org/message/862503#862503 From forge-users at lists.jboss.org Fri Mar 14 11:20:23 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 14 Mar 2014 11:20:23 EDT Subject: [forge-users] plugin jboss-as-7 error in forge Message-ID: <1734832960.21394810453544.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> ok thank you. Posted by forums Original post: https://community.jboss.org/message/862518#862518 From forge-users at lists.jboss.org Mon Mar 17 06:37:29 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 17 Mar 2014 06:37:29 EDT Subject: [forge-users] Impossible create connection's profile Message-ID: <120279291.51395052679717.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello, On forge 2.1.1 when i want create a connection's profile i wrote: connection-create-profile --name myConnection --userName florent --hibernateDialect? org.hibernate.dialect.MySQL5Dialect? --driverLocation C:\Users\utilisateur\forge-distribution-2.1.1.Final\lib\mysql-connector-java.5.1.28-bin.jar --jdbcUrl jdbc:mysql://localhost:3306/airiut --userPassword delmotte --driverClass com.mysql.jdbc.Driver i obtain: Hibernate Dialect must be specified. i obtain also the same when i use: jpa-generate-entities-from-tables --userName florent --hibernateDialect? org.hibernate.dialect.MySQL5Dialect? --driverLocation C:\Users\utilisateur\forge-distribution-2.1.1.Final\lib\mysql-connector-java.5.1.28-bin.jar --jdbcUrl jdbc:mysql://localhost:3306/airiut --userPassword delmotte --driverClass com.mysql.jdbc.Driver is that a bug ? Posted by forums Original post: https://community.jboss.org/message/862743#862743 From forge-users at lists.jboss.org Tue Mar 18 04:49:46 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 18 Mar 2014 04:49:46 EDT Subject: [forge-users] Impossible create connection's profile In-Reply-To: <120279291.51395052679717.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <64746747.61395132617003.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, Highly probable that this is a bug. I'll look into it today. Cheers, Koen Posted by forums Original post: https://community.jboss.org/message/862921#862921 From forge-users at lists.jboss.org Fri Mar 21 10:03:50 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 21 Mar 2014 10:03:50 EDT Subject: [forge-users] is subscribing to other addons commands possible ? Message-ID: <1206477328.01395410660988.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello, Discovered v2 recently and I'd like to start an addon project. My addon should react to the creation of a new entity for example. Is it possible to register one's addon to calls to other addons like jpa-new-entity, jpa-new-field ? Or should I take the scaffolding route with a command to produce what I want when all entities are created ? Thank you Posted by forums Original post: https://community.jboss.org/message/863561#863561 From ggastald at redhat.com Fri Mar 21 10:10:42 2014 From: ggastald at redhat.com (George Gastaldi) Date: Fri, 21 Mar 2014 10:10:42 -0400 (EDT) Subject: [forge-users] is subscribing to other addons commands possible ? In-Reply-To: <1206477328.01395410660988.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1206477328.01395410660988.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: You can listen for command executions using a CommandExecutionListener. However the later idea is better, by creating a scaffold type you should be able to list all entities in your project. > Em 21/03/2014, ?s 11:04, forge-users at lists.jboss.org escreveu: > > Hello, > Discovered v2 recently and I'd like to start an addon project. > My addon should react to the creation of a new entity for example. > > Is it possible to register one's addon to calls to other addons like jpa-new-entity, jpa-new-field ? > > Or should I take the scaffolding route with a command to produce what I want when all entities are created ? > > Thank you > > Posted by forums > Original post: https://community.jboss.org/message/863561#863561 > _______________________________________________ > 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 Sun Mar 23 15:20:25 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sun, 23 Mar 2014 15:20:25 EDT Subject: [forge-users] Forge newbie Message-ID: <417391382.01395602455862.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Can Forge be invoked programmatically from a Java program? Or can it be only called from Forge shell or Eclipse Plugin? I am trying to generate code (projects) with the help Forge and it's facets from a Java based custom tool. So I cannot make use of Forge shell. Appreciate any pointers. Posted by forums Original post: https://community.jboss.org/message/863713#863713 From ggastald at redhat.com Sun Mar 23 17:41:55 2014 From: ggastald at redhat.com (George Gastaldi) Date: Sun, 23 Mar 2014 17:41:55 -0400 (EDT) Subject: [forge-users] Forge newbie In-Reply-To: <417391382.01395602455862.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <417391382.01395602455862.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <7841D5B1-6582-4224-9A2C-FFBEA48E43C5@redhat.com> Hello, You can start Forge 2 with your application and use its APIs to do what you want, without requiring the shell. Join us on #forge in irc.freenode.net so we can aid you in this. > Em 23/03/2014, ?s 16:21, forge-users at lists.jboss.org escreveu: > > Can Forge be invoked programmatically from a Java program? Or can it be only called from Forge shell or Eclipse Plugin? I am trying to generate code (projects) with the help Forge and it's facets from a Java based custom tool. So I cannot make use of Forge shell. Appreciate any pointers. > > Posted by forums > Original post: https://community.jboss.org/message/863713#863713 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From antonio.mailing at gmail.com Mon Mar 24 05:30:00 2014 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Mon, 24 Mar 2014 10:30:00 +0100 Subject: [forge-users] Forge newbie In-Reply-To: <7841D5B1-6582-4224-9A2C-FFBEA48E43C5@redhat.com> References: <417391382.01395602455862.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> <7841D5B1-6582-4224-9A2C-FFBEA48E43C5@redhat.com> Message-ID: Guys, I'm also interested on that. At the moment I'm working for a customer who uses its "own" tools to generate code. They have an API to do it from simple Main classes for example. So it would be great to be able to generate code with Forge. A perfect use case is : how do I create a new project ? Or how do I do a "project-new --named myProj --type war --topPackage org.mycomp.myproj" .... If it's doable, a bit of documentation would help ;o) Antonio 2014-03-23 22:41 GMT+01:00 George Gastaldi : > Hello, > > You can start Forge 2 with your application and use its APIs to do what > you want, without requiring the shell. Join us on #forge in > irc.freenode.net so we can aid you in this. > > > Em 23/03/2014, ?s 16:21, forge-users at lists.jboss.org escreveu: > > > > Can Forge be invoked programmatically from a Java program? Or can it be > only called from Forge shell or Eclipse Plugin? I am trying to generate > code (projects) with the help Forge and it's facets from a Java based > custom tool. So I cannot make use of Forge shell. Appreciate any pointers. > > > > Posted by forums > > Original post: https://community.jboss.org/message/863713#863713 > > _______________________________________________ > > 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/20140324/85815e8c/attachment.html From ggastald at redhat.com Mon Mar 24 11:24:21 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 24 Mar 2014 12:24:21 -0300 Subject: [forge-users] Forge newbie In-Reply-To: References: <417391382.01395602455862.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> <7841D5B1-6582-4224-9A2C-FFBEA48E43C5@redhat.com> Message-ID: <53304E25.2070800@redhat.com> Hi Antonio, I added a Gist in https://gist.github.com/gastaldi/9741889 showing how to start Furnace and creating a new project. This should be in the documentation soon. Best Regards, George Gastaldi On 24-03-2014 06:30, Antonio Goncalves wrote: > Guys, I'm also interested on that. > > At the moment I'm working for a customer who uses its "own" tools to > generate code. They have an API to do it from simple Main classes for > example. So it would be great to be able to generate code with Forge. > A perfect use case is : how do I create a new project ? Or how do I do > a "project-new --named myProj --type war --topPackage > org.mycomp.myproj" .... > > If it's doable, a bit of documentation would help ;o) > > Antonio > > > 2014-03-23 22:41 GMT+01:00 George Gastaldi >: > > Hello, > > You can start Forge 2 with your application and use its APIs to do > what you want, without requiring the shell. Join us on #forge in > irc.freenode.net so we can aid you in this. > > > Em 23/03/2014, ?s 16:21, forge-users at lists.jboss.org > escreveu: > > > > Can Forge be invoked programmatically from a Java program? Or > can it be only called from Forge shell or Eclipse Plugin? I am > trying to generate code (projects) with the help Forge and it's > facets from a Java based custom tool. So I cannot make use of > Forge shell. Appreciate any pointers. > > > > Posted by forums > > Original post: https://community.jboss.org/message/863713#863713 > > _______________________________________________ > > 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/20140324/3adc4a27/attachment.html From forge-users at lists.jboss.org Mon Mar 24 13:08:35 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 24 Mar 2014 13:08:35 EDT Subject: [forge-users] forge-distribution-2.3.0.Final-offline.zip hangs up on startup Message-ID: <1539947339.11395680945824.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello. When I unzipped the recommended command line distribution forge-distribution-2.3.0.Final-offline.zip to folder c:\s on my Windows 7 PC and modified my environment variable FORGE_HOME to point to the unzipped folder, the batch command "forge" produced some startup log lines but never provided a prompt and it never accepted any keyboard input. When I repeated the process using instead the " no-addons" file forge-distribution-2.3.0.Final.zip, everything worked as expected. It appears that the the recommended "offline" zip file has a severe problem ..... Has anyone else tested this zip file in a windows environment ? Posted by forums Original post: https://community.jboss.org/message/863925#863925 From ggastald at redhat.com Mon Mar 24 13:11:42 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 24 Mar 2014 14:11:42 -0300 Subject: [forge-users] forge-distribution-2.3.0.Final-offline.zip hangs up on startup In-Reply-To: <1539947339.11395680945824.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1539947339.11395680945824.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <5330674E.9040507@redhat.com> I haven't noticed this problem. Could you try running forge.bat inside the bin/ folder of the unzipped version of forge-distribution-2.3.0.Final-offline.zip and see if this also happens ? Thanks On 24-03-2014 14:08, forge-users at lists.jboss.org wrote: > Hello. > When I unzipped the recommended command line distribution forge-distribution-2.3.0.Final-offline.zip to folder c:\s on my Windows 7 PC and modified my environment variable FORGE_HOME to point to the unzipped folder, the batch command "forge" produced some startup log lines but never provided a prompt and it never accepted any keyboard input. > > When I repeated the process using instead the " no-addons" file forge-distribution-2.3.0.Final.zip, everything worked as expected. > > It appears that the the recommended "offline" zip file has a severe problem ..... > > Has anyone else tested this zip file in a windows environment ? > > Posted by forums > Original post: https://community.jboss.org/message/863925#863925 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From forge-users at lists.jboss.org Mon Mar 24 13:31:31 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 24 Mar 2014 13:31:31 EDT Subject: [forge-users] forge-distribution-2.3.0.Final-offline.zip hangs up on startup In-Reply-To: <5330674E.9040507@redhat.com> Message-ID: <1769197374.21395682321941.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> That worked. However, in the interim between my question and your response, I also had ran the "forge -- install core" command against the unzipped folder. That process must have installed a critical missing component in my local repository because now the offline version works ok (whether I start forge from with the bin subfolder or from within the forge folder). Posted by forums Original post: https://community.jboss.org/message/863930#863930 From forge-users at lists.jboss.org Mon Mar 24 13:34:26 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 24 Mar 2014 13:34:26 EDT Subject: [forge-users] forge-distribution-2.3.0.Final-offline.zip hangs up on startup In-Reply-To: <1769197374.21395682321941.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <123983487.31395682496200.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Interesting. If you find the root cause, let us know and we'll fix it. Thanks! Posted by forums Original post: https://community.jboss.org/message/863932#863932 From forge-users at lists.jboss.org Mon Mar 24 13:38:59 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 24 Mar 2014 13:38:59 EDT Subject: [forge-users] forge-distribution-2.3.0.Final-offline.zip hangs up on startup In-Reply-To: <123983487.31395682496200.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <471947842.41395682769535.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> I probably won't do any more testing since I now have a working forge distribution. The lesson for others reading this post is - if you see this same problem install the "no addons" zip version and then run "forge --install core" George .... does that produce the same result as if the "offline zip" file had worked ok ? Posted by forums Original post: https://community.jboss.org/message/863933#863933 From ggastald at redhat.com Mon Mar 24 13:43:33 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 24 Mar 2014 14:43:33 -0300 Subject: [forge-users] forge-distribution-2.3.0.Final-offline.zip hangs up on startup In-Reply-To: <471947842.41395682769535.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <471947842.41395682769535.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <53306EC5.5020109@redhat.com> Yes, the offline zip contains the core addons. You can compare the ~/.forge/addons x FORGE_HOME/addons directories after you ran forge --install core. They should be the same. On 24-03-2014 14:38, forge-users at lists.jboss.org wrote: > I probably won't do any more testing since I now have a working forge distribution. > > The lesson for others reading this post is - if you see this same problem install the "no addons" zip version and then run "forge --install core" > > George .... does that produce the same result as if the "offline zip" file had worked ok ? > > Posted by forums > Original post: https://community.jboss.org/message/863933#863933 > _______________________________________________ > 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 Mar 25 07:41:14 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Tue, 25 Mar 2014 07:41:14 EDT Subject: [forge-users] Forge can't build a new project with an own maven repository defined in maven settings Message-ID: <884629492.61395747704525.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi all, I use an own maven repository (artifactory) on my development system, to hold own Projects and as a Proxy. When I start to build a new project, forge stops with an strange error: ??? _____??????????????????? ?? |? ___|__? _ __ __ _? ___ ?? | |_ / _ \| `__/ _` |/ _ \? \\ ?? |? _| (_) | | | (_| |? __/? // ?? |_|? \___/|_|? \__, |\___| ?????????????????? |___/????? JBoss Forge, version [ 1.4.4.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ] [no project] tmp $ set VERBOSE true [no project] tmp $ new-project --named test123 ***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces) org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model for org.jboss.forge.generated:generated-pom:1.0.0-SNAPSHOT [ERROR] Invalid artifact repository: null @ ??????? at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:422) ??????? at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:374) ??????? at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:365) ??????? at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232) ??????? at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:141) ??????? at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:102) ??????? at org.jboss.forge.maven.facets.MavenCoreFacetImpl.getPartialProjectBuildingResult(MavenCoreFacetImpl.java:101) ??????? at org.jboss.forge.maven.facets.MavenCoreFacetImpl.resolveProperties(MavenCoreFacetImpl.java:338) ??????? at org.jboss.forge.maven.facets.MavenDependencyFacet.resolveProperties(MavenDependencyFacet.java:394) ??????? at org.jboss.forge.maven.facets.MavenDependencyFacet.hasEffectiveDependency(MavenDependencyFacet.java:172) ??????? at org.jboss.forge.spec.javaee.BaseJavaEEFacet.isInstalled(BaseJavaEEFacet.java:64) ??????? at org.jboss.forge.project.BaseProject.registerFacet(BaseProject.java:153) ??????? at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:208) ??????? at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:186) ??????? at org.jboss.forge.project.services.ProjectFactory.registerFacets(ProjectFactory.java:178) ??????? at org.jboss.forge.project.services.ProjectFactory.findProject(ProjectFactory.java:237) ??????? at org.jboss.forge.project.services.ProjectFactory.containsProject(ProjectFactory.java:216) ??????? at org.jboss.forge.shell.plugins.builtin.NewProjectPlugin.create(NewProjectPlugin.java:140) ??????? 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) [no project] tmp $ I searched about a maven configuration, but found nothing. Here are my maven settings.xml: ? ??? ????? remote-repos ????? remote-repos ????? http://127.0.0.1/artifactory/remote-repos ????? central ??? ??? ????? jboss-public ????? remote-repos ????? http://127.0.0.1/artifactory/remote-repos ????? jboss ??? ? ? ??? ????? true ????? http ????? 10.x.y.2 ????? 3128 ??????????????????????? ????? 127.0.0.1 ??? ? ? ??? ????? ??????? ????????? ??????????? false ????????? ????????? central ????????? libs-release ????????? http://127.0.0.1/artifactory/libs-release ??????? ??????? ????????? ????????? snapshots ????????? libs-snapshot ????????? http://127.0.0.1/artifactory/libs-snapshot ??????? ????? ????? ??????? ????????? ??????????? false ????????? ????????? central ????????? plugins-release ????????? http://127.0.0.1/artifactory/plugins-release ??????? ??????? ????????? ????????? snapshots ????????? plugins-snapshot ????????? http://127.0.0.1/artifactory/plugins-snapshot ??????? ????? ????? artifactory ??? ? ? ??? artifactory ? ? ??? ????? integration.xyz.loc ????? xyz ????? ........ ??? ? With an empty settings.xml everything works fine. Is there a way to tell forge to use an empty settings.xml on an other location? Thanks in advance Posted by forums Original post: https://community.jboss.org/message/864100#864100 From ggastald at redhat.com Tue Mar 25 10:40:24 2014 From: ggastald at redhat.com (George Gastaldi) Date: Tue, 25 Mar 2014 10:40:24 -0400 (EDT) Subject: [forge-users] Forge can't build a new project with an own maven repository defined in maven settings In-Reply-To: <884629492.61395747704525.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <884629492.61395747704525.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <4B40EE7B-A1AA-459A-AFD4-4085FE3125B9@redhat.com> You can add -Dorg.apache.maven.user-settings=PATH to your startup script to make Forge use another settings.xml. Best Regards, George > Em 25/03/2014, ?s 08:42, forge-users at lists.jboss.org escreveu: > > Hi all, > I use an own maven repository (artifactory) on my development system, to hold own Projects and as a Proxy. When I start to build a new project, forge stops with an strange error: > _____ > | ___|__ _ __ __ _ ___ > | |_ / _ \| `__/ _` |/ _ \ \\ > | _| (_) | | | (_| | __/ // > |_| \___/|_| \__, |\___| > |___/ > > JBoss Forge, version [ 1.4.4.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ] > [no project] tmp $ set VERBOSE true > [no project] tmp $ new-project --named test123 > ***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces) > org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model for org.jboss.forge.generated:generated-pom:1.0.0-SNAPSHOT > [ERROR] Invalid artifact repository: null @ > > at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:422) > at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:374) > at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:365) > at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232) > at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:141) > at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:102) > at org.jboss.forge.maven.facets.MavenCoreFacetImpl.getPartialProjectBuildingResult(MavenCoreFacetImpl.java:101) > at org.jboss.forge.maven.facets.MavenCoreFacetImpl.resolveProperties(MavenCoreFacetImpl.java:338) > at org.jboss.forge.maven.facets.MavenDependencyFacet.resolveProperties(MavenDependencyFacet.java:394) > at org.jboss.forge.maven.facets.MavenDependencyFacet.hasEffectiveDependency(MavenDependencyFacet.java:172) > at org.jboss.forge.spec.javaee.BaseJavaEEFacet.isInstalled(BaseJavaEEFacet.java:64) > at org.jboss.forge.project.BaseProject.registerFacet(BaseProject.java:153) > at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:208) > at org.jboss.forge.project.services.ProjectFactory.registerSingleFacet(ProjectFactory.java:186) > at org.jboss.forge.project.services.ProjectFactory.registerFacets(ProjectFactory.java:178) > at org.jboss.forge.project.services.ProjectFactory.findProject(ProjectFactory.java:237) > at org.jboss.forge.project.services.ProjectFactory.containsProject(ProjectFactory.java:216) > at org.jboss.forge.shell.plugins.builtin.NewProjectPlugin.create(NewProjectPlugin.java:140) > 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) > [no project] tmp $ > I searched about a maven configuration, but found nothing. Here are my maven settings.xml: > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> > > > remote-repos > remote-repos > http://127.0.0.1/artifactory/remote-repos > central > > > jboss-public > remote-repos > http://127.0.0.1/artifactory/remote-repos > jboss > > > > > true > http > 10.x.y.2 > 3128 > > 127.0.0.1 > > > > > > > > false > > central > libs-release > http://127.0.0.1/artifactory/libs-release > > > > snapshots > libs-snapshot > http://127.0.0.1/artifactory/libs-snapshot > > > > > > false > > central > plugins-release > http://127.0.0.1/artifactory/plugins-release > > > > snapshots > plugins-snapshot > http://127.0.0.1/artifactory/plugins-snapshot > > > artifactory > > > > artifactory > > > > integration.xyz.loc > xyz > ........ > > > > > With an empty settings.xml everything works fine. Is there a way to tell forge to use an empty settings.xml on an other location? > > Thanks in advance > > Posted by forums > Original post: https://community.jboss.org/message/864100#864100 > > _______________________________________________ > 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 Thu Mar 27 05:05:18 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 27 Mar 2014 05:05:18 EDT Subject: [forge-users] forge custom Message-ID: <129334284.101395911148608.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello, I wan't to understand how forge generate UI, i know metawildget is used, but if I have correctly understand metawidget is a runtime generator, but i don't find any metawidget's anotation in the view or metawidget's tag on the xhtml page. I wan't to know that, because i would like customize automaticaly the generated code when i used the scaffolding command. Posted by forums Original post: https://community.jboss.org/message/864700#864700 From forge-users at lists.jboss.org Thu Mar 27 06:07:20 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 27 Mar 2014 06:07:20 EDT Subject: [forge-users] Forge custom Message-ID: <120405894.111395914870372.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello, I wan't to understand how forge generate UI, i know metawildget is used, but if I have correctly understand metawidget is a runtime generator, but i don't find any metawidget's anotation in the view or metawidget's tag on the xhtml page. I wan't to know that, because i would like customize automaticaly the generated code when i used the scaffolding command. thank Posted by forums Original post: https://community.jboss.org/message/864716#864716 From forge-users at lists.jboss.org Thu Mar 27 07:40:48 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Thu, 27 Mar 2014 07:40:48 EDT Subject: [forge-users] forge custom In-Reply-To: <129334284.101395911148608.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1896304976.121395920478757.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Well, you could use practically anything to generate code in Forge, of course, within reason and as long as it works {emoticon:class=jive_macro jive_emote|src=https://community.jboss.org/6.0.3.60ddddd/images/emoticons/happy.png|__jive_emoticon_name=happy} Currently, Metawidget is used in the Faces scaffolding to inspect JPA entities and eventually generate various artifacts (including Java classes) in conjunction with a Freemarker template. Note that this is how the Faces scaffolding worked in Forge 1, and like you've found out there are limitations on how much users can control and customize the output, partly because this lifecycle does not allow you to supply your own code generation logic. Since Forge scaffold providers can be written in a free-form manner, you're not bound to using this lifecycle and you can write your own. I would recommend you to take a look at the Forge 2 AngularJS addon currently developed here - forge/angularjs-addon ? GitHub (https://github.com/forge/angularjs-addon). It is being ported from the Forge 1 AngularJS plugin (https://github.com/forge/angularjs-scaffoldx-plugin/) which supported more extended customization of generated code since you could supply your own templates. It still uses Metawidget, but mostly to inspect JPA entities and obtain inspection results to further drive a Freemarker template-based code generator. Users could supply their own templates as part of the project being scaffolded. Note - this template-based customization feature is not ported completely to Forge 2, but it should be out when the 2.0.0.Final version of this addon is released. The generation model still has limitations on how much customization you can do (like whether you can generate additional files, not just the ones defined in the scaffold), and we're continuing to work on that. So, you could write your own scaffold provider using these principles. This would be recommended if you need to bring in your own technology stack with vast changes to the generated code. If you're looking to improvements in the Faces scaffolding like the ones described in the AngularJS one, you would wait until the Faces one is rewritten using these principles; contributions are of course very much welcome and appreciated. Posted by forums Original post: https://community.jboss.org/message/864735#864735 From forge-users at lists.jboss.org Fri Mar 28 12:17:48 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 28 Mar 2014 12:17:48 EDT Subject: [forge-users] Forge custom In-Reply-To: <120405894.111395914870372.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <1791029226.151396023498134.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hello i think i will edit files in directory? \core-2.3.0.Final\javaee\faces, but if you have any sugestion cheers Posted by forums Original post: https://community.jboss.org/message/865198#865198 From forge-users at lists.jboss.org Fri Mar 28 12:26:38 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Fri, 28 Mar 2014 12:26:38 EDT Subject: [forge-users] Forge custom In-Reply-To: <120405894.111395914870372.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <2132030202.161396024029072.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi, We are working on making the scaffold API and implementations more flexible and reusable. In the short term, you should fork the faces scaffold and implement the behavior you want, that is, create a new addon project, copy the classes/files from javaee\faces and change at will {emoticon:class=jive_macro jive_emote|src=https://community.jboss.org/6.0.3.60ddddd/images/emoticons/wink.png|__jive_emoticon_name=wink} Thanks! Posted by forums Original post: https://community.jboss.org/message/865199#865199 From forge-users at lists.jboss.org Sat Mar 29 17:00:47 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sat, 29 Mar 2014 17:00:47 EDT Subject: [forge-users] Where can I find a description of forge commands Message-ID: <1222507430.171396126878006.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Is there a place where I can find a comprehensive documentation of all the forge commands? The documentation on the forge site is good for getting started but I would like to dive deeper into forge. Posted by forums Original post: https://community.jboss.org/message/865373#865373 From ggastald at redhat.com Sat Mar 29 17:08:31 2014 From: ggastald at redhat.com (George Gastaldi) Date: Sat, 29 Mar 2014 17:08:31 -0400 (EDT) Subject: [forge-users] Where can I find a description of forge commands In-Reply-To: <1222507430.171396126878006.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1222507430.171396126878006.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <25E5D657-31BA-4773-A12F-D4F585ADDAC8@redhat.com> Hi, You can run command-list in the shell to see all available commands. Best Regards, George > Em 29/03/2014, ?s 18:01, forge-users at lists.jboss.org escreveu: > > Is there a place where I can find a comprehensive documentation of all the forge commands? The documentation on the forge site is good for getting started but I would like to dive deeper into forge. > > Posted by forums > Original post: https://community.jboss.org/message/865373#865373 > _______________________________________________ > 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 Sun Mar 30 08:48:15 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sun, 30 Mar 2014 08:48:15 EDT Subject: [forge-users] Where can I find a description of forge commands In-Reply-To: <25E5D657-31BA-4773-A12F-D4F585ADDAC8@redhat.com> Message-ID: <1842782101.181396183725530.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Getting this error: [insurancebazaar]$ version JBoss Forge, version [ 2.3.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ http://jboss.org/forge ] [insurancebazaar]$ command-list ***ERROR*** Failed to get instance of [interface org.jboss.forge.addon.ui.input.UISelectOne] from addon [org.jboss.forge.addon:ui,2.3.1-SNAPSHOT +STARTED HC: 26588589] [insurancebazaar]$ Posted by forums Original post: https://community.jboss.org/message/865417#865417 From ggastald at redhat.com Sun Mar 30 10:04:08 2014 From: ggastald at redhat.com (George Gastaldi) Date: Sun, 30 Mar 2014 10:04:08 -0400 (EDT) Subject: [forge-users] Where can I find a description of forge commands In-Reply-To: <1842782101.181396183725530.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <1842782101.181396183725530.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <66174A7C-8B79-4251-A50E-C8DCA545DDF1@redhat.com> Try cleaning your ~/.forge dir and running it again please > Em 30/03/2014, ?s 09:49, forge-users at lists.jboss.org escreveu: > > Getting this error: > > [insurancebazaar]$ version > JBoss Forge, version [ 2.3.1-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ http://jboss.org/forge ] > [insurancebazaar]$ command-list > ***ERROR*** Failed to get instance of [interface org.jboss.forge.addon.ui.input.UISelectOne] from addon [org.jboss.forge.addon:ui,2.3.1-SNAPSHOT +STARTED HC: 26588589] > [insurancebazaar]$ > > Posted by forums > Original post: https://community.jboss.org/message/865417#865417 > _______________________________________________ > 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 Sun Mar 30 10:06:15 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sun, 30 Mar 2014 10:06:15 EDT Subject: [forge-users] Where can I find a description of forge commands In-Reply-To: <25E5D657-31BA-4773-A12F-D4F585ADDAC8@redhat.com> Message-ID: <575680762.191396188405156.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Thank you for your fast reply. But what I am looking for is the semantics of the commands. For example it to me a while to find out that the run command allows you to run fsh-scripts. That kind of information is what I am looking for. Posted by forums Original post: https://community.jboss.org/message/865439#865439 From ggastald at redhat.com Sun Mar 30 10:09:53 2014 From: ggastald at redhat.com (George Gastaldi) Date: Sun, 30 Mar 2014 10:09:53 -0400 (EDT) Subject: [forge-users] Where can I find a description of forge commands In-Reply-To: <575680762.191396188405156.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <575680762.191396188405156.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: Right, we haven't documented all these commands yet. The current documentation is in http://github.com/forge/docs > Em 30/03/2014, ?s 11:06, forge-users at lists.jboss.org escreveu: > > Thank you for your fast reply. But what I am looking for is the semantics of the commands. For example it to me a while to find out that the run command allows you to run fsh-scripts. That kind of information is what I am looking for. > > Posted by forums > Original post: https://community.jboss.org/message/865439#865439 > _______________________________________________ > 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 Sun Mar 30 14:25:11 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Sun, 30 Mar 2014 14:25:11 EDT Subject: [forge-users] Where can I find a description of forge commands In-Reply-To: Message-ID: <462396017.201396203942018.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> All right not quite what I was looking for but ... :-) So if I have some findings on Forge is there a place where to provide these? Posted by forums Original post: https://community.jboss.org/message/865574#865574 From ggastald at redhat.com Sun Mar 30 14:31:06 2014 From: ggastald at redhat.com (George Gastaldi) Date: Sun, 30 Mar 2014 14:31:06 -0400 (EDT) Subject: [forge-users] Where can I find a description of forge commands In-Reply-To: <462396017.201396203942018.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <462396017.201396203942018.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <44D23199-AB65-483F-9CB0-7A3C82452BB9@redhat.com> Yes, you can provide pull-requests to our docs repository. Fork the forge/docs repository, create a Built_In_Commands.asciidoc under https://github.com/forge/docs/tree/master/get_started and create a PR. Much appreciated! > Em 30/03/2014, ?s 15:25, forge-users at lists.jboss.org escreveu: > > All right not quite what I was looking for but ... :-) > > So if I have some findings on Forge is there a place where to provide these? > > Posted by forums > Original post: https://community.jboss.org/message/865574#865574 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From forge-users at lists.jboss.org Mon Mar 31 07:00:49 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 31 Mar 2014 07:00:49 EDT Subject: [forge-users] Forge custom In-Reply-To: <2132030202.161396024029072.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <346327187.211396263679488.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Hi george, thank for reply, I forked the javaee/faces, i only changed the forge-logo.png for test. so i use the command forge source-plugin mFaces (this is the name of my new project) like it said on http://forge.jboss.org/docs/plugin_development/make-plugin-available.html that install a new plugin and i can see it when i use the command forge list-plugin but now, how can i use it? Posted by forums Original post: https://community.jboss.org/message/865699#865699 From ggastald at redhat.com Mon Mar 31 10:03:46 2014 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 31 Mar 2014 10:03:46 -0400 (EDT) Subject: [forge-users] Forge custom In-Reply-To: <346327187.211396263679488.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> References: <346327187.211396263679488.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> Message-ID: <68046795-EF88-434A-A244-3ACD470C3BDF@redhat.com> To use it, run the scaffold-x command. You should see the scaffold type you created there. However I highly recommend you to use Forge 2 for that matter. Take a look at github.com/forge/core on how to get started quickly. Best Regards, George > Em 31/03/2014, ?s 08:01, forge-users at lists.jboss.org escreveu: > > Hi george, > thank for reply, > I forked the javaee/faces, i only changed the forge-logo.png for test. > > so i use the command forge source-plugin mFaces (this is the name of my new project) like it said on > http://forge.jboss.org/docs/plugin_development/make-plugin-available.html > > that install a new plugin and i can see it when i use the command forge list-plugin > > but now, how can i use it? > > Posted by forums > Original post: https://community.jboss.org/message/865699#865699 > _______________________________________________ > forge-users mailing list > forge-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/forge-users From forge-users at lists.jboss.org Mon Mar 31 16:35:24 2014 From: forge-users at lists.jboss.org (forge-users at lists.jboss.org) Date: Mon, 31 Mar 2014 16:35:24 EDT Subject: [forge-users] Forge custom In-Reply-To: <68046795-EF88-434A-A244-3ACD470C3BDF@redhat.com> Message-ID: <1838805099.221396298154471.JavaMail.jive@jive-app01.app.mwc.hst.phx2.redhat.com> It's ok thank you (on forge 1.4.4),{emoticon:class=jive_macro_emoticon jive_macro jive_emote|src=https://community.jboss.org/6.0.3.60ddddd/images/emoticons/happy.png|__jive_emoticon_name=happy} I changed? one image for test (forge-logo) and the artifactId in the pom.xml list-scaffoldx-providers i obtain * faces : JavaServer Faces scaffolding I thought it didn't work because only one provider was listed After I used forge 2 and i changed only the forge-logo and the artifact-id in pom.xml to. i do: mvn clean install forge --install org.jboss.forge.addon:my-scaffold,2.3.0.Final But it doesn't work, maybe i forgive something ? there the full output C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces ? mvn clean install [INFO] Scanning for projects... [INFO] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Forge - test Faces Scaffold provider 2.3.0.Final [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ my-scaffold --- [INFO] Deleting C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ my-scaffold --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ my-scaffold --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ my-scaffold --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 27 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ my-scaffold --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 21 source files to C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target\classes [WARNING] /C:/Users/Florent/EXE/core-2.3.0.Final/javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java:[584,66] getRootDirectory() in org.jboss.forge.addon.projects.Project has been deprecated [WARNING] /C:/Users/Florent/EXE/core-2.3.0.Final/javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java: C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\src\main\java\org\jboss\forge\addon\scaffold\faces\FacesScaffoldProvider.java uses unchecked or unsafe operations. [WARNING] /C:/Users/Florent/EXE/core-2.3.0.Final/javaee/faces/src/main/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldProvider.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ my-scaffold --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ my-scaffold --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ my-scaffold --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ my-scaffold --- [INFO] Building jar: C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target\my-scaffold-2.3.0.Final.jar [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ my-scaffold --- [INFO] Building jar: C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target\my-scaffold-2.3.0.Final-sources.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ my-scaffold --- [INFO] Installing C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target\my-scaffold-2.3.0.Final.jar to C:\Users\Florent\.m2\repository\org\jboss\forge\addon\my-scaffold\2.3.0.Final\my-scaffold-2.3.0.Final.jar [INFO] Installing C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\pom.xml to C:\Users\Florent\.m2\repository\org\jboss\forge\addon\my-scaffold\2.3.0.Final\my-scaffold-2.3.0.Final.pom [INFO] Installing C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces\target\my-scaffold-2.3.0.Final-sources.jar to C:\Users\Florent\.m2\repository\org\jboss\forge\addon\my-scaffold\2.3.0.Final\my-scaffold-2.3.0.Final-sources.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.168 s [INFO] Finished at: 2014-03-31T21:52:44+01:00 [INFO] Final Memory: 24M/177M [INFO] ------------------------------------------------------------------------ C:\Users\Florent\EXE\core-2.3.0.Final\javaee\faces ? forge --install org.jboss.forge.addon:my-scaffold,2.3.0.Final Installation request for [org.jboss.forge.addon:my-scaffold,2.3.0.Final] will: Deploy: [org.jboss.forge.addon:my-scaffold,2.3.0.Final] Confirm installation [Y/n]? Downloading: http://repository.jboss.org/nexus/content/groups/public/org/jboss/forge/addon/my-scaffold/2.3.0.Final/my-scaffold-2.3.0.Final-forge-addon.jar Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/forge/addon/my-scaffold/2.3.0.Final/my-scaffold-2.3.0.Final-forge-addon.jar Downloading: http://maven.repository.redhat.com/techpreview/all/org/jboss/forge/addon/my-scaffold/2.3.0.Final/my-scaffold-2.3.0.Final-forge-addon.jar java.lang.RuntimeException: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.jboss.forge.addon:my-scaffold:jar:forge-addon:2.3.0.Final in JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public) ??????? at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveResources(MavenAddonDependencyResolver.java:108) ??????? at org.jboss.forge.furnace.manager.maven.addon.LazyAddonInfo.resolveResources(LazyAddonInfo.java:88) ??????? at org.jboss.forge.furnace.manager.maven.addon.LazyAddonInfo.getResources(LazyAddonInfo.java:39) ??????? at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.deploy(DeployRequestImpl.java:59) ??????? at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl$1.call(DeployRequestImpl.java:49) ??????? at org.jboss.forge.furnace.impl.LockManagerImpl.performLocked(LockManagerImpl.java:48) ??????? at org.jboss.forge.furnace.manager.impl.request.DeployRequestImpl.execute(DeployRequestImpl.java:44) ??????? at org.jboss.forge.furnace.manager.impl.request.AbstractAddonActionRequest.perform(AbstractAddonActionRequest.java:57) ??????? at org.jboss.forge.furnace.manager.impl.request.InstallRequestImpl.perform(InstallRequestImpl.java:39) ??????? at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:288) ??????? at org.jboss.forge.bootstrap.Bootstrap.(Bootstrap.java:155) ??????? at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:94) Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Could not find artifact org.jboss.forge.addon:my-scaffold:jar:forge-addon:2.3.0.Final in JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public) ??????? at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384) ??????? at org.jboss.forge.furnace.manager.maven.addon.MavenAddonDependencyResolver.resolveResources(MavenAddonDependencyResolver.java:104) ??????? ... 11 more Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.jboss.forge.addon:my-scaffold:jar:forge-addon:2.3.0.Final in JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public) ??????? at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459) ??????? at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262) ??????? at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367) ??????? ... 12 more Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.jboss.forge.addon:my-scaffold:jar:forge-addon:2.3.0.Final in JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public) http://repository.jboss.org/nexus/content/groups/public) ??????? at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1012) ??????? at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004) ??????? at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725) ??????? at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67) ??????? 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) > Forge version [2.3.0.Final] Posted by forums Original post: https://community.jboss.org/message/865864#865864