diff -r cdc4995b1677 -r aea4c83725d8 org.symbian.tools.mtw.core/src/org/symbian/tools/tmw/core/internal/facets/InstallFacetAction.java --- a/org.symbian.tools.mtw.core/src/org/symbian/tools/tmw/core/internal/facets/InstallFacetAction.java Tue Aug 10 09:52:29 2010 -0700 +++ b/org.symbian.tools.mtw.core/src/org/symbian/tools/tmw/core/internal/facets/InstallFacetAction.java Fri Aug 13 16:28:00 2010 -0700 @@ -21,35 +21,14 @@ import org.eclipse.core.resources.IProject; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.core.runtime.Path; import org.eclipse.wst.common.project.facet.core.IDelegate; import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion; -import org.eclipse.wst.jsdt.core.IIncludePathEntry; -import org.eclipse.wst.jsdt.core.IJavaScriptProject; -import org.eclipse.wst.jsdt.core.JavaScriptCore; public class InstallFacetAction implements IDelegate { public void execute(IProject project, IProjectFacetVersion fv, Object config, IProgressMonitor monitor) throws CoreException { - final IJavaScriptProject jsProject = JavaScriptCore.create(project); - final IIncludePathEntry[] rawIncludepath = jsProject.getRawIncludepath(); - final Path path = new Path("tmw.coreLibrary"); - final int originalEntryCount = rawIncludepath.length; - - IIncludePathEntry[] newIncludepath = new IIncludePathEntry[originalEntryCount + 1]; - System.arraycopy(rawIncludepath, 0, newIncludepath, 0, originalEntryCount); - for (IIncludePathEntry entry : rawIncludepath) { - if (entry.getPath().equals(path)) { - newIncludepath = null; - break; - } - } - if (newIncludepath != null) { - final IIncludePathEntry newContainerEntry = JavaScriptCore.newContainerEntry(path, false); - newIncludepath[originalEntryCount] = newContainerEntry; - jsProject.setRawIncludepath(newIncludepath, monitor); - } + // Do nothing } }