Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [smila-user] Generation of JAXB classes for Agent

Hi,

> Unable to find named interface
> 'org.eclipse.smila.connectivity.framework.schema.config.interfaces.IAtt
> ribute'
> ...
> My lib/ is in at the right place so I don't have to set lib.dir
> (otherwise xcj would not run at all). Also the interface is at the right place:
> [09:43:04][giorgio@Marty:~/thesis/chansonnier]$ ls -l
> org.eclipse.smila.connectivity.framework.schema/code/src/org/eclipse/sm
> ila/connectivity/framework/schema/config/interfaces/IAttribute.java
> -rw-r--r-- 1 giorgio giorgio 3063 2009-03-23 13:47
> org.eclipse.smila.connectivity.framework.schema/code/src/org/eclipse/sm
> ila/connectivity/framework/schema/config/interfaces/IAttribute.java
> 
> but it seems that xcj cannot see it for some reason.

I think xjc doesn't need the source here, but the compiled class. 
Did you do this?

"Copy org.eclipse.smila.connectivity.framework.schema_0.5.0.jar from the plugins directory of the SMILA distribution to lib/xjc. This is necessary because crawler configurations extend a base schema and therefore need to access classes in this bundle."

from http://wiki.eclipse.org/SMILA/Development_Guidelines/Setup_for_JAXB_code_generation#Generating__JAXB_classes_for_a_new_crawler_or_agent_configuration. 

I just added the "or agent" part of the section title, maybe you missed it before?

> The build process was fine as the final Junit reports showed all the
> tests ran with 0 errors. However, when I try to set my eclipse.build
> as the target platform for development in Eclipse, it loads nearly all
> bundles but it says:
>  org.osgi.framework;version="1.3.0",
>  org.osgi.service.component,
> are missing, while they are provided by the SMILA 0.7 binary.

Hm, I'm a bit lost now myself, sorry. Maybe I (or someone else?) have some
time later to try a eclipse setup with a SMILA target platform, but I cannot
promise. The alternative for you would be to use the development environment
setup (http://wiki.eclipse.org/SMILA/Development_Guidelines/Howto_set_up_dev_environment).
This should work better, because we use it ourselves usually.

Kind Regards,
Juergen.


Back to the top