XSDPrototypicalSchema and classpath [message #9474] |
Thu, 23 January 2003 16:11  |
Eclipse User |
|
|
|
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
|
|
|
Re: XSDPrototypicalSchema and classpath [message #9619 is a reply to message #9474] |
Fri, 24 January 2003 07:30   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
--------------0D4238572DE60F0835D31306
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Andy,
There have been some changes in EMF. If you look in the latest version of
XSDPrototypicalSchema you'll see that it's now expressed as:
XSDPlugin.INSTANCE.getString...
Andy Yang wrote:
> 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
--
Ed Merks
--------------0D4238572DE60F0835D31306
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Andy,
<p>There have been some changes in EMF. If you look in the latest
version of XSDPrototypicalSchema you'll see that it's now expressed as:
<blockquote>XSDPlugin<b>.INSTANCE.</b>getString...</blockquote >
<p><br>Andy Yang wrote:
<blockquote TYPE=CITE>Hi All,
<p>I'm trying to run the sample code that came with the article "Analyze
<br>Schemas with the XML Schema Infoset Model" by Shane Curcuru.
<p>I've downloaded the xsd and emf distributions from eclipse.org and set
<br>them up as external jar files from WSAD 5. I've put the following jars
<br>in my build path:
<p>org.eclipse.emf.common_1.0.1\runtime\common.jar
<br>org.eclipse.emf.ecore_1.0.1\runtime\ecore.jar
<br>org.eclipse.xsd_1.0.1\runtime\xsd.jar
<p>but I'm getting the following compile error:
<p>The method getString(java.lang.String) from the type
<br>org.eclipse.emf.common.EMFPlugin is not static
<p>on the following statement:
<p>XSDPlugin.getString
<br>
("_UI_DiagnosticFileLineColumn_message",
<br>
new Object []
<br>
{
<br>
localizedSeverity,
<br>
xsdDiagnostic./*{@link XSDDiagnostic#getLocationURI
<br>*/getLocationURI/*}*/(),
<br>
new Integer(xsdDiagnostic./*{@link
<br>XSDDiagnostic#getLine */getLine/*}*/()),
<br>
new Integer(xsdDiagnostic./*{@link
<br>XSDDiagnostic#getColumn */getColumn/*}*/())
<br>
}));
<p>in XSDPrototypicalSchema.java
<p>Should I be using an earlier release of emf?
<p>Thanks,
<br>Andy</blockquote>
<p>--
<br>Ed Merks
<br> </html>
--------------0D4238572DE60F0835D31306--
|
|
|
Re: XSDPrototypicalSchema and classpath [message #9705 is a reply to message #9619] |
Mon, 03 February 2003 16:03  |
Eclipse User |
|
|
|
Thanks, that cleared things up.
Andy
Ed Merks wrote:
> Andy,
>
> There have been some changes in EMF. If you look in the latest version
> of XSDPrototypicalSchema you'll see that it's now expressed as:
>
> XSDPlugin*.INSTANCE.*getString...
>
>
> Andy Yang wrote:
>
>> 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
>>
> --
> Ed Merks
>
>
|
|
|
Re: XSDPrototypicalSchema and classpath [message #564934 is a reply to message #9474] |
Fri, 24 January 2003 07:30  |
Eclipse User |
|
|
|
--------------0D4238572DE60F0835D31306
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Andy,
There have been some changes in EMF. If you look in the latest version of
XSDPrototypicalSchema you'll see that it's now expressed as:
XSDPlugin.INSTANCE.getString...
Andy Yang wrote:
> 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
--
Ed Merks
--------------0D4238572DE60F0835D31306
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Andy,
<p>There have been some changes in EMF. If you look in the latest
version of XSDPrototypicalSchema you'll see that it's now expressed as:
<blockquote>XSDPlugin<b>.INSTANCE.</b>getString...</blockquote >
<p><br>Andy Yang wrote:
<blockquote TYPE=CITE>Hi All,
<p>I'm trying to run the sample code that came with the article "Analyze
<br>Schemas with the XML Schema Infoset Model" by Shane Curcuru.
<p>I've downloaded the xsd and emf distributions from eclipse.org and set
<br>them up as external jar files from WSAD 5. I've put the following jars
<br>in my build path:
<p>org.eclipse.emf.common_1.0.1\runtime\common.jar
<br>org.eclipse.emf.ecore_1.0.1\runtime\ecore.jar
<br>org.eclipse.xsd_1.0.1\runtime\xsd.jar
<p>but I'm getting the following compile error:
<p>The method getString(java.lang.String) from the type
<br>org.eclipse.emf.common.EMFPlugin is not static
<p>on the following statement:
<p>XSDPlugin.getString
<br>
("_UI_DiagnosticFileLineColumn_message",
<br>
new Object []
<br>
{
<br>
localizedSeverity,
<br>
xsdDiagnostic./*{@link XSDDiagnostic#getLocationURI
<br>*/getLocationURI/*}*/(),
<br>
new Integer(xsdDiagnostic./*{@link
<br>XSDDiagnostic#getLine */getLine/*}*/()),
<br>
new Integer(xsdDiagnostic./*{@link
<br>XSDDiagnostic#getColumn */getColumn/*}*/())
<br>
}));
<p>in XSDPrototypicalSchema.java
<p>Should I be using an earlier release of emf?
<p>Thanks,
<br>Andy</blockquote>
<p>--
<br>Ed Merks
<br> </html>
--------------0D4238572DE60F0835D31306--
|
|
|
Re: XSDPrototypicalSchema and classpath [message #565032 is a reply to message #9619] |
Mon, 03 February 2003 16:03  |
Eclipse User |
|
|
|
Thanks, that cleared things up.
Andy
Ed Merks wrote:
> Andy,
>
> There have been some changes in EMF. If you look in the latest version
> of XSDPrototypicalSchema you'll see that it's now expressed as:
>
> XSDPlugin*.INSTANCE.*getString...
>
>
> Andy Yang wrote:
>
>> 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
>>
> --
> Ed Merks
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02957 seconds