Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » XSD editor
XSD editor [message #199758] Fri, 14 September 2007 11:43 Go to next message
Rashmy A is currently offline Rashmy A
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 13:22 Go to previous messageGo to next message
Eclipse User
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 09:16 Go to previous message
Rashmy A is currently offline Rashmy A
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: Tue Sep 02 10:10:33 EDT 2014

Powered by FUDForum. Page generated in 0.03636 seconds