[JBoss JIRA] (FORGE-1493) Port the CDI new-* commands
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1493?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1493:
-----------------------------------
Description:
Commands in F1:
* beans new-conversation
* beans new-bean
* beans new-qualifier
* beans new-stereotype
* beans new-scope
was:
Commands in F1:
* beans setup
* beans list-interceptors
* beans list-decorators
* beans list-alternatives
* beans new-conversation
* beans new-bean
* beans new-qualifier
* beans new-stereotype
* beans new-scope
> Port the CDI new-* commands
> ----------------------------
>
> Key: FORGE-1493
> URL: https://issues.jboss.org/browse/FORGE-1493
> Project: Forge
> Issue Type: Sub-task
> Components: Builtin Plugins
> Reporter: Vineet Reynolds
> Fix For: 2.0.0.Final
>
>
> Commands in F1:
> * beans new-conversation
> * beans new-bean
> * beans new-qualifier
> * beans new-stereotype
> * beans new-scope
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (FORGE-1493) Port the CDI new-* commands
by George Gastaldi (JIRA)
George Gastaldi created FORGE-1493:
--------------------------------------
Summary: Port the CDI new-* commands
Key: FORGE-1493
URL: https://issues.jboss.org/browse/FORGE-1493
Project: Forge
Issue Type: Sub-task
Components: Builtin Plugins
Reporter: Vineet Reynolds
Assignee: George Gastaldi
Fix For: 2.0.0.Final
Commands in F1:
* beans setup
* beans list-interceptors
* beans list-decorators
* beans list-alternatives
* beans new-conversation
* beans new-bean
* beans new-qualifier
* beans new-stereotype
* beans new-scope
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (FORGE-1229) Addon packaging should be POM instead of JAR in the complex layout
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1229?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III commented on FORGE-1229:
-------------------------------------------
It would be nice if we could make this work, but POM projects are not allowed to have dependencies AFAIK.
> Addon packaging should be POM instead of JAR in the complex layout
> ------------------------------------------------------------------
>
> Key: FORGE-1229
> URL: https://issues.jboss.org/browse/FORGE-1229
> Project: Forge
> Issue Type: Enhancement
> Components: Brainstorming
> Affects Versions: 2.0.0.Alpha12
> Reporter: George Gastaldi
> Priority: Minor
> Fix For: 2.x Future
>
>
> This is actually something we should think about.
> In the complex layout structure, the addon project should not contain any java class, and the maven-jar-plugin configuration still creates a forge-addon jar when the classifier is specified in the pom.xml.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (FORGE-1432) run command is missing (and with it, scripting)
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1432?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III reopened FORGE-1432:
---------------------------------------
> run command is missing (and with it, scripting)
> -----------------------------------------------
>
> Key: FORGE-1432
> URL: https://issues.jboss.org/browse/FORGE-1432
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Assignee: Lincoln Baxter III
> Fix For: 2.0.0.Final
>
>
> I use a lot of scripts to start my projects, add/remove Maven dependencies.... So when I'm in Forge console, I type {{run ../myScript.fsh}}. For example, here is a script I use to get ride of EE 6 dependencies and add EE7 :
> {code}
> @/* ====================================== */;
> @/* == From Java EE 6 to 7 Dependencies == */;
> @/* ====================================== */;
> project remove-dependency org.hibernate.javax.persistence:hibernate-jpa-2.0-api ;
> project remove-dependency javax.validation:validation-api ;
> project remove-dependency org.hibernate:hibernate-validator ;
> project remove-dependency javax.enterprise:cdi-api ;
> project remove-dependency org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec ;
> project remove-dependency org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec ;
> project remove-dependency org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec ;
> project remove-dependency org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec ;
> project remove-dependency org.jboss.spec.javax.faces:jboss-jsf-api_2.1_spec ;
> project remove-dependency org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec ;
> project add-dependency javax:javaee-api:7.0:provided ;
> project add-dependency org.primefaces:primefaces:4.0 ;
> project add-repository primefaces-repo http://repository.primefaces.org ;
> {code}
> I have other scripts like that. The good this is, without leaving the console, I can write :
> {code}
> [Forge]$ run script1.fsh
> [Forge]$ run script2.fsh
> [Forge]$ run script3.fsh
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (FORGE-1432) run command is missing (and with it, scripting)
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1432?page=com.atlassian.jira.plugin... ]
Antonio Goncalves commented on FORGE-1432:
------------------------------------------
What do you mean by that ? For me, the {{run}} command is there to run a script. I just give it a try but it doesn't work.
Let's say I have the following {{test.fsh}} scrip :
{code}
@/* Country */;
jpa-new-entity --named Country ;
jpa-new-field --named isoCode --length 2 ;
jpa-new-field --named name --length 80 ;
jpa-new-field --named printableName --length 80 ;
jpa-new-field --named iso3 --length 3 ;
jpa-new-field --named numcode --length 3 ;
{code}
This is what I get when I run the following commands :
{code}
[Forge]$ project-new --named Tutu
***SUCCESS*** Project named 'Tutu' has been created.
[Tutu]$ run ../test.fsh
***ERROR*** ../test.fsh: timed out.
{code}
> run command is missing (and with it, scripting)
> -----------------------------------------------
>
> Key: FORGE-1432
> URL: https://issues.jboss.org/browse/FORGE-1432
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Assignee: Lincoln Baxter III
> Fix For: 2.0.0.Final
>
>
> I use a lot of scripts to start my projects, add/remove Maven dependencies.... So when I'm in Forge console, I type {{run ../myScript.fsh}}. For example, here is a script I use to get ride of EE 6 dependencies and add EE7 :
> {code}
> @/* ====================================== */;
> @/* == From Java EE 6 to 7 Dependencies == */;
> @/* ====================================== */;
> project remove-dependency org.hibernate.javax.persistence:hibernate-jpa-2.0-api ;
> project remove-dependency javax.validation:validation-api ;
> project remove-dependency org.hibernate:hibernate-validator ;
> project remove-dependency javax.enterprise:cdi-api ;
> project remove-dependency org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec ;
> project remove-dependency org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec ;
> project remove-dependency org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec ;
> project remove-dependency org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec ;
> project remove-dependency org.jboss.spec.javax.faces:jboss-jsf-api_2.1_spec ;
> project remove-dependency org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec ;
> project add-dependency javax:javaee-api:7.0:provided ;
> project add-dependency org.primefaces:primefaces:4.0 ;
> project add-repository primefaces-repo http://repository.primefaces.org ;
> {code}
> I have other scripts like that. The good this is, without leaving the console, I can write :
> {code}
> [Forge]$ run script1.fsh
> [Forge]$ run script2.fsh
> [Forge]$ run script3.fsh
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months