geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun" <>
Subject RE: How to use discouragedRuntimeAccess extension point
Date Wed, 01 Mar 2006 03:39:09 GMT
Quick question on a related topic. is there a reason that we don't have the
geronimo10.serverdef file standalone but bundled it inside of the
org.apache.geronimo.devtools.eclipse.core jar file?  I noticed I got a
standalone serverdef file for pretty much every server runtime I can define
within my eclipse:


Directory of



02/17/2006  04:33 PM             4,278 jboss.serverdef

02/17/2006  04:33 PM             5,228 jboss323.serverdef

02/17/2006  04:33 PM             5,120 jonas.serverdef

02/17/2006  04:33 PM             5,212 oracle.10.1.3.serverdef

02/17/2006  04:33 PM             4,144 weblogic81.serverdef

02/17/2006  04:33 PM             4,182 weblogic90.serverdef





-----Original Message-----
From: Sachin Patel [] 
Sent: Tuesday, February 28, 2006 5:35 PM
Subject: Re: How to use discouragedRuntimeAccess extension point


I think its best if you first need to get an understanding of the eclipse
plugin architecture.  Please read this article...
ture.html.  This particular article may be outdated since the move to OSGI
but the concepts are the same.


Extension points are defined and loaded inside a plugin.xml.  The .serverdef
file is a WTP specific file for defining generic servers.  Its loaded via an
EMF model and thus by adding your entry there invalidates your file and
thats why you're seeing the exception.


- sachin



On Feb 28, 2006, at 5:22 PM, Ted Kirby wrote:

I want to use this new support.


I put


point="org.apache.geronimo.devtools.eclipse.core.discouragedRuntimeAccess" >


<path value="/lib" /> 


.core\serverdef\geronimo10.serverdef, but it did not work.  From the eclipse
log, I got:

Wrapped exception
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'extension' not
found. (bundleentry://341/serverdef/geronimo10.serverdef, 102, 91)

Where should I put the <extension> element?


View raw message