[JBoss JIRA] (FORGE-1487) Columns do not line up on certain CLI outputs
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1487?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III updated FORGE-1487:
--------------------------------------
Priority: Minor (was: Major)
> Columns do not line up on certain CLI outputs
> ---------------------------------------------
>
> Key: FORGE-1487
> URL: https://issues.jboss.org/browse/FORGE-1487
> Project: Forge
> Issue Type: Enhancement
> Components: UI - Shell
> Affects Versions: 2.0.0.CR1
> Reporter: Lincoln Baxter III
> Priority: Minor
>
> {code}
> [core]$ ls
> CONTRIBUTING.md configuration dist maven scaffold
> LICENSE convert eclipse-code-formatter-profile.xml parser-java shell
> README.asciidoc core environment parser-xml templates
> addon-manager database-tools facets pom.xml text
> addons dependencies forge-install.bsh projects ui
> bootstrap dev-tools-java javaee resources
> {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-1487) Columns do not line up on certain CLI outputs
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1487?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III updated FORGE-1487:
--------------------------------------
Fix Version/s: 2.x Future
> Columns do not line up on certain CLI outputs
> ---------------------------------------------
>
> Key: FORGE-1487
> URL: https://issues.jboss.org/browse/FORGE-1487
> Project: Forge
> Issue Type: Enhancement
> Components: UI - Shell
> Affects Versions: 2.0.0.CR1
> Reporter: Lincoln Baxter III
> Priority: Minor
> Fix For: 2.x Future
>
>
> {code}
> [core]$ ls
> CONTRIBUTING.md configuration dist maven scaffold
> LICENSE convert eclipse-code-formatter-profile.xml parser-java shell
> README.asciidoc core environment parser-xml templates
> addon-manager database-tools facets pom.xml text
> addons dependencies forge-install.bsh projects ui
> bootstrap dev-tools-java javaee resources
> {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-1487) Columns do not line up on certain CLI outputs
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-1487:
-----------------------------------------
Summary: Columns do not line up on certain CLI outputs
Key: FORGE-1487
URL: https://issues.jboss.org/browse/FORGE-1487
Project: Forge
Issue Type: Feature Request
Components: UI - Shell
Affects Versions: 2.0.0.CR1
Reporter: Lincoln Baxter III
{code}
[core]$ ls
CONTRIBUTING.md configuration dist maven scaffold
LICENSE convert eclipse-code-formatter-profile.xml parser-java shell
README.asciidoc core environment parser-xml templates
addon-manager database-tools facets pom.xml text
addons dependencies forge-install.bsh projects ui
bootstrap dev-tools-java javaee resources
{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-1440) TAB on export repeats ACCEPT_DEFAULTS
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1440?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1440.
----------------------------------
Assignee: Ståle Pedersen
Fix Version/s: 2.0.0.Final
(was: 2.x Future)
Resolution: Done
Fixed in Aesh 0.47-SNAPSHOT
> TAB on export repeats ACCEPT_DEFAULTS
> -------------------------------------
>
> Key: FORGE-1440
> URL: https://issues.jboss.org/browse/FORGE-1440
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Assignee: Ståle Pedersen
> Fix For: 2.0.0.Final
>
>
> When I hit TAB continuously on the {{export}} command, it just adds {{ACCEPT_DEFAULTS}} indefinitely :
> {code}
> [forge2s]$ ex
> export exit
> [forge2s]$ export DEFAULTS= ACCEPT_DEFAULTS ACCEPT_DEFAULTS ACCEPT_DEFAULTS ACCEPT_DEFAULTS ACCEPT_DEFAULTS
> {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-1401) What does --primitive do ?
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1401?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1401.
----------------------------------
Assignee: George Gastaldi
Resolution: Out of Date
This property was removed in 2.0.0.CR1
> What does --primitive do ?
> --------------------------
>
> Key: FORGE-1401
> URL: https://issues.jboss.org/browse/FORGE-1401
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.Beta4
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
>
> The {{jpa-new-field}} has a {{--primitive}} attribute but I don't know its usage. First I thought it was the primitive datatype (int, float...) but this is the {{--typeName}}.
> {code}
> [PurchaseOrder.java]$ jpa-new-field
> --typeName --named --lob --relationshipType --entity --length --primitive
> {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-1484) --packageName should be renamed --targetPackage
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1484?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1484.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.0.0.Final
(was: 2.x Future)
Resolution: Done
> --packageName should be renamed --targetPackage
> -----------------------------------------------
>
> Key: FORGE-1484
> URL: https://issues.jboss.org/browse/FORGE-1484
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR1
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.0.0.Final
>
>
> The {{java}} commands have a {{--packageName}} parameter and should be renamed in {{--targetPackage}} :
> {code}
> java-new-annotation --packageName
> java-new-class --packageName
> java-new-enum --packageName
> java-new-interface --packageName
> {code}
> Most of the other commands use {{target}} :
> {code}
> entities-from-tables --targetPackage
> faces-new-converter --targetPackage
> faces-new-validator --targetPackage
> addon-new-command --targetPackage
> {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-1486) NoTransactionAssociatedException when setting up scaffolding
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-1486:
----------------------------------------
Summary: NoTransactionAssociatedException when setting up scaffolding
Key: FORGE-1486
URL: https://issues.jboss.org/browse/FORGE-1486
Project: Forge
Issue Type: Sub-task
Components: UI - Shell
Affects Versions: 2.0.0.CR1
Reporter: Antonio Goncalves
Fix For: 2.x Future
I've allowed to have track changes ({{transaction-track-changes}}), and then I setup scaffolding ({{scaffold-setup}}) and I get
{code}
[Book.java]$ scaffold-setup
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/pom.xml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/WEB-INF
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/WEB-INF
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/WEB-INF/beans.xml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/WEB-INF/beans.xml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/pom.xml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/WEB-INF
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/WEB-INF/faces-config.xml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/WEB-INF/faces-config.xml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/WEB-INF
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/WEB-INF/web.xml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/WEB-INF/web.xml
Exception in thread "Resource File Monitor" Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/error.xhtml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/error.xhtml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/index.html
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/index.html
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/index.xhtml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/index.xhtml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/add.png
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/add.png
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/bootstrap.css
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/bootstrap.css
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/false.png
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/false.png
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/favicon.ico
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/favicon.ico
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/forge-logo.png
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/forge-logo.png
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/forge-style.css
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/forge-style.css
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/jboss-community.png
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/jboss-community.png
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/remove.png
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/remove.png
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/scaffold
org.jboss.forge.addon.resource.transaction.ResourceTransactionException: org.xadisk.filesystem.exceptions.NoTransactionAssociatedException: The method that was called can only be called with a transaction associated, butthere is no such transaction present.Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/scaffold
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/scaffold/pageTemplate.xhtml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/scaffold/pageTemplate.xhtml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/scaffold/paginator.xhtml
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/scaffold/paginator.xhtml
at org.jboss.forge.addon.resource.transaction.file.FileResourceTransactionImpl.fileExistsAndIsDirectory(FileResourceTransactionImpl.java:245)W
rote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/search.png
at org.jboss.forge.addon.resource.FileResourceGenerator.getResourceType(FileResourceGenerator.java:29)
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/search.png at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/true.png
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)Wrote /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/webapp/resources/true.png
at java.lang.reflect.Method.invoke(Method.java:606)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
***SUCCESS*** CDI has been installed. at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75)
at org.jboss.forge.addon.resource.FileResourceGenerator_$$_javassist_bdd19dce-9677-4c5e-b872-98bfee50bfed.getResourceType(FileResourceGenerator_$$_javassist_bdd19dce-9677-4c5e-b872-98bfee50bfed.java)***SUCCESS***
JavaServer Faces has been installed.
at org.jboss.forge.addon.resource.FileResourceGenerator.getResourceType(FileResourceGenerator.java:5)
***SUCCESS*** at org.jboss.forge.addon.resource.ResourceFactoryImpl.create(ResourceFactoryImpl.java:64)Scaffold was setup successfully.
at org.jboss.forge.addon.resource.monitor.FileAlterationListenerAdapter.onFileChange(FileAlterationListenerAdapter.java:64)
at org.apache.commons.io.monitor.FileAlterationObserver.doMatch(FileAlterationObserver.java:400)
at org.apache.commons.io.monitor.FileAlterationObserver.checkAndNotify(FileAlterationObserver.java:334)
at org.apache.commons.io.monitor.FileAlterationObserver.checkAndNotify(FileAlterationObserver.java:304)
at org.apache.commons.io.monitor.FileAlterationMonitor.run(FileAlterationMonitor.java:182)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.xadisk.filesystem.exceptions.NoTransactionAssociatedException: The method that was called can only be called with a transaction associated, butthere is no such transaction present.
at org.xadisk.filesystem.NativeSession.checkIfCanContinue(NativeSession.java:1231)
at org.xadisk.filesystem.NativeSession.fileExistsAndIsDirectory(NativeSession.java:445)
at org.xadisk.filesystem.NativeSession.fileExistsAndIsDirectory(NativeSession.java:434)
at org.jboss.forge.addon.resource.transaction.file.FileResourceTransactionImpl.fileExistsAndIsDirectory(FileResourceTransactionImpl.java:232)
... 16 more
{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-1483) Rename entities-from-tables comment
by Antonio Goncalves (JIRA)
[ https://issues.jboss.org/browse/FORGE-1483?page=com.atlassian.jira.plugin... ]
Antonio Goncalves updated FORGE-1483:
-------------------------------------
Description:
The command {{entities-from-tables}} is related to jpa and should be renamed. Following what we have with {{rest-endpoint-from-entity}}, the command should be :
{code}
jpa-entity-from-tables
{code}
Or maybe it would be better to mention the database, not the tables :
{code}
jpa-entity-from-database
{code}
Or for short :
{code}
jpa-entity-from-db
{code}
was:
The command {{entities-from-tables}} is related to jpa and should be called something like :
{code}
jpa-generate-from-tables
jpa-scaffold-from-tables
{code}
We talked about the difference between generate and scaffold in the ML. Lincoln defines scaffolding for the UI, so in this case {{generate}} is more appropriate.
> Rename entities-from-tables comment
> -----------------------------------
>
> Key: FORGE-1483
> URL: https://issues.jboss.org/browse/FORGE-1483
> Project: Forge
> Issue Type: Sub-task
> Components: UI - Shell
> Affects Versions: 2.0.0.CR1
> Reporter: Antonio Goncalves
> Fix For: 2.x Future
>
>
> The command {{entities-from-tables}} is related to jpa and should be renamed. Following what we have with {{rest-endpoint-from-entity}}, the command should be :
> {code}
> jpa-entity-from-tables
> {code}
> Or maybe it would be better to mention the database, not the tables :
> {code}
> jpa-entity-from-database
> {code}
> Or for short :
> {code}
> jpa-entity-from-db
> {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