[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] [m2eclipse-dev] m2eclipse extensions that modify project classpath

Have a look at ModelloProjectConfigurator [1] (#configureRawClasspath is
implemented in AbstractJavaProjectConfigurator [2]. Example project that
shows this in action is [3]. If still can't make this work, give me a
sample project and I'll have a look (I happen to have ADT installed and
configured ;-) ).


[1] https://github.com/sonatype/m2eclipse-extras/blob/master/org.maven.ide.eclipse.temporary.mojos/src/org/maven/ide/eclipse/modello/internal/ModelloProjectConfigurator.java
[2] https://github.com/sonatype/m2eclipse-extras/blob/master/org.maven.ide.eclipse.temporary.mojos/src/org/maven/ide/eclipse/mojos/internal/AbstractJavaProjectConfigurator.java
[3] https://github.com/sonatype/m2eclipse-extras/tree/master/org.maven.ide.eclipse.modello.tests/projects/modello/modello-p001/


--
Regards,
Igor

On 10-11-09 03:30 PM, Ricardo Gladwell wrote:
Hi Igor

I have re-written my project using Lifecycle Mappings[1]. However, my
configureRawClasspath method on my IJavaProjectConfigurator is still not
being called, is there anything more I need to do?

TIA...

[1]
https://code.google.com/a/eclipselabs.org/p/m2eclipse-android-integration/source/browse/trunk/com.urbanmania.eclipse.maven.android/src/main/java/com/urbanmania/eclipse/maven/android/AndroidDevelopmentToolsLifecycleMapping.java