[JBoss JIRA] Created: (JBIDE-9735) Refactor the forge plugins to get rid of the ui console dependencies and make it easier to handle ansi commands
by Koen Aers (JIRA)
Refactor the forge plugins to get rid of the ui console dependencies and make it easier to handle ansi commands
---------------------------------------------------------------------------------------------------------------
Key: JBIDE-9735
URL: https://issues.jboss.org/browse/JBIDE-9735
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: forge
Reporter: Koen Aers
Fix For: 3.3.0.M4
Following things need to be done:
- create a ForgeTextViewer that inherits from jface TextViewer
- the ForgeTextViewer initializes a filter chain to filter all the escaped input
- the ForgeHiddenOutputFilter will filter the hidden input (new escape sequence : 27 + '%'
- the ForgeAnsiCommandFilter filters the ansi commands that come from the runtime : 27 + '['
- the ForgeTextViewer will execute the ansi commands and interpret the hidden output
- the dependencies on the Eclipse Console classes can be eliminated: Console, ConsolePage, ConsoleViewer
- ForgeInputReadJob is not needed anymore
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] (JBIDE-10036) Forge and JAX-RS: Project configuration is not up-to-date with pom.xml. Run project configuration update
by Burr Sutter (Created) (JIRA)
Forge and JAX-RS: Project configuration is not up-to-date with pom.xml. Run project configuration update
--------------------------------------------------------------------------------------------------------
Key: JBIDE-10036
URL: https://issues.jboss.org/browse/JBIDE-10036
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: forge
Environment: 3.3.M4 (QA version)
Reporter: Burr Sutter
Attachments: Forge_JBossTools-3.png, Forge_JBossTools-4.png, Forge_JBossTools-5.png
Following this Forge "script"
new-project --named forgeProject1 --topLevelPackage com.burrsutter.forgeProject1
persistence setup --provider HIBERNATE --container JBOSS_AS7
I notice that the project is not refresh to show the additional generated files. So I right-click on the project and select Refresh from the context menu and I get a red x, opening up the Problems tab tells me that
"Project configuration is not up-to-date with pom.xml. Run project configuration update".
This message is a challenge - finding 'project configuration update' in the menu system is difficult. A new Maven user would not know that the right item is
Right-click on the project, Maven -> Update Project Configuration
This step should have happened automatically
After running Update Project Configuration, the next error is
"error: Attribute servlet-name references to javax.ws.rs.core.Application that is not a servlet"
What was thrown into web.xml
<servlet-mapping>
<servlet-name>javax.ws.rs.core.Application</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] (JBIDE-12085) Make sure launching Forge creates a ForgeRuntimeProcss subclass of the default RuntimeProcess
by Koen Aers (JIRA)
Koen Aers created JBIDE-12085:
---------------------------------
Summary: Make sure launching Forge creates a ForgeRuntimeProcss subclass of the default RuntimeProcess
Key: JBIDE-12085
URL: https://issues.jboss.org/browse/JBIDE-12085
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: forge
Reporter: Koen Aers
Assignee: Koen Aers
Fix For: 3.4.0.M1
- create ForgeRuntimeProcess class as subclass of RuntimeProcess
- override getProxies() so it returns null
- create a getForgeProxies() method that delegates to super.getProxies()
- create and contribute ForgeProcessFactory that creates ForgeRuntimeProcesses
- make sure that the process returned by the launch method in ForgeLaunchHelper always is a ForgeRuntimeProcess
- use the register='true' flag in launchConfiguration.launch() so that the process is always registered
- use the getForgeProxies() method in the AbstractForgeRuntime class instead of the getProxies method
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months