[JBoss JIRA] Created: (JBIDE-5916) Wrong Compiler Compliance Level set when creating new ESB Project
by Vlado Pakan (JIRA)
Wrong Compiler Compliance Level set when creating new ESB Project
------------------------------------------------------------------
Key: JBIDE-5916
URL: https://jira.jboss.org/jira/browse/JBIDE-5916
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: esb
Environment: JBDS 3.0.0v201002190339M-H173-CR2
Java Sun JDK 1.6.0_16-b01
JBoss [SOA] 5.0.0.GA_SOA (build: SVNTag=5.0.0.GA_SOA date=201002151345)
Reporter: Vlado Pakan
Fix For: 3.1.0.CR2
When new ESB Project is created (File > New > Others > ESB Project) this project has set Compiler Compliance Level to 1.5 (Project > Properties > Java Compiler) even when only Java JDK 1.6 Runtime is specified within workspace.
Then when user adds new ESB Action to this project (File > New > Others > ESB Action) it generates new class with this content (JBoss ESB Runtime jas to be added to project classpath):
import org.jboss.soa.esb.actions.AbstractActionPipelineProcessor;
import org.jboss.soa.esb.helpers.ConfigTree;
import org.jboss.soa.esb.actions.ActionProcessingException;
import org.jboss.soa.esb.message.Message;
public class EsbAction extends AbstractActionPipelineProcessor {
protected ConfigTree _config;
public EsbAction(ConfigTree config) {
_config = config;
}
@Override
public Message process(Message message) throws ActionProcessingException {
//ADD CUSTOM ACTION CODE HERE
return message;
}
}
And compiler is complaining about @Override annotation on method process(Message) displaying this error:
The method process(Message) of type EsbAction must override a superclass method
Either when Compiler Compliance level is set to 1.6 or Project Facets Java version is set to 6.0 (Project Properties > Project Facets > Java) error disappear.
I think it should work in the way that when user creates new EBS Action it should be created without errors so Compiler Compliance Level or Project Facets Java should be set properly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Created: (JBIDE-6286) Inconsistent deploy folder in server setting
by Jiri Peterka (JIRA)
Inconsistent deploy folder in server setting
--------------------------------------------
Key: JBIDE-6286
URL: https://jira.jboss.org/jira/browse/JBIDE-6286
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.1.0.GA
Environment: JBT 3.1.0 GA, JDK 1.6
Reporter: Jiri Peterka
Fix For: 3.2.next
When there is selected custom deploy folder on Runtime Server properties -> Deployment tab, in server properties there is still metedata (see screenshots)
Steps:
1. Add Jboss Runtime and create server
2. Click on Server in Servers view
3. On Deployment tab switch to "Use Custom deploy folder"
4. Save setting
5. Click on Servers view
6. Click on Server -> Properties (context menu)
7. See there is metadata dir set as location
ASSERT: Should be custom
ASSERT2: It should be possible to use "Switch Location" to switch location to custom folder
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months
[JBoss JIRA] Created: (JBIDE-5878) Archives .packages configuration cannot be used without modifications to build archive with ant inside eclipse
by Denis Golovin (JIRA)
Archives .packages configuration cannot be used without modifications to build archive with ant inside eclipse
--------------------------------------------------------------------------------------------------------------
Key: JBIDE-5878
URL: https://jira.jboss.org/jira/browse/JBIDE-5878
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Archives
Affects Versions: 3.1.0.CR2
Reporter: Denis Golovin
Assignee: Rob Stryker
By default packages/package@todir attribute is set to /${project-name} and that works only when archive is built by using context menu on Archives View. If you create build.xml and run it by eclipse ant launcher it fails with error like
Error adding child node jarName.jar
[GenerateArchives] org.jboss.ide.eclipse.archives.core.model.ArchivesModelException: Error adding child node myJar.jar
[GenerateArchives] at org.jboss.ide.eclipse.archives.core.model.internal.ArchiveNodeImpl.addChild(ArchiveNodeImpl.java:273)
[GenerateArchives] at org.jboss.ide.eclipse.archives.core.util.ModelUtil.fillArchiveModel(ModelUtil.java:216)
[GenerateArchives] at org.jboss.ide.eclipse.archives.core.model.ArchivesModel.registerProject(ArchivesModel.java:194)
[GenerateArchives] at org.jboss.ide.eclipse.archives.core.model.ArchivesModel.registerProject(ArchivesModel.java:170)
[GenerateArchives] at org.jboss.ide.eclipse.archives.core.ant.GenerateArchivesTask.execute(GenerateArchivesTask.java:63)
[GenerateArchives] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[GenerateArchives] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[GenerateArchives] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[GenerateArchives] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[GenerateArchives] at java.lang.reflect.Method.invoke(Unknown Source)
[GenerateArchives] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[GenerateArchives] at org.apache.tools.ant.Task.perform(Task.java:348)
[GenerateArchives] at org.apache.tools.ant.Target.execute(Target.java:357)
[GenerateArchives] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[GenerateArchives] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[GenerateArchives] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[GenerateArchives] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[GenerateArchives] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[GenerateArchives] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[GenerateArchives] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[GenerateArchives] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 9 months