[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] a plugin fragment for ajdt
|
Hi, Mik,
Thanks a lot!
Feilong
From: "Mik Kersten" <beatmik@xxxxxxx>
Reply-To: aspectj-users@xxxxxxxxxxx
To: <aspectj-users@xxxxxxxxxxx>
CC: <ajdt-dev@xxxxxxxxxxxxxxx>
Subject: RE: [aspectj-users] a plugin fragment for ajdt
Date: Mon, 14 Jul 2003 21:06:34 +0100
Hi Feilong,
Since the AJDT aspect creation wizard won't have an extensibility API in
the
near future I suggest that you use it as a guideline, and replace its
minimal code generation with your own. Refer to the NewAspectWizard class
in org.eclipse.ajdt.internal.ui.wizards.
You can also look to AJDT for an example of how to programmatically add a
library to a project. The AJDTUtils.addAjrtToBuildPath method in the
org.eclipse.ajdt.internal.core does just that.
Cheers,
--
http://kerstens.org/mik
> -----Original Message-----
> From: aspectj-users-admin@xxxxxxxxxxx [mailto:aspectj-users-
> admin@xxxxxxxxxxx] On Behalf Of Wes Isberg
> Sent: Thursday, July 10, 2003 9:58 PM
> To: aspectj-users@xxxxxxxxxxx
> Cc: ajdt-dev@xxxxxxxxxxxxxxx
>
> > Can this be done using ant task?
>
> No, this sounds like a nice extension for AJDT to me.
>
> (Speaking in ignorance of AJDT internals) Indeed,
> it would be nice if AJDT supported new-aspect components.
> The components could declare any classpath additions and
> handle the new-aspect customization. AJDT would load these
> from a predefined directory and handle the process of
> listing the entry and invoking the component API,
> providing a callback for updating the project classpath
> and for specifying the aspect file and whether it should
> be in the default build.
>
> That would make it possible for people to publish
> customizable library aspects, as you'd like, without
> having each one be incorporated into AJDT and without
> having a flavor of AJDT out there for each such integration.
> Very nice.
>
> Wes
>
> feilong chen wrote:
>
> > Wes,
> >
> > Yes, I am trying to automatically generate an aspect(I want to add a
new
> > menu item called "new JACK aspect") with selected pointcuts from the
> > library and with default advice which the user can customize; I also
> > want to include the .jar file containing the poingcut library
> > automatically and let the plugin guide the user to include the other
> > .jar file for compilation, at the time the aspect is generated.
> >
> > Can this be done using ant task?
> >
> > Thanks!
> >
> > Feilong
> >
> >
> >> From: Wes Isberg <wes@xxxxxxxxxxxxxx>
> >> Reply-To: aspectj-users@xxxxxxxxxxx
> >> To: aspectj-users@xxxxxxxxxxx
> >> Subject: Re: [aspectj-users] a plugin fragment for ajdt
> >> Date: Thu, 10 Jul 2003 12:52:01 -0700
> >>
> >> Hi Feilong -
> >>
> >> Is this not possible now in AJDT? Can you say why you can't do this
> >> now in AJDT?
> >>
> >> Or are you trying to automate something? If you need to automate
> >> (esp. for clients), sometimes it's easiest to write an Ant task.
> >>
> >> Wes
> >>
> >> feilong chen wrote:
> >>
> >>> Hi,
> >>>
> >>> I am developing a plugin fragment based on AspectJ Development
> >>> Tool(ajdt). Basically, I want to add to ajdt the following
> >>> feature/function:
> >>> 1) create an aspect that re-use pointcuts from a library of
> >>> pointcuts
> >>> 2) compile and execute this aspect (need to use a .jar file
> >>> containas the library and another .jar file from JACK, an
> >>> agent-oriented software.
> >>>
> >>> I have no experience on plugin development before. Any help is
> >>> appreciated. In particular, what extensions should I make?
> >>>
> >>> Thanks in advance.
> >>>
> >>> Feilong
> >>>
> >>> _________________________________________________________________
> >>> Tired of spam? Get advanced junk mail protection with MSN 8.
> >>> http://join.msn.com/?page=features/junkmail
> >>>
> >>> _______________________________________________
> >>> aspectj-users mailing list
> >>> aspectj-users@xxxxxxxxxxx
> >>> http://dev.eclipse.org/mailman/listinfo/aspectj-users
> >>>
> >>
> >> _______________________________________________
> >> aspectj-users mailing list
> >> aspectj-users@xxxxxxxxxxx
> >> http://dev.eclipse.org/mailman/listinfo/aspectj-users
> >
> >
> > _________________________________________________________________
> > Tired of spam? Get advanced junk mail protection with MSN 8.
> > http://join.msn.com/?page=features/junkmail
> >
> > _______________________________________________
> > aspectj-users mailing list
> > aspectj-users@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/aspectj-users
> >
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail