[JBoss JIRA] (FORGE-2177) Being able to create a new REST endpoint
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-2177:
----------------------------------------
Summary: Being able to create a new REST endpoint
Key: FORGE-2177
URL: https://issues.jboss.org/browse/FORGE-2177
Project: Forge
Issue Type: Sub-task
Components: Java EE
Affects Versions: 2.13.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
It would be good to have a command to create a REST endpoint. A command like this :
{code}
rest-new-endpoint --named MyEndPoint
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (FORGE-2173) Furnace maven plugin could support command execution
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-2173?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III commented on FORGE-2173:
-------------------------------------------
Unfortunately, I think that the Furnace maven plugin is the wrong place to support command execution. Furnace has no knowledge of Forge commands, so I think creating a new Forge command executor plugin makes more sense. It could be paired with the furnace plugin (or incorporate it for simplicity's sake).
> Furnace maven plugin could support command execution
> ----------------------------------------------------
>
> Key: FORGE-2173
> URL: https://issues.jboss.org/browse/FORGE-2173
> Project: Forge
> Issue Type: Feature Request
> Components: Build Tools - Maven
> Reporter: Samuel Tauil
> Priority: Optional
>
> Command execution within the furnace plugin would be interesting to have so another plugin related to a specific addon could be executed after too.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (FORGE-1950) command to format a file (or folder recursively) of Java source files
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1950?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1950:
-----------------------------------
Status: Closed (was: Pull Request Sent)
Assignee: Devanshu Singh
Fix Version/s: 2.13.1.Final
(was: 2.x Future)
Resolution: Done
Thanks for the pull-request, you rock!
> command to format a file (or folder recursively) of Java source files
> ---------------------------------------------------------------------
>
> Key: FORGE-1950
> URL: https://issues.jboss.org/browse/FORGE-1950
> Project: Forge
> Issue Type: Feature Request
> Components: Developer Tools - Java
> Affects Versions: 2.7.2.Final
> Reporter: Lincoln Baxter III
> Assignee: Devanshu Singh
> Labels: starter
> Fix For: 2.13.1.Final
>
>
> java-format-sources --sources [Resource (either JavaResource or DirectoryResource)] --profile [Resource (must be an eclipse code format config)]
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (FORGEPLUGINS-184) forge-cli git clone addon-build-and-install does not create angular scaffold
by nisar pro (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-184?page=com.atlassian.jira.... ]
nisar pro closed FORGEPLUGINS-184.
----------------------------------
Labels: angularjs (was: )
Resolution: Done
addon-install
command did worked perfectly.
Sorry to bother you.
Regards.
[angularjs-addon]$ addon-install
***SUCCESS*** Addon org.jboss.forge.addon:angularjs,2.1.4-SNAPSHOT was installed successfully.
[Customer.java]$ scaffold-setup --provider AngularJS
***SUCCESS*** CDI has been installed.
***SUCCESS*** EJB has been installed.
***SUCCESS*** Servlet API has been installed.
***SUCCESS*** JAX-RS has been installed.
***SUCCESS*** Scaffold was setup successfully.
> forge-cli git clone addon-build-and-install does not create angular scaffold
> ----------------------------------------------------------------------------
>
> Key: FORGEPLUGINS-184
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-184
> Project: Forge Plugins/Addons
> Issue Type: Bug
> Components: AngularJS Scaffold
> Environment: Mac OS Yosemite - JDK8 - Forge2
> Reporter: nisar pro
> Assignee: Vineet Reynolds
> Labels: angularjs
>
> Hi Vineet,
> I am using following commands to use angularjs addon,
> angularjs-addon
> git clone https://github.com/forge/angularjs-addon.git
> cd angularjs-addon
> $forge
> [angularjs-addon]$ build --notest clean install
> [INFO] BUILD FAILURE
> [SEVERE] class file for org.jboss.forge.furnace.container.simple.Service not found
> added dependency to pom.xml
> <dependency>
> <groupId>org.jboss.forge.furnace.container</groupId>
> <artifactId>simple</artifactId>
> <classifier>forge-addon</classifier>
> <scope>provided</scope>
> </dependency>
> [angularjs-addon]$ build --notest clean install
> [INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [angularjs-addon]$ addon-build-and-install
> [INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [angularjs-addon]$exit
> $cd ~/angularjs-sample
> $forge
> [angularjs-sample]$ project-new --named hello-angular
> [hello-angular]$ jpa-setup
> [persistence.xml]$ jpa-new-entity --named Customer
> [Customer.java]$ jpa-new-field --named fullName
> [Customer.java]$ jpa-new-field --named age --type int
> [Customer.java]$ constraint-setup --providers Generic\ Java\ EE
> [Customer.java]$ constraint-add --onProperty fullName --constraint NotNull
> [Customer.java]$ constraint-add --onProperty age --constraint Min --value 0
> [Customer.java]$ scaffold-setup --provider AngularJS
> ***SUCCESS*** CDI has been installed.
> ***SUCCESS*** EJB has been installed.
> ***SUCCESS*** Servlet API has been installed.
> ***SUCCESS*** JavaServer Faces has been installed.
> ***SUCCESS*** Scaffold was setup successfully.
> [Customer.java]$ scaffold-generate --provider AngularJS --targets org.hello.angular.model.Customer
> ***SUCCESS*** Scaffold was generated successfully.
> But it was not an AngularJS project but a Faces project
> To be observed, I have cloned the angularjs-addon git
> git clone https://github.com/forge/angularjs-addon.git
> instead of installing from git url:
> addon-install-from-git --url https://github.com/forge/angularjs-addon.git --coordinate org.jboss.forge.addon:angularjs
> Could you please help in reviewing above steps I followed and if any I missed.
> Thanks and Regards,
> Nisar
> [hello-angular]$ addon-list
> Currently installed addons:
> org.jboss.forge.addon:addon-manager,2.13.1-SNAPSHOT
> org.jboss.forge.addon:addon-manager-spi,2.13.1-SNAPSHOT
> org.jboss.forge.addon:addons,2.13.1-SNAPSHOT
> org.jboss.forge.addon:angularjs,2.1.4-SNAPSHOT
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (FORGEPLUGINS-184) forge-cli git clone addon-build-and-install does not create angular scaffold
by nisar pro (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-184?page=com.atlassian.jira.... ]
nisar pro updated FORGEPLUGINS-184:
-----------------------------------
Description:
Hi Vineet,
I am using following commands to use angularjs addon,
angularjs-addon
git clone https://github.com/forge/angularjs-addon.git
cd angularjs-addon
$forge
[angularjs-addon]$ build --notest clean install
[INFO] BUILD FAILURE
[SEVERE] class file for org.jboss.forge.furnace.container.simple.Service not found
added dependency to pom.xml
<dependency>
<groupId>org.jboss.forge.furnace.container</groupId>
<artifactId>simple</artifactId>
<classifier>forge-addon</classifier>
<scope>provided</scope>
</dependency>
[angularjs-addon]$ build --notest clean install
[INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[angularjs-addon]$ addon-build-and-install
[INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[angularjs-addon]$exit
$cd ~/angularjs-sample
$forge
[angularjs-sample]$ project-new --named hello-angular
[hello-angular]$ jpa-setup
[persistence.xml]$ jpa-new-entity --named Customer
[Customer.java]$ jpa-new-field --named fullName
[Customer.java]$ jpa-new-field --named age --type int
[Customer.java]$ constraint-setup --providers Generic\ Java\ EE
[Customer.java]$ constraint-add --onProperty fullName --constraint NotNull
[Customer.java]$ constraint-add --onProperty age --constraint Min --value 0
[Customer.java]$ scaffold-setup --provider AngularJS
***SUCCESS*** CDI has been installed.
***SUCCESS*** EJB has been installed.
***SUCCESS*** Servlet API has been installed.
***SUCCESS*** JavaServer Faces has been installed.
***SUCCESS*** Scaffold was setup successfully.
[Customer.java]$ scaffold-generate --provider AngularJS --targets org.hello.angular.model.Customer
***SUCCESS*** Scaffold was generated successfully.
But it was not an AngularJS project but a Faces project
To be observed, I have cloned the angularjs-addon git
git clone https://github.com/forge/angularjs-addon.git
instead of installing from git url:
addon-install-from-git --url https://github.com/forge/angularjs-addon.git --coordinate org.jboss.forge.addon:angularjs
Could you please help in reviewing above steps I followed and if any I missed.
Thanks and Regards,
Nisar
[hello-angular]$ addon-list
Currently installed addons:
org.jboss.forge.addon:addon-manager,2.13.1-SNAPSHOT
org.jboss.forge.addon:addon-manager-spi,2.13.1-SNAPSHOT
org.jboss.forge.addon:addons,2.13.1-SNAPSHOT
org.jboss.forge.addon:angularjs,2.1.4-SNAPSHOT
was:
Hi Vineet,
I am using following commands to use angularjs addon,
angularjs-addon
git clone https://github.com/forge/angularjs-addon.git
cd angularjs-addon
$forge
[angularjs-addon]$ build --notest clean install
[INFO] BUILD FAILURE
[SEVERE] class file for org.jboss.forge.furnace.container.simple.Service not found
added dependency to pom.xml
<dependency>
<groupId>org.jboss.forge.furnace.container</groupId>
<artifactId>simple</artifactId>
<classifier>forge-addon</classifier>
<scope>provided</scope>
</dependency>
[angularjs-addon]$ build --notest clean install
[INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[angularjs-addon]$ addon-build-and-install
[INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[angularjs-addon]$exit
$cd ~/angularjs-sample
$forge
[angularjs-sample]$ project-new --named hello-angular
[hello-angular]$ jpa-setup
[persistence.xml]$ jpa-new-entity --named Customer
[Customer.java]$ jpa-new-field --named fullName
[Customer.java]$ jpa-new-field --named age --type int
[Customer.java]$ constraint-setup --providers Generic\ Java\ EE
[Customer.java]$ constraint-add --onProperty fullName --constraint NotNull
[Customer.java]$ constraint-add --onProperty age --constraint Min --value 0
[Customer.java]$ scaffold-setup --provider AngularJS
***SUCCESS*** CDI has been installed.
***SUCCESS*** EJB has been installed.
***SUCCESS*** Servlet API has been installed.
***SUCCESS*** JavaServer Faces has been installed.
***SUCCESS*** Scaffold was setup successfully.
[Customer.java]$ scaffold-generate --provider AngularJS --targets org.hello.angular.model.Customer
***SUCCESS*** Scaffold was generated successfully.
But it was not an AngularJS project but a Faces project
To be observed, I have cloned the angularjs-addon git
git clone https://github.com/forge/angularjs-addon.git
instead of installing from git url:
addon-install-from-git --url https://github.com/forge/angularjs-addon.git --coordinate org.jboss.forge.addon:angularjs
Could you please help in reviewing above steps I followed and if any I missed.
Thanks and Regards,
Nisar
> forge-cli git clone addon-build-and-install does not create angular scaffold
> ----------------------------------------------------------------------------
>
> Key: FORGEPLUGINS-184
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-184
> Project: Forge Plugins/Addons
> Issue Type: Bug
> Components: AngularJS Scaffold
> Environment: Mac OS Yosemite - JDK8 - Forge2
> Reporter: nisar pro
> Assignee: Vineet Reynolds
>
> Hi Vineet,
> I am using following commands to use angularjs addon,
> angularjs-addon
> git clone https://github.com/forge/angularjs-addon.git
> cd angularjs-addon
> $forge
> [angularjs-addon]$ build --notest clean install
> [INFO] BUILD FAILURE
> [SEVERE] class file for org.jboss.forge.furnace.container.simple.Service not found
> added dependency to pom.xml
> <dependency>
> <groupId>org.jboss.forge.furnace.container</groupId>
> <artifactId>simple</artifactId>
> <classifier>forge-addon</classifier>
> <scope>provided</scope>
> </dependency>
> [angularjs-addon]$ build --notest clean install
> [INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [angularjs-addon]$ addon-build-and-install
> [INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [angularjs-addon]$exit
> $cd ~/angularjs-sample
> $forge
> [angularjs-sample]$ project-new --named hello-angular
> [hello-angular]$ jpa-setup
> [persistence.xml]$ jpa-new-entity --named Customer
> [Customer.java]$ jpa-new-field --named fullName
> [Customer.java]$ jpa-new-field --named age --type int
> [Customer.java]$ constraint-setup --providers Generic\ Java\ EE
> [Customer.java]$ constraint-add --onProperty fullName --constraint NotNull
> [Customer.java]$ constraint-add --onProperty age --constraint Min --value 0
> [Customer.java]$ scaffold-setup --provider AngularJS
> ***SUCCESS*** CDI has been installed.
> ***SUCCESS*** EJB has been installed.
> ***SUCCESS*** Servlet API has been installed.
> ***SUCCESS*** JavaServer Faces has been installed.
> ***SUCCESS*** Scaffold was setup successfully.
> [Customer.java]$ scaffold-generate --provider AngularJS --targets org.hello.angular.model.Customer
> ***SUCCESS*** Scaffold was generated successfully.
> But it was not an AngularJS project but a Faces project
> To be observed, I have cloned the angularjs-addon git
> git clone https://github.com/forge/angularjs-addon.git
> instead of installing from git url:
> addon-install-from-git --url https://github.com/forge/angularjs-addon.git --coordinate org.jboss.forge.addon:angularjs
> Could you please help in reviewing above steps I followed and if any I missed.
> Thanks and Regards,
> Nisar
> [hello-angular]$ addon-list
> Currently installed addons:
> org.jboss.forge.addon:addon-manager,2.13.1-SNAPSHOT
> org.jboss.forge.addon:addon-manager-spi,2.13.1-SNAPSHOT
> org.jboss.forge.addon:addons,2.13.1-SNAPSHOT
> org.jboss.forge.addon:angularjs,2.1.4-SNAPSHOT
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (FORGEPLUGINS-184) forge-cli git clone addon-build-and-install does not create angular scaffold
by nisar pro (JIRA)
[ https://issues.jboss.org/browse/FORGEPLUGINS-184?page=com.atlassian.jira.... ]
nisar pro updated FORGEPLUGINS-184:
-----------------------------------
Description:
Hi Vineet,
I am using following commands to use angularjs addon,
angularjs-addon
git clone https://github.com/forge/angularjs-addon.git
cd angularjs-addon
$forge
[angularjs-addon]$ build --notest clean install
[INFO] BUILD FAILURE
[SEVERE] class file for org.jboss.forge.furnace.container.simple.Service not found
added dependency to pom.xml
<dependency>
<groupId>org.jboss.forge.furnace.container</groupId>
<artifactId>simple</artifactId>
<classifier>forge-addon</classifier>
<scope>provided</scope>
</dependency>
[angularjs-addon]$ build --notest clean install
[INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[angularjs-addon]$ addon-build-and-install
[INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[angularjs-addon]$exit
$cd ~/angularjs-sample
$forge
[angularjs-sample]$ project-new --named hello-angular
[hello-angular]$ jpa-setup
[persistence.xml]$ jpa-new-entity --named Customer
[Customer.java]$ jpa-new-field --named fullName
[Customer.java]$ jpa-new-field --named age --type int
[Customer.java]$ constraint-setup --providers Generic\ Java\ EE
[Customer.java]$ constraint-add --onProperty fullName --constraint NotNull
[Customer.java]$ constraint-add --onProperty age --constraint Min --value 0
[Customer.java]$ scaffold-setup --provider AngularJS
***SUCCESS*** CDI has been installed.
***SUCCESS*** EJB has been installed.
***SUCCESS*** Servlet API has been installed.
***SUCCESS*** JavaServer Faces has been installed.
***SUCCESS*** Scaffold was setup successfully.
[Customer.java]$ scaffold-generate --provider AngularJS --targets org.hello.angular.model.Customer
***SUCCESS*** Scaffold was generated successfully.
But it was not an AngularJS project but a Faces project
To be observed, I have cloned the angularjs-addon git
git clone https://github.com/forge/angularjs-addon.git
instead of installing from git url:
addon-install-from-git --url https://github.com/forge/angularjs-addon.git --coordinate org.jboss.forge.addon:angularjs
Could you please help in reviewing above steps I followed and if any I missed.
Thanks and Regards,
Nisar
was:
Hi Veneet,
I am using following commands to use angularjs addon,
angularjs-addon
git clone https://github.com/forge/angularjs-addon.git
cd angularjs-addon
$forge
[angularjs-addon]$ build --notest clean install
[INFO] BUILD FAILURE
[SEVERE] class file for org.jboss.forge.furnace.container.simple.Service not found
added dependency to pom.xml
<dependency>
<groupId>org.jboss.forge.furnace.container</groupId>
<artifactId>simple</artifactId>
<classifier>forge-addon</classifier>
<scope>provided</scope>
</dependency>
[angularjs-addon]$ build --notest clean install
[INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[angularjs-addon]$ addon-build-and-install
[INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[angularjs-addon]$exit
$cd ~/angularjs-sample
$forge
[angularjs-sample]$ project-new --named hello-angular
[hello-angular]$ jpa-setup
[persistence.xml]$ jpa-new-entity --named Customer
[Customer.java]$ jpa-new-field --named fullName
[Customer.java]$ jpa-new-field --named age --type int
[Customer.java]$ constraint-setup --providers Generic\ Java\ EE
[Customer.java]$ constraint-add --onProperty fullName --constraint NotNull
[Customer.java]$ constraint-add --onProperty age --constraint Min --value 0
[Customer.java]$ scaffold-setup --provider AngularJS
***SUCCESS*** CDI has been installed.
***SUCCESS*** EJB has been installed.
***SUCCESS*** Servlet API has been installed.
***SUCCESS*** JavaServer Faces has been installed.
***SUCCESS*** Scaffold was setup successfully.
[Customer.java]$ scaffold-generate --provider AngularJS --targets org.hello.angular.model.Customer
***SUCCESS*** Scaffold was generated successfully.
But it was not an AngularJS project but a Faces project
To be observed, I have cloned the angularjs-addon git
git clone https://github.com/forge/angularjs-addon.git
instead of installing from git url:
addon-install-from-git --url https://github.com/forge/angularjs-addon.git --coordinate org.jboss.forge.addon:angularjs
Could you please help in reviewing above steps I followed and if any I missed.
Thanks and Regards,
Nisar
> forge-cli git clone addon-build-and-install does not create angular scaffold
> ----------------------------------------------------------------------------
>
> Key: FORGEPLUGINS-184
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-184
> Project: Forge Plugins/Addons
> Issue Type: Bug
> Components: AngularJS Scaffold
> Environment: Mac OS Yosemite - JDK8 - Forge2
> Reporter: nisar pro
> Assignee: Vineet Reynolds
>
> Hi Vineet,
> I am using following commands to use angularjs addon,
> angularjs-addon
> git clone https://github.com/forge/angularjs-addon.git
> cd angularjs-addon
> $forge
> [angularjs-addon]$ build --notest clean install
> [INFO] BUILD FAILURE
> [SEVERE] class file for org.jboss.forge.furnace.container.simple.Service not found
> added dependency to pom.xml
> <dependency>
> <groupId>org.jboss.forge.furnace.container</groupId>
> <artifactId>simple</artifactId>
> <classifier>forge-addon</classifier>
> <scope>provided</scope>
> </dependency>
> [angularjs-addon]$ build --notest clean install
> [INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [angularjs-addon]$ addon-build-and-install
> [INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
> [INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
> /Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [angularjs-addon]$exit
> $cd ~/angularjs-sample
> $forge
> [angularjs-sample]$ project-new --named hello-angular
> [hello-angular]$ jpa-setup
> [persistence.xml]$ jpa-new-entity --named Customer
> [Customer.java]$ jpa-new-field --named fullName
> [Customer.java]$ jpa-new-field --named age --type int
> [Customer.java]$ constraint-setup --providers Generic\ Java\ EE
> [Customer.java]$ constraint-add --onProperty fullName --constraint NotNull
> [Customer.java]$ constraint-add --onProperty age --constraint Min --value 0
> [Customer.java]$ scaffold-setup --provider AngularJS
> ***SUCCESS*** CDI has been installed.
> ***SUCCESS*** EJB has been installed.
> ***SUCCESS*** Servlet API has been installed.
> ***SUCCESS*** JavaServer Faces has been installed.
> ***SUCCESS*** Scaffold was setup successfully.
> [Customer.java]$ scaffold-generate --provider AngularJS --targets org.hello.angular.model.Customer
> ***SUCCESS*** Scaffold was generated successfully.
> But it was not an AngularJS project but a Faces project
> To be observed, I have cloned the angularjs-addon git
> git clone https://github.com/forge/angularjs-addon.git
> instead of installing from git url:
> addon-install-from-git --url https://github.com/forge/angularjs-addon.git --coordinate org.jboss.forge.addon:angularjs
> Could you please help in reviewing above steps I followed and if any I missed.
> Thanks and Regards,
> Nisar
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (FORGEPLUGINS-184) forge-cli git clone addon-build-and-install does not create angular scaffold
by nisar pro (JIRA)
nisar pro created FORGEPLUGINS-184:
--------------------------------------
Summary: forge-cli git clone addon-build-and-install does not create angular scaffold
Key: FORGEPLUGINS-184
URL: https://issues.jboss.org/browse/FORGEPLUGINS-184
Project: Forge Plugins/Addons
Issue Type: Bug
Components: AngularJS Scaffold
Environment: Mac OS Yosemite - JDK8 - Forge2
Reporter: nisar pro
Assignee: Vineet Reynolds
Hi Veneet,
I am using following commands to use angularjs addon,
angularjs-addon
git clone https://github.com/forge/angularjs-addon.git
cd angularjs-addon
$forge
[angularjs-addon]$ build --notest clean install
[INFO] BUILD FAILURE
[SEVERE] class file for org.jboss.forge.furnace.container.simple.Service not found
added dependency to pom.xml
<dependency>
<groupId>org.jboss.forge.furnace.container</groupId>
<artifactId>simple</artifactId>
<classifier>forge-addon</classifier>
<scope>provided</scope>
</dependency>
[angularjs-addon]$ build --notest clean install
[INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[angularjs-addon]$ addon-build-and-install
[INFO] --- maven-install-plugin:2.4:install (default-install) @ angularjs ---
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT.jar
[INFO] Installing /Users/nisar/githubclones/forge-addons/angularjs-addon/target/angularjs-2.1.4-SNAPSHOT-forge-addon.jar to
/Users/nisar/.m2/repository/org/jboss/forge/addon/angularjs/2.1.4-SNAPSHOT/angularjs-2.1.4-SNAPSHOT-forge-addon.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[angularjs-addon]$exit
$cd ~/angularjs-sample
$forge
[angularjs-sample]$ project-new --named hello-angular
[hello-angular]$ jpa-setup
[persistence.xml]$ jpa-new-entity --named Customer
[Customer.java]$ jpa-new-field --named fullName
[Customer.java]$ jpa-new-field --named age --type int
[Customer.java]$ constraint-setup --providers Generic\ Java\ EE
[Customer.java]$ constraint-add --onProperty fullName --constraint NotNull
[Customer.java]$ constraint-add --onProperty age --constraint Min --value 0
[Customer.java]$ scaffold-setup --provider AngularJS
***SUCCESS*** CDI has been installed.
***SUCCESS*** EJB has been installed.
***SUCCESS*** Servlet API has been installed.
***SUCCESS*** JavaServer Faces has been installed.
***SUCCESS*** Scaffold was setup successfully.
[Customer.java]$ scaffold-generate --provider AngularJS --targets org.hello.angular.model.Customer
***SUCCESS*** Scaffold was generated successfully.
But it was not an AngularJS project but a Faces project
To be observed, I have cloned the angularjs-addon git
git clone https://github.com/forge/angularjs-addon.git
instead of installing from git url:
addon-install-from-git --url https://github.com/forge/angularjs-addon.git --coordinate org.jboss.forge.addon:angularjs
Could you please help in reviewing above steps I followed and if any I missed.
Thanks and Regards,
Nisar
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years
[JBoss JIRA] (FORGE-2162) Two previous JIRA changes have been undone FORGE-1984 and FORGE-1990
by Gerry Matte (JIRA)
[ https://issues.jboss.org/browse/FORGE-2162?page=com.atlassian.jira.plugin... ]
Gerry Matte updated FORGE-2162:
-------------------------------
Attachment: config.xml
config.xml.saved
> Two previous JIRA changes have been undone FORGE-1984 and FORGE-1990
> --------------------------------------------------------------------
>
> Key: FORGE-2162
> URL: https://issues.jboss.org/browse/FORGE-2162
> Project: Forge
> Issue Type: Bug
> Components: Database Tools
> Affects Versions: 2.12.0.Final, 2.12.3.Final
> Environment: Windows 7, JDK7, Jboss AS7 and Wildfly 8.1
> Reporter: Gerry Matte
> Fix For: 2.x Future
>
> Attachments: config.xml, config.xml.saved
>
>
> The following two JIRA requests have now returned as bugs.
> FORGE-1984 : jpa-generate-entities-from-tables add parameter to select all tables without prompting (fixed in version 2.8.1)
> FORGE-1990 : connection-create-profile fails to retain the database connection password (fixed in version 2.9.2.Final)
> As noted in https://developer.jboss.org/message/912189#912189 forum posting, the successful commands to create a connectionProfile and generate jpa entities from a mysql databse worked without problems in version 2.10.0.Final
> On Dec 2, Bruce Link reported problems implementing commands identical to mine but using forge 2.12.0.Final.
> Repeating my own commands that were previously successful, I now encountered the same two errors that were previously fixed by the above two JIRAs.
> I tested with both 2.12.0.Final and with 2.12.3.Final. Both versions failed to retain the database user password and also failed select all database tables (although the connection failure may have triggered the second error message)
> Please reimplement the changes made with FORGE-1984 and FORGE-1990. I am happy to retest when you are ready.
> Gerry Matte
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years