Lines 30-36
Link Here
|
30 |
import java.util.Map; |
30 |
import java.util.Map; |
31 |
|
31 |
|
32 |
import org.eclipse.core.commands.ExecutionException; |
32 |
import org.eclipse.core.commands.ExecutionException; |
|
|
33 |
import org.eclipse.core.resources.IProject; |
33 |
import org.eclipse.core.resources.ResourcesPlugin; |
34 |
import org.eclipse.core.resources.ResourcesPlugin; |
|
|
35 |
import org.eclipse.core.runtime.CoreException; |
34 |
import org.eclipse.core.runtime.IAdaptable; |
36 |
import org.eclipse.core.runtime.IAdaptable; |
35 |
import org.eclipse.core.runtime.IProgressMonitor; |
37 |
import org.eclipse.core.runtime.IProgressMonitor; |
36 |
import org.eclipse.core.runtime.IStatus; |
38 |
import org.eclipse.core.runtime.IStatus; |
Lines 237-242
Link Here
|
237 |
System.setProperty("javax.xml.transform.TransformerFactory", transformerFactory); |
239 |
System.setProperty("javax.xml.transform.TransformerFactory", transformerFactory); |
238 |
} |
240 |
} |
239 |
} |
241 |
} |
|
|
242 |
if (model.getWebProjectName()!=null){ |
243 |
IProject project=ResourcesPlugin.getWorkspace().getRoot().getProject(model.getWebProjectName()); |
244 |
if (project!=null){ |
245 |
try { |
246 |
project.close(null); |
247 |
project.open(null); |
248 |
} catch (CoreException e) { |
249 |
e.printStackTrace(); |
250 |
} |
251 |
} |
252 |
} |
240 |
} |
253 |
} |
241 |
|
254 |
|
242 |
return status; |
255 |
return status; |