2008/4/28 David Leangen <[EMAIL PROTECTED]>: > > > So, is there anyway to influence the contents of these files > > from my pom (or > > whatever)? > > > > > > yes, see the docs for the maven-eclipse-plugin (those configuration > > options can be used with the maven-pax-plugin, because it extends > > the eclipse mojo). But I doubt you'll need to use these because the > > .project/.classpath files should already be fine - most customization > > actually goes in the .settings folder which isn't touched by pax:clean > > Ok, you're right. I am no longer getting build errors when I add the > following to my pom: > > <executions> > <execution> > <id>add-ide-support</id> > <phase>package</phase> > <goals> > <goal>eclipse</goal> > </goals> > </execution> > </executions> > > > However, I am still getting lots of compiler warnings, and any changes I > make to my .classpath file are being overwritten. >
ideally you shouldn't need to change the classpath, can you list the changes you're making that aren't in the generated .classpath file? also the whole idea of generating .project / .classpath files, is that they should be working out-of-the-box and not require further changes - otherwise you'd need to commit them to svn for other developers, which kind-of defeats the point of generating them... I checked the docs for the maven-eclipse-plugin and tried to configure > the output from my pom, but non of my configs are taking effect. > which config settings - not all of them are supported because of the way the pax-plugin adds support for OSGi (some don't make sense for an OSGi project) > At least I can live with this, though it is a little bit (but only a > little) annoying that I can't fine-tune my configuration... > this is OPS4J, so feel free to suggest improvements via JIRA - or even go and improve the code directly :) Thanks for the help! > 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