[JBoss JIRA] (FORGE-1245) Importer+#requiresImport() should return false for types in same package
by Matt Benson (JIRA)
[ https://issues.jboss.org/browse/FORGE-1245?page=com.atlassian.jira.plugin... ]
Matt Benson updated FORGE-1245:
-------------------------------
Description: The simple approach of comparing the package name of the Importer to the longest subsequence before any final dot in the name of the proposed import should suffice: the only exceptional case should be inner classes, which would require an import in any case in order to refer to one such by its simple name. (was: The simple approach of comparing the package name of the Importer to the longest subsequenc before any final dot in the name of the proposed import should suffice: the only exceptional case should be inner classes, which would require an import in any case in order to refer to one such by its simple name. )
> Importer+#requiresImport() should return false for types in same package
> ------------------------------------------------------------------------
>
> Key: FORGE-1245
> URL: https://issues.jboss.org/browse/FORGE-1245
> Project: Forge
> Issue Type: Feature Request
> Components: Parsers / File Manipulation
> Affects Versions: 2.x Future
> Reporter: Matt Benson
>
> The simple approach of comparing the package name of the Importer to the longest subsequence before any final dot in the name of the proposed import should suffice: the only exceptional case should be inner classes, which would require an import in any case in order to refer to one such by its simple name.
--
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
11 years, 1 month
[JBoss JIRA] (FORGE-1243) Forge Bootstrap should print Forge version on critical failure
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-1243:
-----------------------------------------
Summary: Forge Bootstrap should print Forge version on critical failure
Key: FORGE-1243
URL: https://issues.jboss.org/browse/FORGE-1243
Project: Forge
Issue Type: Feature Request
Components: Usability
Affects Versions: 2.0.0.Alpha13
Reporter: Lincoln Baxter III
This would make it easier to debug when users post traces that cause Forge to crash.
{code}
sorig:TripMe bgeorges$ forge --install shell
Using Forge at /Applications/jboss/forge
java.lang.IllegalArgumentException: No Artifact version found for org.jboss.forge.addon:shell
at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:192)
at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:138)
at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:87)
sorig:TripMe bgeorges$
{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
11 years, 1 month
[JBoss JIRA] (FORGEPLUGINS-139) The scaffold-x is not using the local template
by Endrigo Antonini (JIRA)
Endrigo Antonini created FORGEPLUGINS-139:
---------------------------------------------
Summary: The scaffold-x is not using the local template
Key: FORGEPLUGINS-139
URL: https://issues.jboss.org/browse/FORGEPLUGINS-139
Project: Forge Plugins
Issue Type: Bug
Components: AngularJS Scaffold
Environment: OSX 10.8.5
Java JDK 1.7.0_25-b15
Forge 1.4.1.Final
angularjs-scaffoldx-plugin - 1.4.0.Final and 1.0.2 SNAPSHOT
Reporter: Endrigo Antonini
Assignee: Vineet Reynolds
I installed the angularjs plugin using the option --installTemplate
When running scaffold to the entities the plugin didn't capture my local changes.
--
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
11 years, 1 month
[JBoss JIRA] (FORGE-1224) method.setPackagePrivate() not working
by Michael Schwartz (JIRA)
[ https://issues.jboss.org/browse/FORGE-1224?page=com.atlassian.jira.plugin... ]
Michael Schwartz commented on FORGE-1224:
-----------------------------------------
I found the Problem. I had an iterator via resource.getJavaSource().getMembers(). This iterator works but does not allow the original file to modify. (setPrivate(), setPublic(), setPackagePrivate() all not working).
When I use
((JavaClass) JavaParser.parse(JavaClass.class,
this.resource.getResourceInputStream())).getMembers()
instead it works as desired.
I cannot decide if this is an issue or not but the alternative code works like a charm.
regards, Mike
> method.setPackagePrivate() not working
> --------------------------------------
>
> Key: FORGE-1224
> URL: https://issues.jboss.org/browse/FORGE-1224
> Project: Forge
> Issue Type: Bug
> Components: Parsers / File Manipulation
> Affects Versions: 1.3.3.Final
> Reporter: Michael Schwartz
> Priority: Minor
> Fix For: 1.x Future
>
>
> method.setPackagePrivate() is not working if the method is already set to public
--
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
11 years, 1 month