| XSD editor [message #199758] |
Fri, 14 September 2007 11:43  |
Rashmy A Messages: 147 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   |
|
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  |
Rashmy A Messages: 147 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
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.01582 seconds