Author: elvisisking
Date: 2010-11-01 15:46:12 -0400 (Mon, 01 Nov 2010)
New Revision: 26170
Modified:
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java
Log:
JBIDE-7463 Unable to publish Teiid Example Project to ModeShape repository
(IllegalArgumentException). The IAE exception had to do with mimetype loading and was
fixed in MODE-989. There was also an i18n problem: key
"serverManagerGetWorkspacesExceptionMsg" requires an argument. I've fixed
that in PublishPage.
Modified:
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java
===================================================================
---
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java 2010-11-01
16:52:54 UTC (rev 26169)
+++
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java 2010-11-01
19:46:12 UTC (rev 26170)
@@ -833,7 +833,7 @@
this.workspaces = new
ArrayList<Workspace>(getServerManager().getWorkspaces(this.repository));
} catch (Exception e) {
this.workspaces = Collections.emptyList();
- String msg =
RestClientI18n.serverManagerGetWorkspacesExceptionMsg.text();
+ String msg =
RestClientI18n.serverManagerGetWorkspacesExceptionMsg.text(this.repository);
Activator.getDefault().log(new Status(Severity.ERROR, msg, e));
if (getControl().isVisible()) {