[JBoss JIRA] (FORGE-167) Add support for ProfileBuilder in MavenCoreFacet (or create MavenProfileFacet)
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-167?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-167:
----------------------------------
Fix Version/s: 1.2.3.Final
(was: 1.2.2.Final)
> Add support for ProfileBuilder in MavenCoreFacet (or create MavenProfileFacet)
> ------------------------------------------------------------------------------
>
> Key: FORGE-167
> URL: https://issues.jboss.org/browse/FORGE-167
> Project: Forge
> Issue Type: Enhancement
> Components: Maven Integration
> Affects Versions: 1.0.0.Beta2
> Reporter: Lincoln Baxter III
> Assignee: Paul Bakker
> Priority: Minor
> Labels: Starter
> Fix For: 1.2.3.Final
>
>
> {code} MavenPluginFacet mavenPluginFacet = getProject().getFacet(MavenPluginFacet.class);
> int nrOfPlugins = getNumberOfPlugins();
> MavenPluginBuilder plugin = MavenPluginBuilder.create()
> .setDependency(
> DependencyBuilder.create()
> .setGroupId("org.apache.maven.plugins")
> .setArtifactId("maven-site-plugin")
> .setVersion("3.0")
> );
> MavenPluginAdapter mvnPlugin = new MavenPluginAdapter(plugin);
> MavenCoreFacet facet = project.getFacet(MavenCoreFacet.class);
> Profile profile = new Profile();
> profile.setId(profileId);
> profile.getBuild().addPlugin(theplugin);
>
> Model pom = facet.getPOM();
> pom.addProfile(profile);
>
> facet.setPOM(pom);
> {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, 9 months
[JBoss JIRA] (FORGE-179) The 'open' and 'edit' commands should be configurable
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-179?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-179:
----------------------------------
Fix Version/s: 1.2.3.Final
(was: 1.2.2.Final)
> The 'open' and 'edit' commands should be configurable
> -----------------------------------------------------
>
> Key: FORGE-179
> URL: https://issues.jboss.org/browse/FORGE-179
> Project: Forge
> Issue Type: Enhancement
> Components: Builtin Plugins
> Affects Versions: 1.0.0.Alpha3
> Reporter: Lincoln Baxter III
> Assignee: Koen Aers
> Labels: Starter
> Fix For: 1.2.3.Final
>
>
> 'open' and 'edit' currently use the default system application, but if hooks were provided into this system, they could instead be used to open files using a user-specified application, or even trigger editors to open in JBoss Tools.
> Koen, I am asigning this to you because I want your feedback here. If running forge in eclipse, these commands should probably be a no-op, and your eclipse system will simply intercept the output and open/edit the desired file, yes?
--
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, 9 months
[JBoss JIRA] (FORGE-464) Create Debian/Ubuntu package for Forge
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-464?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-464:
----------------------------------
Fix Version/s: 1.2.3.Final
(was: 1.2.2.Final)
> Create Debian/Ubuntu package for Forge
> --------------------------------------
>
> Key: FORGE-464
> URL: https://issues.jboss.org/browse/FORGE-464
> Project: Forge
> Issue Type: Feature Request
> Components: Forge Build
> Affects Versions: 1.0.6.Final
> Reporter: Dan Allen
> Priority: Optional
> Fix For: 1.2.3.Final
>
>
> This issue should act as an umbrella for this project. Use related issues to track the steps.
> Creating and publishing Forge packages for Debian & Ubuntu would really help boost adoption of Forge, IMO. Telling someone to download an unzip seems simple enough, but there's just something even more elegant about:
> sudo apt-get install jboss-forge
> (no sudo if you're hip enough, one of those GUIs if your glitzy enough)
> Debian provides guidelines for new package maintainers [1].
> [1] http://www.debian.org/doc/manuals/maint-guide/
--
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, 9 months
[JBoss JIRA] (FORGE-471) JavaResource handling of files with nested classes is incorrect
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-471?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-471:
----------------------------------
Fix Version/s: 1.2.3.Final
(was: 1.2.2.Final)
> JavaResource handling of files with nested classes is incorrect
> ---------------------------------------------------------------
>
> Key: FORGE-471
> URL: https://issues.jboss.org/browse/FORGE-471
> Project: Forge
> Issue Type: Bug
> Components: Parsers / File Manipulation, Resources API
> Affects Versions: 1.0.6.Final
> Reporter: Rudy De Busscher
> Fix For: 1.2.3.Final
>
>
> In the case you have following java source file
> public class Test {
>
> private String mainProperty;
> public void mainMethod() {
> System.out.println("Hi");
> }
> public static final class Nested {
> private String innerProperty;
> public void innerMethod() {
> System.out.println("I'm inner");
> }
> }
> }
> And running following statements
> JavaResource javaResource = factory.getResourceFrom(new File"/path/to/file/Test.java")).reify(JavaResource.class);
> System.out.println(javaResource.toString());
> List<Resource<?>> resources = javaResource.listResources();
> for (Resource res : resources) {
> System.out.println(res.getFullyQualifiedName());
> }
> You get following output
> be.rubus.forge.deltaspike.test.projectstage.Nested
> /path/to/file/Test.java/innerProperty::String
> /path/to/file/Test.java/mainMethod()::void
> /path/to/file/Test.java/innerMethod()::void
> The wrong name is due to the fact that TypeDeclarationFinderVisitor records every class type the parser finds. In our case the 2 class names but only the last one is kept (first name is overwritten)
> The MethodFinderVisitor has a similar problem, it gets called twice and adds up the found methods.
> So there need to be a general review of the visitors to be able to handle nested or multiple classes in one java source file.
--
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, 9 months
[JBoss JIRA] (FORGE-552) Escaping of selected characters doesn't work
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-552?page=com.atlassian.jira.plugin.... ]
George Gastaldi updated FORGE-552:
----------------------------------
Fix Version/s: 1.2.3.Final
(was: 1.2.2.Final)
> Escaping of selected characters doesn't work
> --------------------------------------------
>
> Key: FORGE-552
> URL: https://issues.jboss.org/browse/FORGE-552
> Project: Forge
> Issue Type: Bug
> Components: Forge Build
> Affects Versions: 1.0.2.Final
> Environment: Ubuntu 10.04 i686
> Reporter: Jevgeni Zelenkov
> Fix For: 1.2.3.Final
>
>
> This is related to the https://issues.jboss.org/browse/FORGE-43 issue.
> The following characters in file names should be escaped by the forge completion:
> \* ? = ' " { } \ $ ! & ; ( ) < > |
> also: TAB-char (yes, I know it is stupid, but possible)
> First two (*, ?) are used internally as wildcard chars, so should be allowed to be used escaped as well as unescaped.
> = char doesn't need to be escaped neither on linux nor on windows but somehow forge fails to work with files containing = (at least on my ubuntu).
> Windows has a slightly different set of chars to be escaped (from wikipedia, not actually tested):
> ' " = & | ( ) < > ^
> This issue is added for completeness.
--
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, 9 months