Author: snjeza
Date: 2009-02-04 11:11:40 -0500 (Wed, 04 Feb 2009)
New Revision: 13470
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/JBossRuntimeClassPathInitializer.java
Log:
JBIDE-3733 JBoss ESB classpath container does not set source attachment location
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/JBossRuntimeClassPathInitializer.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/JBossRuntimeClassPathInitializer.java 2009-02-04
15:48:08 UTC (rev 13469)
+++
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/JBossRuntimeClassPathInitializer.java 2009-02-04
16:11:40 UTC (rev 13470)
@@ -47,8 +47,7 @@
private String segment;
private boolean isServerSupplied = false;
- private IJavaProject javaProject;
-
+
@Override
public void initialize(IPath containerPath, IJavaProject project)
throws CoreException {
@@ -87,7 +86,7 @@
public JBossRuntimeClasspathContainer(IPath path, IJavaProject project,
boolean isFromServer) {
- super(path, JBossFacetCoreMessages.JBoss_Runtime, null);
+ super(path, JBossFacetCoreMessages.JBoss_Runtime, null, project);
this.path = path;
this.isFromServer = isFromServer;
}
@@ -162,6 +161,11 @@
return entries;
}
+ @Override
+ public void refresh() {
+ new JBossRuntimeClasspathContainer(path,javaProject,isServerSupplied).install();
+ }
+
}
Show replies by date