Yes, but what i meant is at the runtime (i.e. after the plugin is
deployed) i need the schema. I'm asking this because i'm not sure
whether it is ok to include the schema in the plugin project unless it
can be obtainable from someplace else while the plugin is being used by
eclipse.
Thanks
Saminda Wijeratne
keith chapman wrote:
You can use some maven magic to get the xsd into the eclipse plugin.
You could even use svn externals to get the xsd into the eclipse
plugin codebase without copying the file over.
Thanks,
Keith.
On Mon, Jun 30, 2008 at 8:42 AM, Saminda Wijeratne <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi,
I'm working on the two eclipse plugins in the axis2 code base. In
the eclipse service wizard archive plugin i need to validate the
user given services.xml file. for this i need the services.xsd to
perform a schema validation. This file is located in the project
axis2-kernal, but it is not accessible from the plugin since it is
not a part of the plugin project. and the services.xsd is not
available in the axis2 distro.
Since i need to validate the xml, using schema validation only
thing I can do is to add the xsd file as a resource to the plugin
project. If anyone else know a better way to get hold of the
services schema i'm grateful for your ideas.
I'm also wondering wouldn't it be better to have the services
schema shipped with the axis2 ditribution itself. WDYT?
Thanx in advance,
Saminda Wijeratne
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/
blog: http://www.keith-chapman.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]