XSDPrototypicalSchema and classpath [message #564703] |
Thu, 23 January 2003 21:11 |
Andy Yang Messages: 42 Registered: July 2009 |
Member |
|
|
Hi All,
I'm trying to run the sample code that came with the article "Analyze
Schemas with the XML Schema Infoset Model" by Shane Curcuru.
I've downloaded the xsd and emf distributions from eclipse.org and set
them up as external jar files from WSAD 5. I've put the following jars
in my build path:
org.eclipse.emf.common_1.0.1\runtime\common.jar
org.eclipse.emf.ecore_1.0.1\runtime\ecore.jar
org.eclipse.xsd_1.0.1\runtime\xsd.jar
but I'm getting the following compile error:
The method getString(java.lang.String) from the type
org.eclipse.emf.common.EMFPlugin is not static
on the following statement:
XSDPlugin.getString
("_UI_DiagnosticFileLineColumn_message",
new Object []
{
localizedSeverity,
xsdDiagnostic./*{@link XSDDiagnostic#getLocationURI
*/getLocationURI/*}*/(),
new Integer(xsdDiagnostic./*{@link
XSDDiagnostic#getLine */getLine/*}*/()),
new Integer(xsdDiagnostic./*{@link
XSDDiagnostic#getColumn */getColumn/*}*/())
}));
in XSDPrototypicalSchema.java
Should I be using an earlier release of emf?
Thanks,
Andy
|
|
|
Powered by
FUDForum. Page generated in 0.05456 seconds