2008/5/16 David Leangen <[EMAIL PROTECTED]>: > > > There is no "requiredPlugins" entry. Could this be the > > > problem? > > 2008/5/15 Stuart McCulloch <[EMAIL PROTECTED]>: > > hmm - if you're using the pax:eclipse goal then there should > > be a "requiredPlugins" entry, as it's explicitly added by the > > Maven code that we extend. If this entry is missing it > > sounds like you might have run the standard > > eclipse:eclipse goal without enabling PDE mode. > > Well, sorry to say, but there is no "requiredPlugins" entry. Just to be > sure, I again ran "mvn pax:clean pax:eclipse", still no entry. >
as mentioned in the very last email I sent, the only way the "requiredPlugins" section will be missing is if you explicitly set <classpathContainers>, in which case you need to add: <classpathContainer>org.eclipse.pde.core.requiredPlugins</classpathContainer> to your list of containers in the pom, as the maven-eclipse-plugin (and therefore the maven-pax-plugin) won't add this back in even though it's a PDE project which needs this to support refactoring. this explains why I've not seen this before, because I don't explicitly set the classpath containers in my pom.xml (I just use the defaults) we can add code to the plugin to add this entry back in if it's missing to avoid people tripping over this in the future - as I said in that email, just open a feature request on JIRA (it's not strictly a bug because the plugin is following the explicit instruction of what classpath containers to add, and the instruction happens to be missing "requiredPlugins") Also, can you tell me of any doc that explains JDT, PDE, and OSGi? I didn't > know I could work without PDE. :-) > Peter Kriens' Bnd tool can be used as an Eclipse plugin to develop bundles as JDT projects, although you will lose some of the implicit integration with PDE - but some people are ok with that... YMMV http://aqute.biz/Code/Bnd#eclipse > As I mentioned before, I just want to be able to run in the console for > debugging, and to be able to properly refactor my code. Those are my only > two requirements. (Or at least the only two that pop into mind right now. I > may want to use RCP at some point.) > well you can re-enable refactoring very quickly by just adding: <classpathContainer>org.eclipse.pde.core.requiredPlugins</classpathContainer> to wherever you set the container list in your pom(s) - this will probably also resolve a lot of other issues, as this container is a vital part of PDE Cheers, > David > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > -- Cheers, Stuart
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general