[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [Fwd: [aspectj-dev] examples for extending the ASM]]

Fyi, Andy has fixed up the build process and step (1) below can once again
be done from within Eclipse.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=76104 

Mik

> -----Original Message-----
> From: Mik Kersten [mailto:beatmik@xxxxxxxxx]
> Sent: Tuesday, October 12, 2004 9:51 AM
> To: 'Juergen Graf'
> Cc: 'aspectj-dev@xxxxxxxxxxx'
> Subject: RE: [Fwd: [aspectj-dev] examples for extending the ASM]]
> 
> What you're doing is right.  The problem is that we don't have good
> documentation on building AspectJ and AJDT.  Here is what I do to
> incorporate changed to AspectJ into an AJDT workspace:
> 
> 1) BUILD ASPECTJ
> - Open command window in "build" module directory (made easier by WinXP
> "Open Command Window Here" power toy).
> - > ..\lib\ant\bin\ant clean
> - > ..\lib\ant\bin\ant aspectjtools-dist
> 
> 2) RE-CREATE THE ajde.jar USED BY AJDT
> - Add a properties file pointing at the aspectjtools.jar that was built by
> creating a new called org.aspectj.ajde/aspectjlib.properties
> - Add the following line to the file, note that the path is dependent on
> your setup: aspectj.lib.dir=C:/Dev/aspectj-workspace/aj-
> build/dist/tools/lib
> - Right click on org.aspectj.ajde/build.xml, select "Run Ant..." and
> execute the "ajde.jar" target.
> 
> Note that you should be able to do (1) from within Eclipse, and that we
> should have this process clearly described online.  I've set up the
> following two reports that address making it easier for users to build.
> 
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=76101
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=76104
> 
> Let me know if you have any more trouble developing with AspectJ and AJDT.
> 
> Mik
> 
> > -----Original Message-----
> > From: Juergen Graf [mailto:grafj@xxxxxxxxxxxxxxxxx]
> > Sent: Tuesday, October 12, 2004 1:22 AM
> > To: beatmik@xxxxxxxxx
> > Subject: [Fwd: [aspectj-dev] examples for extending the ASM]]
> >
> > Hi,
> >
> > The test classes in org.aspectj/modules/docs/sandbox/api-clients are
> > working
> > fine for me, as long as i'm using the latest version of AspectJ from
cvs.
> > I found out that the 1.2 release of AspectJ is missing the feature
> > AjBuildManager.setAsmHierarchyBuilder():
> >
> >
> http://dev.eclipse.org/viewcvs/indextech.cgi/org.aspectj/modules/org.aspec
> >
> tj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.jav
> > a.diff?r1=text&tr1=1.54&r2=1.52%3AV1_2_0&tr2=1.52&diff_format=h
> >
> > As i'm developing a plugin that depends on AspectJ and Ajdt, i'm facing
> > the
> > problem that Ajdt has to work with the cvs version of AspectJ. I managed
> > to
> > build the .jar files as described in
> >
> http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.aspectj/modules/bu
> > ild/readme-build-and-test-aspectj.html?rev=HEAD&content-
> > type=text/html&cvsroot=Technology_Project
> > but i don't know what i have to do in order to get eclipse (and Ajdt)
> > running
> > this newly build version.
> >
> > Is this the right way or am i doing completly wrong? Please drop me a
> hint
> > or
> > tell me when the next release of AspectJ (containing the feature) is
> > planned.
> >
> > Greetings,
> > Juergen Graf
> >
> > ----- Forwarded message from Maximilian Störzer
> <stoerzer@xxxxxxxxxxxxxxxx
> > passau.de> -----
> >
> > From: Maximilian Störzer <stoerzer@xxxxxxxxxxxxxxxxxxxxxxxxx>
> > To: GRAFJ@xxxxxxxxxxxxxxxxxxxxxxxxx
> > Subject: [Fwd: [aspectj-dev] examples for extending the ASM]
> > Date: Fri, 20 Aug 2004 08:54:21 +0200
> >
> > Schau mal da rein vielleicht hilft es ja.
> >
> > Grüße
> >    Max
> >
> > --
> > Maximilian Stoerzer
> > Lehrstuhl Software Systeme - FMI - University of Passau
> > Tel: +49 851 509 3096, eMail: stoerzer@xxxxxxxxxxxxxxxxx
> >
> >
> > From: "Mik Kersten" <beatmik@xxxxxxxxx>
> > To: <aspectj-dev@xxxxxxxxxxx>
> > Subject: [aspectj-dev] examples for extending the ASM
> > Date: Thu, 19 Aug 2004 18:26:04 -0700
> > Reply-To: aspectj-dev@xxxxxxxxxxx
> >
> >
> > I've had several inquiries regarding how the ASM should be extended to
> > include additional program element nodes (e.g. all call sites) and
> > additional relations (e.g. from a type to any "declare parents" using
> it).
> > I recently committed some updates to make the both the element hierarchy
> > building and the relation mapping extensible.
> >
> > As documentation I created 3 test cases that provide and use subclasses
> of
> > AsmHierarchyBuilder and AsmRelationshipProvider.  The easiest way to use
> > them is to check out:
> >
> >   org.aspectj/modules/docs/sandbox/api-clients
> >
> > as a project.  You'll find the examples in org.aspectj.samples.  For
> > convenience they can all be run as JUnit tests that provide command line
> > output of the structure they added.
> >
> > Happy hacking,
> >
> > Mik
> >
> > P.S.  I'm on vacation until September 6th and won't be able to respond
> to
> > feedback until then.
> >
> > --
> > http://kerstens.org/mik
> >
> >
> > _______________________________________________
> > aspectj-dev mailing list
> > aspectj-dev@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/aspectj-dev
> >
> >
> >
> > ----- End forwarded message -----
> >
> > --
> > Juergen Graf <grafj@xxxxxxxxxxxxxxxxx>