[JBoss JIRA] Created: (JBIDE-473) JBoss AS ignores context root property of dynamic web project
by Viacheslav Kabanovich (JIRA)
JBoss AS ignores context root property of dynamic web project
-------------------------------------------------------------
Key: JBIDE-473
URL: http://jira.jboss.com/jira/browse/JBIDE-473
Project: JBoss Tools
Issue Type: Feature Request
Reporter: Viacheslav Kabanovich
Open editor for Tomcat Server (double click Tomcat node in Servers view). The editor has two tabs - Overview and Modules. In Modules tab, it is possible to select a registered web project and call dialog for changing path (context root) property by Edit button. Then, for example, if project's name is MyProject but path is set to /OurProject, in order to access the application running on Tomcat server one has to type in browser an address like http://localhost:8080/OurProject rather than http://localhost:8080/MyProject.
Red Hat studio defines menu action 'Register Web Context in Server', which invokes dialog that allows to set context root property. That works fine with Tomcat server, but fails with JBoss AS, because it seems that its implementation ignores this property of web project when deploying it. Hence, the request is to develop this functionality of JBoss AS to the level of Tomcat server.
Context root property is accessible through class org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities with methods
public static void setServerContextRoot(IProject project, String contextRoot)
public static String getServerContextRoot(IProject project)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 2 months
[jbosside-issues] [JBoss JIRA] Created: (JBIDE-467) NullPointerException on ProjectChangeListener
by pchar (JIRA)
NullPointerException on ProjectChangeListener
---------------------------------------------
Key: JBIDE-467
URL: http://jira.jboss.com/jira/browse/JBIDE-467
Project: JBoss IDE
Issue Type: Bug
Components: JBossIDE Core
Affects Versions: 1.6
Environment: Eclipse Version: 3.2.2 Mac OS X Java 1.5
Reporter: pchar
Assigned To: Marshall Culpepper
There's a null pointer excetion on a lister here the stackstrace:
!ENTRY org.eclipse.core.resources 4 2 2007-03-30 08:31:42.807
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
at org.jboss.ide.eclipse.core.ProjectChangeListener.resourceChanged(ProjectChangeListener.java:46)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:280)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:274)
at org.eclipse.core.internal.events.NotificationManager.handleEvent(NotificationManager.java:246)
at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:250)
at org.eclipse.core.internal.resources.Project.close(Project.java:186)
at org.eclipse.ui.actions.CloseResourceAction.invokeOperation(CloseResourceAction.java:184)
at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:134)
at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:429)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[jbosside-issues] [JBoss JIRA] Created: (JBIDE-465) Problems occurred when invoking code from plug-in: "org.eclipse.jface".
by Mallika Guliani (JIRA)
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
-----------------------------------------------------------------------
Key: JBIDE-465
URL: http://jira.jboss.com/jira/browse/JBIDE-465
Project: JBoss IDE
Issue Type: Bug
Components: JBossIDE Core
Affects Versions: 1.6
Environment: Win XP PRO
Reporter: Mallika Guliani
Assigned To: Marshall Culpepper
I am not able to create Server configuration in Eclipse 3.2.2. I am using JBoss 1.6.0 GA.
I get the following errors:
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
Unhandled event loop exception - plug in - "org.eclipse.ui"
I saw that this error is already logged but unable to find a solution. Could someone please provide step by step resolution?
I would really appreciate your help. I have already spent a day trying out different versions of JBoss IDE but no result. I have JBoss - 4.0.2 AS.
Thank You.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[jbosside-issues] [JBoss JIRA] Created: (JBIDE-428) Add new features to Feemarker Plugin
by ZERR Angelo (JIRA)
Add new features to Feemarker Plugin
------------------------------------
Key: JBIDE-428
URL: http://jira.jboss.com/jira/browse/JBIDE-428
Project: JBoss IDE
Issue Type: Patch
Components: FreeMarker plugin
Reporter: ZERR Angelo
Assigned To: Joe Hudson
Attachments: FreemarkerIDE.zip
I have updated Freemarker Plugin to :
1) have template completion capability : (ex : type list in your ftl template, and CRTL+SPACE => <#list ....><#list> will be generate.
You can customize your template with menu Window/Preferences/Freemarker Editor/Templates
2) add XML context capabilty. You can choose XML file and have completion with element and attribute of your XML.
3) add String context. I beleive it will be better to have Java Type context (Boolea, String,...)
3) add Preview Tab to see the result of the merge of your template and your model. It works ONLY with XML context. It's not available dor Class context.
To use Preview Tab with Class, I believe it will good to have a class wich return getter of your Class.
Ex : if you have class MyForm, user will have to add getMyForm in the context class for the preview.
MyForm getMyForm() {
MyForm form = new MyForm
form.setId("MyId")
return form;
}
If user have the ftl template ${myForm.id}, when you click to th epreview tab, you will have MyId displayed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months