From cmoullia at redhat.com Fri Jun 9 00:58:51 2017 From: cmoullia at redhat.com (Charles Moulliard) Date: Fri, 9 Jun 2017 06:58:51 +0200 Subject: [forge-users] How can we get more info if export verbose=true fails Message-ID: Hi, The following scaffold-setup command raises an error and the stacktrace isn't displayed even when we enable verbose mode. Is there an alternative to be used which offers more tracing and doesn't need to use debug mode ? [cdservice]$ export VERBOSE=true [cdservice]$ scaffold-setup --provider AngularJS ***ERROR*** Error while moving to the next wizard step Regards, Charles -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-users/attachments/20170609/80c06212/attachment.html From ggastald at redhat.com Fri Jun 9 08:28:44 2017 From: ggastald at redhat.com (George Gastaldi) Date: Fri, 9 Jun 2017 09:28:44 -0300 Subject: [forge-users] How can we get more info if export verbose=true fails In-Reply-To: References: Message-ID: Check the log in ~/.forge/log/forge.log. It may contain a stacktrace with the error. Feel free to open a JIRA if you feel it is a bug. Em 9 de jun de 2017 09:20, "Charles Moulliard" escreveu: > Hi, > > The following scaffold-setup command raises an error and the stacktrace > isn't displayed even when we enable verbose mode. Is there an alternative > to be used which offers more tracing and doesn't need to use debug mode ? > > [cdservice]$ export VERBOSE=true > [cdservice]$ scaffold-setup --provider AngularJS > ***ERROR*** Error while moving to the next wizard step > > Regards, > > Charles > > > > _______________________________________________ > 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/20170609/ef8910ed/attachment.html From cmoullia at redhat.com Fri Jun 9 09:07:42 2017 From: cmoullia at redhat.com (Charles Moulliard) Date: Fri, 9 Jun 2017 15:07:42 +0200 Subject: [forge-users] Trick to copy all the files + subfolders to a destination Message-ID: Hi, When I run command within the Forge shell cp -r ../../scripts/front/modified src/main/resources/static/ the folder "modified" is also copied to the destination. demo/cdfront/src/main/resources/static demo/cdfront/src/main/resources/static/modified demo/cdfront/src/main/resources/static/modified/app.html demo/cdfront/src/main/resources/static/modified/fonts .... Is there a trick to copy all the files + subfolders under the folder "modified" only ? Regards, Charles -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-users/attachments/20170609/7a1eaaff/attachment.html From ggastald at redhat.com Fri Jun 9 17:28:22 2017 From: ggastald at redhat.com (George Gastaldi) Date: Fri, 9 Jun 2017 18:28:22 -0300 Subject: [forge-users] Trick to copy all the files + subfolders to a destination In-Reply-To: References: Message-ID: I've been trying some combinations and apparently there isn't a friendly way to do that. Could you open a JIRA about this? Thanks! Best Regards, George Gastaldi Principal Software Engineer Red Hat Remote Joinville - Santa Catarina ggastald at redhat.com M: +55-47-99711-1000 TRIED. TESTED. TRUSTED. @redhatnews Red Hat Red Hat On Fri, Jun 9, 2017 at 10:07 AM, Charles Moulliard wrote: > Hi, > > When I run command within the Forge shell > > cp -r ../../scripts/front/modified src/main/resources/static/ > > the folder "modified" is also copied to the destination. > > demo/cdfront/src/main/resources/static > demo/cdfront/src/main/resources/static/modified > demo/cdfront/src/main/resources/static/modified/app.html > demo/cdfront/src/main/resources/static/modified/fonts > .... > > Is there a trick to copy all the files + subfolders under the folder > "modified" only ? > > Regards, > > Charles > > > > _______________________________________________ > 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/20170609/73087404/attachment.html From cmoullia at redhat.com Sat Jun 10 02:44:52 2017 From: cmoullia at redhat.com (Charles Moulliard) Date: Sat, 10 Jun 2017 08:44:52 +0200 Subject: [forge-users] How can we get more info if export verbose=true fails In-Reply-To: References: Message-ID: When I was debugging, I have discovered that this class if there is an ambiguous dependency just log the info without the stack trace https://github.com/metacosm/core/blob/master/ui/impl/src/main/java/org/jboss/forge/addon/ui/impl/controller/NoUIWizardControllerDecorator.java#L98 ***ERROR*** Error while moving to the next wizard step java.lang.IllegalStateException: Cannot resolve Ambiguous dependencies: [org.jboss.forge.addon.springboot.commands.jpa.SpringBootJPASetupWizard from addon org.jboss.forge.addon:spring-boot,1.0.0-SNAPSHOT, org.jboss.forge.addon.javaee.jpa.ui.setup.JPASetupWizardImpl from addon org.jboss.forge.addon:javaee,3.6.2-SNAPSHOT] On Fri, Jun 9, 2017 at 2:28 PM, George Gastaldi wrote: > Check the log in ~/.forge/log/forge.log. > It may contain a stacktrace with the error. Feel free to open a JIRA if > you feel it is a bug. > > Em 9 de jun de 2017 09:20, "Charles Moulliard" > escreveu: > >> Hi, >> >> The following scaffold-setup command raises an error and the stacktrace >> isn't displayed even when we enable verbose mode. Is there an alternative >> to be used which offers more tracing and doesn't need to use debug mode ? >> >> [cdservice]$ export VERBOSE=true >> [cdservice]$ scaffold-setup --provider AngularJS >> ***ERROR*** Error while moving to the next wizard step >> >> Regards, >> >> Charles >> >> >> >> _______________________________________________ >> 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/20170610/8407c7f0/attachment-0001.html From cmoullia at redhat.com Mon Jun 12 02:26:51 2017 From: cmoullia at redhat.com (Charles Moulliard) Date: Mon, 12 Jun 2017 08:26:51 +0200 Subject: [forge-users] How can we get more info if export verbose=true fails In-Reply-To: References: Message-ID: Ticket created : https://issues.jboss.org/browse/FORGE-2748 On Sat, Jun 10, 2017 at 8:44 AM, Charles Moulliard wrote: > When I was debugging, I have discovered that this class if there is an > ambiguous dependency just log the info without the stack trace > > https://github.com/metacosm/core/blob/master/ui/impl/src/ > main/java/org/jboss/forge/addon/ui/impl/controller/ > NoUIWizardControllerDecorator.java#L98 > > ***ERROR*** Error while moving to the next wizard step > > java.lang.IllegalStateException: Cannot resolve Ambiguous dependencies: > [org.jboss.forge.addon.springboot.commands.jpa.SpringBootJPASetupWizard > from addon org.jboss.forge.addon:spring-boot,1.0.0-SNAPSHOT, > org.jboss.forge.addon.javaee.jpa.ui.setup.JPASetupWizardImpl from addon > org.jboss.forge.addon:javaee,3.6.2-SNAPSHOT] > > > On Fri, Jun 9, 2017 at 2:28 PM, George Gastaldi > wrote: > >> Check the log in ~/.forge/log/forge.log. >> It may contain a stacktrace with the error. Feel free to open a JIRA if >> you feel it is a bug. >> >> Em 9 de jun de 2017 09:20, "Charles Moulliard" >> escreveu: >> >>> Hi, >>> >>> The following scaffold-setup command raises an error and the stacktrace >>> isn't displayed even when we enable verbose mode. Is there an alternative >>> to be used which offers more tracing and doesn't need to use debug mode ? >>> >>> [cdservice]$ export VERBOSE=true >>> [cdservice]$ scaffold-setup --provider AngularJS >>> ***ERROR*** Error while moving to the next wizard step >>> >>> Regards, >>> >>> Charles >>> >>> >>> >>> _______________________________________________ >>> 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/20170612/0acc2c95/attachment.html From cmoullia at redhat.com Mon Jun 12 02:53:28 2017 From: cmoullia at redhat.com (Charles Moulliard) Date: Mon, 12 Jun 2017 08:53:28 +0200 Subject: [forge-users] Trick to copy all the files + subfolders to a destination In-Reply-To: References: Message-ID: Done : https://issues.jboss.org/browse/FORGE-2749 On Fri, Jun 9, 2017 at 11:28 PM, George Gastaldi wrote: > I've been trying some combinations and apparently there isn't a friendly > way to do that. Could you open a JIRA about this? > Thanks! > > Best Regards, > > > > George Gastaldi > > Principal Software Engineer > > Red Hat > > Remote > > Joinville - Santa Catarina > > ggastald at redhat.com M: +55-47-99711-1000 > > TRIED. TESTED. TRUSTED. > @redhatnews Red Hat > Red Hat > > > > On Fri, Jun 9, 2017 at 10:07 AM, Charles Moulliard > wrote: > >> Hi, >> >> When I run command within the Forge shell >> >> cp -r ../../scripts/front/modified src/main/resources/static/ >> >> the folder "modified" is also copied to the destination. >> >> demo/cdfront/src/main/resources/static >> demo/cdfront/src/main/resources/static/modified >> demo/cdfront/src/main/resources/static/modified/app.html >> demo/cdfront/src/main/resources/static/modified/fonts >> .... >> >> Is there a trick to copy all the files + subfolders under the folder >> "modified" only ? >> >> Regards, >> >> Charles >> >> >> >> _______________________________________________ >> 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/20170612/0fb79e13/attachment.html From cmoullia at redhat.com Mon Jun 12 06:56:21 2017 From: cmoullia at redhat.com (Charles Moulliard) Date: Mon, 12 Jun 2017 12:56:21 +0200 Subject: [forge-users] Forge 3.7 - something weird Message-ID: Hi, Wehn I run this bash script "./script/setup.sh", forge exit from my bash shell when it will finish to execute forge -e "run ../scripts/create-cdstore.fsh" and by consequence these lines are not executed https://github.com/redhat-microservices/lab_springboot-openshift/blob/1f896ba103c0adc8dfc755b3e774c0b1c2220eea/scripts/setup.sh#L53-L66 Is there a trick ? Charles -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-users/attachments/20170612/77fdb864/attachment.html From cmoullia at redhat.com Mon Jun 12 09:09:54 2017 From: cmoullia at redhat.com (Charles Moulliard) Date: Mon, 12 Jun 2017 15:09:54 +0200 Subject: [forge-users] Forge 3.7 - something weird In-Reply-To: References: Message-ID: Forget my email. This problem was due to the exec command added before my forge command On Mon, Jun 12, 2017 at 12:56 PM, Charles Moulliard wrote: > Hi, > > Wehn I run this bash script "./script/setup.sh", forge exit from my bash > shell when it will finish to execute forge -e "run > ../scripts/create-cdstore.fsh" and by consequence these lines are not > executed > > https://github.com/redhat-microservices/lab_springboot-openshift/blob/ > 1f896ba103c0adc8dfc755b3e774c0b1c2220eea/scripts/setup.sh#L53-L66 > > Is there a trick ? > > Charles > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/forge-users/attachments/20170612/b771c4da/attachment.html From ggastald at redhat.com Mon Jun 12 09:20:09 2017 From: ggastald at redhat.com (George Gastaldi) Date: Mon, 12 Jun 2017 10:20:09 -0300 Subject: [forge-users] Forge 3.7 - something weird In-Reply-To: References: Message-ID: Check the return code for your exec commands? What is wrong in your .fsh script that makes Forge exit? Em 12 de jun de 2017 07:57, "Charles Moulliard" escreveu: Hi, Wehn I run this bash script "./script/setup.sh", forge exit from my bash shell when it will finish to execute forge -e "run ../scripts/create-cdstore.fsh" and by consequence these lines are not executed https://github.com/redhat-microservices/lab_springboot-openshift/blob/ 1f896ba103c0adc8dfc755b3e774c0b1c2220eea/scripts/setup.sh#L53-L66 Is there a trick ? Charles _______________________________________________ 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/20170612/1298aa69/attachment-0001.html From cmoullia at redhat.com Mon Jun 12 10:12:34 2017 From: cmoullia at redhat.com (Charles Moulliard) Date: Mon, 12 Jun 2017 16:12:34 +0200 Subject: [forge-users] Forge 3.7 - something weird In-Reply-To: References: Message-ID: That was an issue in the bash shell script as forge was prefixed with "exe". Problem resolved On Mon, Jun 12, 2017 at 3:20 PM, George Gastaldi wrote: > Check the return code for your exec commands? What is wrong in your .fsh > script that makes Forge exit? > > Em 12 de jun de 2017 07:57, "Charles Moulliard" > escreveu: > > Hi, > > Wehn I run this bash script "./script/setup.sh", forge exit from my bash > shell when it will finish to execute forge -e "run > ../scripts/create-cdstore.fsh" and by consequence these lines are not > executed > > https://github.com/redhat-microservices/lab_springboot-opens > hift/blob/1f896ba103c0adc8dfc755b3e774c0b1c2220eea/scripts/ > setup.sh#L53-L66 > > Is there a trick ? > > Charles > > _______________________________________________ > 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/20170612/2b0d8bcd/attachment.html