Hi Stefano,

I finally had time to look into it. I think the misunderstanding was
that we (me/Stuart?) were thinking that you had errors while using the
Pax Cursor plugin, but actually you actually had th etwo plugin
projects opened in eclipse and wanted via the "Eclipse Application" to
test it directly from IDE. Right?
Actually I should be right because I could reproduce your case. And I
know also the cause: while starting the new "Eclipse" Application"
Eclipse will indeed install the two plugins but it will not include
any dependencies that the pax cursor project has  = Pax Runner. So,
that's why you get the exception, the pax runner jar is not there and
you will get a class not found. So, the solution is that Eclipse
should include the dependency inside the plugin or at least have it in
the classpath of the plugin. That's the goal but I'm not an Eclipse
guy so I do not have a solution to that.
if you are wonder why it works normally, that is because we (during
maven build) we include the pax runner jar within the pax cursor jar
so the classes are found. I will now look how I can instruct Eclipse
to include the Pax Runner jar in the built plugin. maybe I get lucky.
But maybe you know how to do that...

Alin

On Mon, Oct 20, 2008 at 11:38 AM, Stefano Kismet Lenzi
<kismet...@gmail.com> wrote:
> On Mon, Oct 20, 2008 at 10:57, Stuart McCulloch <mccu...@gmail.com> wrote:
>> 2008/10/20 Stefano Kismet Lenzi <kismet...@gmail.com>
>>>
>>> On Mon, Oct 20, 2008 at 00:35, Alin Dreghiciu <adreghi...@gmail.com>
>>> wrote:
>>> > I have no clue. indeed I did not use pax cursor for a while, so I will
>>> > give it a try.
>>> > Can you tell me if you is pax cursor working to lounch up any app, or
>>> > is always failing.
>>>
>>> It always fails. Even if I try to run it without any application but
>>> only with the framework with the target console.
>>> I have tried to debug the error but without success. The error seems
>>> to be generated by the JavaRunner inner class declared in
>>> LaunchConfiguration.
>>
>> btw, what's the error?
>
> The error reported when I try to run only the felix framework with a
> console (so without any extra bundle) is:
> ""An internal error occurred during: "Launching Example".
> org/ops4j/pax/runner/platform/JavaRunner""
>
>> and what level of JVM are you starting Eclipse with?
>
> What do you mean with "level of JVM" ?
>
>>
>> I'm using the latest Pax-Cursor (0.6.0) with Eclipse 3.4 and I haven't seen
>> this error
>> (previously I used it with Eclipse 3.3 and 3.2, but don't have them
>> installed at the mo)
>>
>> perhaps it's only an issue when you're using the development/snapshot
>> version?
>
> I'm using Eclipse 3.3 and Pax-Cursor 0.6.0 works fine. The problem is
> with the Pax-Cursor-0.7.0-SVN version. In particular, I'm trying to
> run, test, and debug the SVN version of pax-cursor. To launch the SVN
> version of pax-cursor I use the "Eclipse Application" profile from the
> run/debug application launcher. I hope this can help.
>
> Ciao,
> Stefano "Kismet" Lenzi
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Alin Dreghiciu
http://www.ops4j.org         - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org            - New Energy for Java - Domain Driven
Development.
http://malaysia.jayway.net - New Energy for Projects - Great People
working on Great Projects at Great Places

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to