Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Adaptor Hook Weirdness when launching from IDE
Adaptor Hook Weirdness when launching from IDE [message #118931] Fri, 03 October 2008 20:55 Go to next message
Eclipse UserFriend
Originally posted by: evolanakis.innoopract.com

Just wondering: Was anybody able to get an adaptor hook fragment to run
from inside the IDE, using separate src and bin folders (the standard
project layout) ?

I've been experimenting with Adaptor Hooks as described here:
http://wiki.eclipse.org/index.php/Adaptor_Hooks

and noticed that the adaptor hook is not found unless the
hookconfigurators.properties file and the build output are both in the
project root.

I.e. my project layout looks like this

/myadaptor/
/myadaptor/hookconfigurators.properties
/myadaptor/myadaptor/MyAdaptorAndConfig.class
/myadaptor/myadaptor/MyAdaptorAndConfig.java
/org.eclipse.osgi/
/rcp.helloworld/


Curious to hear your experience,
Elias.


---
Elias Volanakis
Innoopract, Inc.
http://www.innoopract.com
Re: Adaptor Hook Weirdness when launching from IDE [message #118945 is a reply to message #118931] Fri, 03 October 2008 22:06 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Bizarre. This works fine for me.
When running in dev /bin should automagically added to your class path

"Elias Volanakis" <evolanakis@innoopract.com> wrote in message
news:gc60sk$657$1@build.eclipse.org...
> Just wondering: Was anybody able to get an adaptor hook fragment to run
> from inside the IDE, using separate src and bin folders (the standard
> project layout) ?
>
> I've been experimenting with Adaptor Hooks as described here:
> http://wiki.eclipse.org/index.php/Adaptor_Hooks
>
> and noticed that the adaptor hook is not found unless the
> hookconfigurators.properties file and the build output are both in the
> project root.
>
> I.e. my project layout looks like this
>
> /myadaptor/
> /myadaptor/hookconfigurators.properties
> /myadaptor/myadaptor/MyAdaptorAndConfig.class
> /myadaptor/myadaptor/MyAdaptorAndConfig.java
> /org.eclipse.osgi/
> /rcp.helloworld/
>
>
> Curious to hear your experience,
> Elias.
>
>
> ---
> Elias Volanakis
> Innoopract, Inc.
> http://www.innoopract.com
Previous Topic:Re: how to get a bundle's root file path?
Next Topic:P2 pooling and Linux
Goto Forum:
  


Current Time: Thu Apr 25 00:30:07 GMT 2024

Powered by FUDForum. Page generated in 0.02843 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top