| author | Rainer Pielmann | 2012-02-14 11:16:11 (EST) |
|---|---|---|
| committer | Stephan Born | 2012-04-24 04:33:36 (EDT) |
| commit | 4671b67e1ae4fd1cc0b88f6ebd4a3b226f72ee76 (patch) (side-by-side diff) | |
| tree | 951fb934cfa1e9dff09e200b6b8d236135dc196b | |
| parent | 365f193d90a8376d7fe63d396e28e4195e599797 (diff) | |
| download | org.eclipse.stardust.ide-4671b67e1ae4fd1cc0b88f6ebd4a3b226f72ee76.zip org.eclipse.stardust.ide-4671b67e1ae4fd1cc0b88f6ebd4a3b226f72ee76.tar.gz org.eclipse.stardust.ide-4671b67e1ae4fd1cc0b88f6ebd4a3b226f72ee76.tar.bz2 | |
CRNT-23312 Modeler : Not able to generate WSDL of process interface
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ide@53756 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
| -rw-r--r-- | modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessInterfacePropertyPage.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessInterfacePropertyPage.java b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessInterfacePropertyPage.java index b39549b..15f8ccf 100644 --- a/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessInterfacePropertyPage.java +++ b/modeling/org.eclipse.stardust.modeling.core/src/org/eclipse/stardust/modeling/core/properties/ProcessInterfacePropertyPage.java @@ -592,11 +592,9 @@ public class ProcessInterfacePropertyPage extends AbstractModelElementPropertyPa catch (IOException ex) { ex.printStackTrace(); - } - ClassLoader cclBackup = Thread.currentThread().getContextClassLoader(); + }
try - { - Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); + {
ByteArrayOutputStream bos = new ByteArrayOutputStream(); StreamResult target = new StreamResult(bos); TransformerFactory transformerFactory = XmlUtils.newTransformerFactory(); @@ -610,10 +608,6 @@ public class ProcessInterfacePropertyPage extends AbstractModelElementPropertyPa { em.printStackTrace(); } - finally - { - Thread.currentThread().setContextClassLoader(cclBackup); - } } textArea.setText(result); } |

