[JBoss JIRA] Created: (JBIDE-9345) AS7: remove unneeded additional indirection in service usage
by Andre Dietisheim (JIRA)
AS7: remove unneeded additional indirection in service usage
------------------------------------------------------------
Key: JBIDE-9345
URL: https://issues.jboss.org/browse/JBIDE-9345
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Affects Versions: 3.3.0.M3
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.3.x
AS tooling uses an osgi service to interact with the as7 server. This service is implemented in AS7Manager. This manager is not directly exposed but there's an additional indirection to it: JBoss7ManagerService. This was initially done because we thought about offerding additional functionalities which did not work out. We should now remove this additional indirection/wrapping since there's no sense to it, it only makes code harder to read.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (JBIDE-9423) CDI Validation throws NPE
by Alexey Kazakov (JIRA)
CDI Validation throws NPE
-------------------------
Key: JBIDE-9423
URL: https://issues.jboss.org/browse/JBIDE-9423
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: cdi
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.3.0.M3
This quick fix should offer to Delete @Specializes annotation
Test case:
EXECUTE: Create CDI project
EXECUTE: Create TestBean class
{code}
package org.test;
import javax.enterprise.inject.Specializes;
import javax.interceptor.Interceptor;
@Interceptor
@FooBinding
@Specializes
public class TestBean extends AnyBean{
public String produce(){
return "a";
}
}
{code}
ASSERT: @Specializes annotation should be marked by problem marker
EXECUTE: Point mouse to @Specializes annotation
ASSERT: Text hover with quick fixe appears
EXECUTE: Create TestBean2 class
{code}
package org.test;
import javax.decorator.Decorator;
import javax.decorator.Delegate;
import javax.enterprise.inject.Specializes;
import javax.inject.Inject;
@Decorator
@Specializes
public class TestBean2 extends AnyBean{
@Inject @Delegate @AAnnotation String str;
public String produce(){
return str;
}
}
{code}
ASSERT: @Specializes annotation should be marked by problem marker
EXECUTE: Point mouse to @Specializes annotation
ASSERT: Text hover with quick fixe appears
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (JBIDE-9413) NLS missing messages
by George Gastaldi (JIRA)
NLS missing messages
--------------------
Key: JBIDE-9413
URL: https://issues.jboss.org/browse/JBIDE-9413
Project: Tools (JBoss Tools)
Issue Type: Bug
Reporter: George Gastaldi
Priority: Trivial
The following NLS messages are missing:
{code:java}
NLS missing message: J2EEModuleExportOperation_DestinationFileIsDirectoryError in: org.jboss.ide.eclipse.as.ui.Messages
NLS missing message: J2EEModuleExportOperation_ErrorExportingArchive in: org.jboss.ide.eclipse.as.ui.Messages
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (JBIDE-9305) CDI Validation problem markers should be removed when CDI support is disabled
by Alexey Kazakov (JIRA)
CDI Validation problem markers should be removed when CDI support is disabled
-----------------------------------------------------------------------------
Key: JBIDE-9305
URL: https://issues.jboss.org/browse/JBIDE-9305
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.3.0.M2
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.3.0.M3
EXECUTE: Create a CDI project (with CDI support enabled)
EXECUTE: Add any CDI problem. For instance:
{code}
public class Test {
@Inject String foo;
@Produces
public String foo1() {
return "";
}
@Produces
public String foo2() {
return "";
}
}
{code}
ASSERT: There is a CDI problem marker on @Inject String foo;
EXECUTE: Disable CDI support in Project Properties page. Clean/re-build the project.
ASSERT: The CDI problem disappeared.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (JBIDE-9240) Add Class wizard in beans.xml editor throws exeption when attempting to add duplicate entries, but should properly validate input.
by Viacheslav Kabanovich (JIRA)
Add Class wizard in beans.xml editor throws exeption when attempting to add duplicate entries, but should properly validate input.
----------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-9240
URL: https://issues.jboss.org/browse/JBIDE-9240
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.3.0.M2
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 3.3.0.M3
EXECUTE: Open beans.xml editor and select 'Interceptors' node in 'Tree' tab.
EXECUTE: Call from context menu 'Add Class' wizard, input 'MyClass' and finish.
ASSERT: Node 'MyClass' appears.
EXECUTE: Repeat second step with the same 'MyClass' input.
ASSERT: Wizard disables finish and displays error message ''Interceptors' already contains class MyClass.'.
FAILURE: Wizard allows to push 'Finish', writes error message with stack trace into the log and remains open.
The same steps work for nodes 'Decorators' and 'Alternatives'.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (JBIDE-9191) no provider name for org.jboss.tools.ws.jaxrs.feature
by Nick Boldt (JIRA)
no provider name for org.jboss.tools.ws.jaxrs.feature
-----------------------------------------------------
Key: JBIDE-9191
URL: https://issues.jboss.org/browse/JBIDE-9191
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.3.0.M2
Reporter: Nick Boldt
Assignee: Brian Fitzpatrick
Fix For: 3.3.0.M3
Attachments: Screenshot-Forge-and-WS-JAXRS-missing-provider-names.png
Missing provider name. check your feature.xml and add one (see other feature.xml and feature.properties files to learn how. Provider should be "JBoss by Red Hat".
See also screenshot below:
!Screenshot-Forge-and-WS-JAXRS-missing-provider-names!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months