[JBoss JIRA] Created: (JBIDE-9632) compile failed in org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/project/SarArtifactAdapter.java :: method getModule() of type SarArtifactAdapter.MBeanNullArtifact must override a superclass method
by Nick Boldt (JIRA)
compile failed in org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/project/SarArtifactAdapter.java :: method getModule() of type SarArtifactAdapter.MBeanNullArtifact must override a superclass method
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-9632
URL: https://issues.jboss.org/browse/JBIDE-9632
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.3.0.M4
Reporter: Nick Boldt
Assignee: Rob Stryker
Fix For: 3.3.0.M4
Building locally:
cd ~/trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans; mvn clean install
[INFO] Using compile source roots from build.properties
[INFO] Compiling 32 source files to /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/target/classes
----------
1. ERROR in /home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/src/org/jboss/ide/eclipse/as/ui/mbeans/project/SarArtifactAdapter.java (at line 35)
public IModule getModule() {
^^^^^^^^^^^
The method getModule() of type SarArtifactAdapter.MBeanNullArtifact must override a superclass method
----------
1 problem (1 error)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] Created: (JBIDE-9524) PublishCopyUtil#copyFile should not catch Exception but IOException
by Andre Dietisheim (JIRA)
PublishCopyUtil#copyFile should not catch Exception but IOException
-------------------------------------------------------------------
Key: JBIDE-9524
URL: https://issues.jboss.org/browse/JBIDE-9524
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: JBossAS
Affects Versions: 3.3.0.M3
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.3.0.M3
see https://source.jboss.org/cru/REV-JBIDE-4/#c80
{code}
private IStatus copyFile(InputStream in, String to) {
try {
FileUtils.writeTo(in, to);
return Status.OK_STATUS;
} catch (Exception e) {
//Trace.trace(Trace.SEVERE, "Error copying file", e);
return new Status(IStatus.ERROR, ServerPlugin.PLUGIN_ID, IEventCodes.JST_PUB_FAIL, NLS.bind(Messages.errorCopyingFile, new String[] {to, e.getLocalizedMessage()}), e);
} finally {
try {
if (in != null)
in.close();
} catch (Exception ex) {
// ignore
}
}
}
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months