Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331667

Summary: xjc-plugins/interfaces is not reachable
Product: z_Archived Reporter: Christoph.Krell
Component: SmilaAssignee: Andreas Weber <Andreas.Weber>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Christoph.Krell CLA 2010-12-02 09:05:07 EST
I want to import my own crawler into SMILA with help of this tutorial: http://wiki.eclipse.org/SMILA/Development_Guidelines/How_to_implement_a_crawler
The problem is the extern schema-definition http://xml.w-wins.com/xjc-plugins/interfaces from org.eclipse.smila.connectivity.framework.schema/schemas/RootDataSourceConnectionConfigSchema.xsd is not reachable. But without this I can't compile my xjc-document. I tested to compile the existing filecrawler from smila but the same error exists. 

parsing a schema...
[ERROR] Unsupported binding namespace "http://xml.w-wins.com/xjc-plugins/interfaces". Perhaps you meant "http://java.sun.com/xml/ns/jaxb/xjc"?
  line 15 of file:/data/c.krell/workspace/org.eclipse.smila.connectivity.framework.schema/schemas/RootDataSourceConnectionConfigSchema.xsd

[ERROR] JAXB version attribute must be present
  line 15 of file:/data/c.krell/workspace/org.eclipse.smila.connectivity.framework.schema/schemas/RootDataSourceConnectionConfigSchema.xsd

Failed to parse a schema.

I have searched for it in different forums but never find a solution.
Comment 1 Juergen Schumacher CLA 2010-12-17 08:46:07 EST
On http://wiki.eclipse.org/SMILA/Development_Guidelines/Setup_for_JAXB_code_generation there is a description for an alternative setup of JAXB generation, look for the blue box titled "Setup alternative with JDK 1.6". Did you try this?
Comment 2 Christoph.Krell CLA 2011-01-03 04:33:29 EST
Yes, I did it and the same problem occures. 
In my opinion the problem is in the file "RootDataSourceConnectionConfigSchema.xsd" in directory /org.eclipse.smila.connectivity.framework.schema/schemas.
There jaxb is telling me that xmlns:ext="http://xml.w-wins.com/xjc-plugins/interfaces" is pointing to a not existing namespace. Moreover the domain xml.w-wins does not exists anymore.
Comment 3 Andreas Weber CLA 2012-10-17 06:32:09 EDT
Connectivity framework has been completely replaced by new Importing framwork. New crawler implementations do not need JAXB generated stuff anymore (see http://wiki.eclipse.org/SMILA/Documentation/HowTo/How_to_add_a_new_Data_Source_to_the_importing_framework). 
So I close this issue.