Hi Holger,
Turned out to be that I didn't have my the "singleton:=true" directive in my
Bundle-SymbolicName.
Things seem to be good now.
:)
Thanks
Gerrick

On Wed, May 26, 2010 at 8:12 PM, Holger Knublauch <[email protected]>wrote:

> Gerrick,
>
> before I forget it, I have added the dependency to org.topbraid.lib.spin to
> the documentation for 3.4.
>
> The error you mention below could have many reasons, and it is hard to
> diagnose this remotely as there are so many steps that need to be followed
> exactly. For example, make sure you run a new Eclipse instance from within
> Eclipse, i.e. the SM Java class will not be known to the Eclipse instance
> that you are developing the Java code in. Another source of error is in the
> plugin.xml and you would need to copy us the plugin.xml that you have.
> Finally, with such long names it is easy to get typos in somewhere.
>
> Regards
> Holger
>
>
> On May 26, 2010, at 11:30 AM, Gerrick Bivins wrote:
>
> Also, along those same lines,we were trying to build/run the sample and
> we're getting this stack:
>
> [TopBraid Error] org.topbraid.eclipsex: TBLException. Message: Could not
> run SPARQLmotion script. Reason: Cannot find module type for
> http://www.objectreservoir.com/owl/testplugin#HelloWorldModule_1 (instance
> of
> http://sparqlmotion.example.org/ontologies/hello_worldLibrary#HelloWorldModule)
> (Could not run SPARQLmotion script. Reason: Cannot find module type for
> http://www.objectreservoir.com/owl/testplugin#HelloWorldModule_1 (instance
> of
> http://sparqlmotion.example.org/ontologies/hello_worldLibrary#HelloWorldModule
> ))
> org.topbraidlive.sparqlmotion.SPARQLMotionException: Could not run
> SPARQLmotion script. Reason: Cannot find module type for
> http://www.objectreservoir.com/owl/testplugin#HelloWorldModule_1 (instance
> of
> http://sparqlmotion.example.org/ontologies/hello_worldLibrary#HelloWorldModule
> )
>         at
> org.topbraidlive.sparqlmotion.handlers.sparqlmotion.SPARQLMotionHandler.serializeResponse(SPARQLMotionHandler.java:323)
>         at
> org.topbraidlive.server.servlet.AbstractRequestDelegate.handleRequest(AbstractRequestDelegate.java:42)
>         at
> org.topbraidlive.server.servlet.AbstractRequestDelegate.runActionHandler(AbstractRequestDelegate.java:91)
>         at
> org.topbraidlive.server.servlet.RequestWorker.call(RequestWorker.java:57)
>         at
> org.topbraidlive.server.servlet.RequestWorker.call(RequestWorker.java:1)
>         at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.IllegalArgumentException: Cannot find module type for
> http://www.objectreservoir.com/owl/testplugin#HelloWorldModule_1 (instance
> of
> http://sparqlmotion.example.org/ontologies/hello_worldLibrary#HelloWorldModule
> )
>         at
> org.topbraid.sparqlmotion.modules.ModuleFactory.create(ModuleFactory.java:52)
>         at
> org.topbraid.sparqlmotion.scripts.ScriptFactory.createModule(ScriptFactory.java:60)
>         at
> org.topbraid.sparqlmotion.scripts.ScriptFactory.createModule(ScriptFactory.java:56)
>         at
> org.topbraid.sparqlmotion.scripts.ScriptFactory.createScript(ScriptFactory.java:117)
>         at
> org.topbraid.sparqlmotion.scripts.ScriptFactory.createScript(ScriptFactory.java:101)
>         at
> org.topbraidlive.sparqlmotion.handlers.sparqlmotion.SPARQLMotionHandler.serializeResponse(SPARQLMotionHandler.java:192)
>         ... 9 more
>
> Any clues as to what is wrong here? The error makes me think  the
> moduleType section of our plugin.xml is incorrect but it looks correct.
> The only other thing I could think of is that TBC couldn't find the osgi
> bundle on the classpath.
> Thanks again,
> Gerrick
>
> On Tue, May 25, 2010 at 8:18 PM, Gerrick Bivins <[email protected]>wrote:
>
>> In the step for creating the class (see attached).
>> The lib.spin isn't listed as a dependency in the docs.
>> Thanks for the quick response. I'll give this a try.
>> Gerrick
>>
>>
>>
>> On Tue, May 25, 2010 at 7:54 PM, Holger Knublauch <[email protected]
>> > wrote:
>>
>>> Please try adding an additional dependency (required plugins):
>>>
>>> org.topbraid.lib.spin
>>>
>>> We will double-check the documentation, but where exactly does the
>>> compile error occur?
>>>
>>> Thanks,
>>> Holger
>>>
>>>
>>> On May 26, 2010, at 10:36 AM, Gerrick Bivins wrote:
>>>
>>> I'm trying to build the SM plugin from the docs  but there is a compile
>>> error:
>>>  Cannot find the class file for org.topbraid.spin.model.Argument. Fix the
>>> build path then try building this project
>>>
>>> Any suggestions? I'm using the help docs that come with 3.3.1.
>>> Thanks in advanced,
>>> Gerrick
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Group "TopBraid Suite Users", the topics of which include TopBraid
>>> Composer,
>>> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
>>> To post to this group, send email to
>>> [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/topbraid-users?hl=en
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Group "TopBraid Suite Users", the topics of which include TopBraid
>>> Composer,
>>> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
>>> To post to this group, send email to
>>> [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]<topbraid-users%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/topbraid-users?hl=en
>>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include TopBraid
> Composer,
> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/topbraid-users?hl=en
>
>
>  --
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include TopBraid
> Composer,
> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]<topbraid-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/topbraid-users?hl=en
>

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to