You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by sp...@apache.org on 2007/01/02 18:36:35 UTC
svn commit: r491865 -
/geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java
Author: sppatel
Date: Tue Jan 2 09:36:35 2007
New Revision: 491865
URL: http://svn.apache.org/viewvc?view=rev&rev=491865
Log:
fix compilation errors
Modified:
geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java
Modified: geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java?view=diff&rev=491865&r1=491864&r2=491865
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java (original)
+++ geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java Tue Jan 2 09:36:35 2007
@@ -62,13 +62,13 @@
*/
public XmlObject fixGeronimoEarSchema(IFile plan) throws XmlException {
XmlObject xmlplan = getXmlObject(plan);
- XmlObject xmlplan = getXmlObject(plan);
if (plan != null) {
SchemaConversionUtils.fixGeronimoSchema(xmlplan, GerApplicationDocument.type.getDocumentElementName(),
GerApplicationType.type);
save(xmlplan, plan);
}
return xmlplan;
+ }
/*
* (non-Javadoc)
@@ -116,13 +116,13 @@
}
private void save(XmlObject object, IFile file) {
- try {
+ try {
object.save(file.getLocation().toFile());
- file.refreshLocal(IFile.DEPTH_ONE, null);
+ file.refreshLocal(IFile.DEPTH_ONE, null);
} catch (IOException e) {
- e.printStackTrace();
+ e.printStackTrace();
} catch (CoreException e) {
- e.printStackTrace();
+ e.printStackTrace();
}
}
}