Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » XSD editor
XSD editor [message #199758] Fri, 14 September 2007 15:43 Go to next message
Rashmy A is currently offline Rashmy AFriend
Messages: 149
Registered: July 2009
Senior Member
Hi,
Currently the XSD editor allows me to include to XSD file in the same
workspace. Is there a way to include a XSD file from a jar file in the
target platform?

Thanks
Rashmy
Re: XSD editor [message #199766 is a reply to message #199758] Fri, 14 September 2007 17:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Rashmy,

I'm not sure the extent to which EMF's URI converter is used, but I'm
pretty sure that a URL of the form
platform:/plugin/<plugin-ID>/<path-in-plugin>/<file>.xsd should work
because URLs of form that should work within Eclipse in general. EMF
also supports archive schemes, i.e.,
archive:file:/abc.jar!/a/b/file.xsd, so you can access contents within a
jar (including support for jars within jars within jars).


Rashmy wrote:
> Hi,
> Currently the XSD editor allows me to include to XSD file in the same
> workspace. Is there a way to include a XSD file from a jar file in the
> target platform?
>
> Thanks
> Rashmy
>
>
>
Re: XSD editor [message #200098 is a reply to message #199766] Thu, 20 September 2007 13:16 Go to previous message
Rashmy A is currently offline Rashmy AFriend
Messages: 149
Registered: July 2009
Senior Member
Thanks Ed. I had not checked this mail and proto-typed an alternate solution
which requires a lot of Java code. I will try using the EMF URI converter.

"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fceft8$h0q$1@build.eclipse.org...
> Rashmy,
>
> I'm not sure the extent to which EMF's URI converter is used, but I'm
> pretty sure that a URL of the form
> platform:/plugin/<plugin-ID>/<path-in-plugin>/<file>.xsd should work
> because URLs of form that should work within Eclipse in general. EMF also
> supports archive schemes, i.e., archive:file:/abc.jar!/a/b/file.xsd, so
> you can access contents within a jar (including support for jars within
> jars within jars).
>
>
> Rashmy wrote:
>> Hi,
>> Currently the XSD editor allows me to include to XSD file in the same
>> workspace. Is there a way to include a XSD file from a jar file in the
>> target platform?
>>
>> Thanks
>> Rashmy
>>
>>
Previous Topic:Missing WTP package API JavaDoc
Next Topic:can't access server
Goto Forum:
  


Current Time: Thu Apr 25 15:10:34 GMT 2024

Powered by FUDForum. Page generated in 0.02825 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top