[JBoss JIRA] (FORGE-1632) Extend the Resources API to include create operations
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1632?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1632:
-----------------------------------
Description: Several Facets like {{WebResourcesFacet}}, {{ResourcesFacet}} have {{createResource}} methods. These should not exist in these Facets, and should instead be deprecated. (was: Several Facets like {{WebResourcesFacet}}, {{ResourcesFacet}} have {{createResource}} methods. These should not exist in these Facets, and should instead be moved to the {{Resource}} API or a {{WriteableResource}} API.
The existing methods in these Facets should be deprecated once this is done.)
> Extend the Resources API to include create operations
> -----------------------------------------------------
>
> Key: FORGE-1632
> URL: https://issues.jboss.org/browse/FORGE-1632
> Project: Forge
> Issue Type: Feature Request
> Components: Facets, Resources
> Affects Versions: 2.1.1.Final
> Reporter: Vineet Reynolds
>
> Several Facets like {{WebResourcesFacet}}, {{ResourcesFacet}} have {{createResource}} methods. These should not exist in these Facets, and should instead be deprecated.
--
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, 1 month
[JBoss JIRA] (FORGE-1632) Extend the Resources API to include create operations
by Vineet Reynolds (JIRA)
Vineet Reynolds created FORGE-1632:
--------------------------------------
Summary: Extend the Resources API to include create operations
Key: FORGE-1632
URL: https://issues.jboss.org/browse/FORGE-1632
Project: Forge
Issue Type: Feature Request
Components: Facets, Resources
Affects Versions: 2.1.1.Final
Reporter: Vineet Reynolds
Several Facets like {{WebResourcesFacet}}, {{ResourcesFacet}} have {{createResource}} methods. These should not exist in these Facets, and should instead be moved to the {{Resource}} API or a {{WriteableResource}} API.
The existing methods in these Facets should be deprecated once this is done.
--
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, 1 month
[JBoss JIRA] (FORGE-1631) The output is out of sync and duplicated
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1631?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III commented on FORGE-1631:
-------------------------------------------
Verified. Working on it.
> The output is out of sync and duplicated
> ----------------------------------------
>
> Key: FORGE-1631
> URL: https://issues.jboss.org/browse/FORGE-1631
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.1.1.Final
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> When I execute the following script :
> {code}
> project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
> java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
> java-new-enum-const ENGLISH ;
> java-new-enum-const FRENCH ;
> java-new-enum-const SPANISH ;
> java-new-enum-const PORTUGUESE ;
> java-new-enum-const RUSSIAN ;
> {code}
> The output looks a bit out of sync and duplicates line a bit randomly :
> {code}
> [Forge]$ run proj.fsh
> [Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
> ***SUCCESS*** Project named 'testrun' has been created.
> [Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
> ***SUCCESS*** Project named 'testrun' has been created.
> [testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
> ***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
> [Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
> ***SUCCESS*** Project named 'testrun' has been created.
> [testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
> ***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
> [Language.java]$ java-new-enum-const ENGLISH ;
> [Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
> ***SUCCESS*** Project named 'testrun' has been created.
> [testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
> ***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
> [Language.java]$ java-new-enum-const ENGLISH ;
> [Language.java]$ java-new-enum-const FRENCH ;
> [Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
> ***SUCCESS*** Project named 'testrun' has been created.
> [testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
> ***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
> [Language.java]$ java-new-enum-const ENGLISH ;
> [Language.java]$ java-new-enum-const FRENCH ;
> [Language.java]$ java-new-enum-const SPANISH ;
> [Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
> ***SUCCESS*** Project named 'testrun' has been created.
> [testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
> ***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
> [Language.java]$ java-new-enum-const ENGLISH ;
> [Language.java]$ java-new-enum-const FRENCH ;
> [Language.java]$ java-new-enum-const SPANISH ;
> [Language.java]$ java-new-enum-const PORTUGUESE ;
> [Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
> ***SUCCESS*** Project named 'testrun' has been created.
> [testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
> ***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
> [Language.java]$ java-new-enum-const ENGLISH ;
> [Language.java]$ java-new-enum-const FRENCH ;
> [Language.java]$ java-new-enum-const SPANISH ;
> [Language.java]$ java-new-enum-const PORTUGUESE ;
> [Language.java]$ java-new-enum-const RUSSIAN ;
> [Language.java]$ ***SUCCESS*** Project named 'testrun' has been created.
> ***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
> [Forge]$ exit
> {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, 1 month
[JBoss JIRA] (FORGE-1628) Support a facet for templates that are provided by the project
by Vineet Reynolds (JIRA)
[ https://issues.jboss.org/browse/FORGE-1628?page=com.atlassian.jira.plugin... ]
Vineet Reynolds updated FORGE-1628:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/forge/core/pull/395
This PR adds support for a Facet that is activated when the src/main/templates directory is present in a Maven project. Templates present in this directory can be retrieved through this Facet. Templates can also be added to this directory.
Extracted and refactored from the Forge 1 scaffold-x plugin.
> Support a facet for templates that are provided by the project
> --------------------------------------------------------------
>
> Key: FORGE-1628
> URL: https://issues.jboss.org/browse/FORGE-1628
> Project: Forge
> Issue Type: Feature Request
> Components: Projects
> Affects Versions: 2.1.1.Final
> Reporter: Vineet Reynolds
> Assignee: Vineet Reynolds
>
> Introduce a new Facet {{TemplateFacet}} for supporting project-provided templates. This facet should be enabled when a {{src/main/templates}} directory is present in a Maven project structure (and other directories for other project types).
> This facet is meant to be used to provide templates that will override Forge-supplied templates.
--
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, 1 month
[JBoss JIRA] (FORGE-1631) The output is out of sync and duplicated
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-1631:
----------------------------------------
Summary: The output is out of sync and duplicated
Key: FORGE-1631
URL: https://issues.jboss.org/browse/FORGE-1631
Project: Forge
Issue Type: Sub-task
Components: UI - Shell
Affects Versions: 2.1.1.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
When I execute the following script :
{code}
project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
java-new-enum-const ENGLISH ;
java-new-enum-const FRENCH ;
java-new-enum-const SPANISH ;
java-new-enum-const PORTUGUESE ;
java-new-enum-const RUSSIAN ;
{code}
The output looks a bit out of sync and duplicates line a bit randomly :
{code}
[Forge]$ run proj.fsh
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
***SUCCESS*** Project named 'testrun' has been created.
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Language.java]$ java-new-enum-const ENGLISH ;
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Language.java]$ java-new-enum-const ENGLISH ;
[Language.java]$ java-new-enum-const FRENCH ;
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Language.java]$ java-new-enum-const ENGLISH ;
[Language.java]$ java-new-enum-const FRENCH ;
[Language.java]$ java-new-enum-const SPANISH ;
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Language.java]$ java-new-enum-const ENGLISH ;
[Language.java]$ java-new-enum-const FRENCH ;
[Language.java]$ java-new-enum-const SPANISH ;
[Language.java]$ java-new-enum-const PORTUGUESE ;
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ java-new-enum --named Language --targetPackage com.pluralsight.persistence.module07.model ;
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Language.java]$ java-new-enum-const ENGLISH ;
[Language.java]$ java-new-enum-const FRENCH ;
[Language.java]$ java-new-enum-const SPANISH ;
[Language.java]$ java-new-enum-const PORTUGUESE ;
[Language.java]$ java-new-enum-const RUSSIAN ;
[Language.java]$ ***SUCCESS*** Project named 'testrun' has been created.
***SUCCESS*** Enum com.pluralsight.persistence.module07.model.Language was created
[Forge]$ exit
{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, 1 month
[JBoss JIRA] (FORGE-1630) The path is not right
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-1630:
----------------------------------------
Summary: The path is not right
Key: FORGE-1630
URL: https://issues.jboss.org/browse/FORGE-1630
Project: Forge
Issue Type: Sub-task
Components: UI - Shell
Affects Versions: 2.1.1.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
Let's say I have a simple script which just creates a project :
{code}
project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
{code}
When I execute this script, it creates the project {{testrun}} but it goes back to the root path. So, when I create a new entity, it doesn't create it at the right place :
{code}
[Forge]$ run proj.fsh
[Forge]$ project-new --named testrun --topLevelPackage com.testrun --type war --finalName testrun
***SUCCESS*** Project named 'testrun' has been created.
[testrun]$ ***SUCCESS*** Project named 'testrun' has been created.
[Forge]$ jpa-new-entity --named MyEntity
***SUCCESS*** Entity MyEntity created
[MyEntity.java]$ pwd
/Users/antoniombp/Documents/Code/temp/Forge/MyEntity.java
[MyEntity.java]$ exit
~/Documents/Code/temp/Forge$ ll
-rw-r--r-- 1 antoniombp staff 1.5K Mar 4 19:34 MyEntity.java
-rw-r--r--@ 1 antoniombp staff 89B Mar 4 19:33 proj.fsh
drwxr-xr-x 4 antoniombp staff 136B Mar 4 19:33 testrun/
{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, 1 month