[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
|
- From: Ricardo Gladwell <ricardo.gladwell@xxxxxxxxx>
- Date: Tue, 09 Nov 2010 20:30:53 +0000
- Delivered-to: m2e-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=4onVJxVfCWffvil462DBEIYJDyw1D++qoGUEBKI2lyQ=; b=b2wsoSk7df9O/C+cLz5MtgxsNio1zvakWWK0iMqeUUh2aE+VUe/sv8hUT+F1dsJvtf SyKlOC8JnYQez5xursmgZSXVEM+Xvpnw7us2I3Uz5GvQ3Gt8dJ9ciK1T3eTnVVflIgar dANKIPWuE5X/nzwakG8ylGeach8N+EySi1UIw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=aTI728DmYw/lTZsNWaFgyNitnM/an9F7ME2r1V/2yvuokJQ3AYqr3xGzGwbogRpegL KthvGB4B6SILCrFO9ql8GYCNS1oLoV7QG3el5SmP0J65Drs3+EIfHSgSbKnOL1teJ3EM R0j8dUbM1Jz4nUkOTJxiRUgFuJ5EP0Dor7U24=
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
--
Ricardo Gladwell <ricardo.gladwell@xxxxxxxxx>
http://www.google.com/profiles/ricardo.gladwell
Twitter: @axonrg - MSN: axonrg@xxxxxxxxx
On Tue, 2010-11-09 at 07:14 -0500, Igor Fedorenko wrote:
> You probably want to use custom lifecycle mapping (example [1]). We are
> planning to clarify APIs and behaviour around project configuration for
> the next release, but custom mapping should work for now.
>
>
> [1] https://docs.sonatype.org/pages/viewpage.action?pageId=2949459
>
> --
> Regards,
> Igor
>
> On 10-11-09 05:33 AM, Ricardo Gladwell wrote:
> > Hi Igor
> >
> > I modified my AbstractProjectConfigurator concrete implementation to
> > implement the IJavaProjectConfigurator interface. However, the
> > configureRawClasspath interface method does not seem to be called when
> > I run Maven -> Configure Project.
> >
> > Is there something else I need to do to use this?
> >
> > TIA...
> >
> > --
> > Ricardo Gladwell<ricardo.gladwell@xxxxxxxxx>
> > http://www.google.com/profiles/ricardo.gladwell
> > Twitter: @axonrg - MSN: axonrg@xxxxxxxxx
> >
> >
> >
> > On 8 November 2010 15:58, Igor Fedorenko<igor@xxxxxxxxxxxxxx> wrote:
> >> Have a look at org.eclipse.m2e.jdt.IJavaProjectConfigurator
> >>
> >> --
> >> Regards,
> >> Igor
> >>
> >> PS: please use m2e-dev@xxxxxxxxxxx for future m2e-dev questions/discussions
> >>
> >> On 10-11-08 10:24 AM, Ricardo Gladwell wrote:
> >>>
> >>> Hi Guys
> >>>
> >>> I'm writing an extension to the AbstractProjectConfigurator. I've
> >>> modified this plugin to make some changes to the way that the m2eclipse
> >>> normally configures the classpath of some projects. I've made these
> >>> changes in the overridden AbstractProjectConfigurator.configure method.
> >>>
> >>> But, for some reason these classpath changes aren't taking. Is there
> >>> some other place I should be configuring classpath changes? Is it
> >>> because my ProjectConfigurator runs before the general m2eclipse one?
> >>>
> >>> Any help would be gratefully received, TIA...
> >>>
> >>> --
> >>> Ricardo Gladwell<ricardo.gladwell@xxxxxxxxx>
> >>> http://www.google.com/profiles/ricardo.gladwell
> >>> Twitter: @axonrg - MSN: axonrg@xxxxxxxxx
> >>
> > _______________________________________________
> > m2e-dev mailing list
> > m2e-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/m2e-dev
> _______________________________________________
> m2e-dev mailing list
> m2e-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-dev