Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Pls. read AspectJ documentation


Hi Raoul,

AJDT's documentation is installed with the plug-in.  In the Eclipse workbench click 'Help' > 'Help Contents' and then select 'AspectJ Development User Guide' from the left-hand side to see the contents, or use the search box to search for what you're looking for.  Load-time weaving help is included.  We have discussed making the help available on-line - please raise an enhancement request if it's something you would like to see.

Thanks,

Sian





"Wes Isberg" <wes@xxxxxxxxxxxxxx>
Sent by: aspectj-users-bounces@xxxxxxxxxxx

22/11/2005 08:38

Please respond to
Wes Isberg and aspectj-users

To
aspectj-users@xxxxxxxxxxx
cc
Subject
Re: [aspectj-users] Pls. read AspectJ documentation





Hi,

> what information to put in "Run/Run.../AspectJ Load-Time Weaving
> Application" to run such a project.

This is good question for adjt-dev@xxxxxxxxxxx.  That functionality
is brand new.  You can expect that documentation lags new features,
so it's easy to read (little or nothing) - but not too helpful.

> Can you give me any link to some exemple with LTW within jar files,

There are old and new ways to do LTW.

The new (unreleased) AspectJ 5 way is documented in

 http://www.eclipse.org/aspectj/doc/next/devguide/ltw.html

(again, caveat for new or unreleased features)

One old way is using aj.bat. See

 aspectj-1.2/bin/aj.bat

and

 aspectj-1.2/doc/examples/build.xml target "tracing-lt"
 http://www.eclipse.org/aspectj/doc/released/examples/build.xml

Another, used by aj.bat, is to use

 org.aspectj.weaver.tools.WeavingURLClassLoader.

Finally, to weave jars at build-time, use ajc, e.g.,

 ajc -inpath jarToWeave.jar ...

See
 
 http://www.eclipse.org/aspectj/doc/released/devguide/ajc-ref.html

Wes

> ------------Original Message------------
> From: Raoul Pierre <pierre-m.raoul@xxxxxxxxxx>
> To: "Wes Isberg" <wes@xxxxxxxxxxxxxx>, aspectj-users@xxxxxxxxxxx
> Date: Mon, Nov-21-2005 5:28 PM
> Subject: Re: [aspectj-users] Pls. read AspectJ documentation
>
> Wes,
>
> Can you give me any link to some exemple with LTW within jar files, and
>
> what information to put in "Run/Run.../AspectJ Load-Time Weaving
> Application" to run such a project.
>
> Regards
>
> Pierre Raoul
>
> >Hi all -
> >
> >(Please permit me to lecture a bit.)
> >
> >This is just a reminder to please read the AspectJ docs, to save
> yourself
> >time and confusion with AspectJ, if you haven't already.
> >
> >Many emails to the list could be solved with a cursory search of the
> docs,
> >and more would be solved with a careful reading.  More important than
> >email/support traffic, it's pointless for people to struggle
> unnecessarily
> >to figure out why the code "isn't working" when the docs can clear
> things up.  
> >A programming language is not like a user interface, where playing
> with it
> >is enough to become productive.
> >
> >At a minimum, everyone should carefully read the semantics appendix
> >to the AspectJ Programming Guide and all entries in the FAQ:
> >
> >  http://www.eclipse.org/aspectj/doc/released/progguide/semantics.html
> >  http://www.eclipse.org/aspectj/doc/next/faq.html
> >
> >For documentation for the next release (currently AspectJ 5), see
> >
> >  http://www.eclipse.org/aspectj/doc/next
> >
> >To search the docs easily, use Google or your favorite search engine,
> >scoped to the doc site:
> >
> >e.g., to search for "infinite" anywhere in the released docs,
> >
> >  infinite site:http://www.eclipse.org/aspectj/doc/released
> >
> >i.e.,
> >http://www.google.com/search?q=infinite+site%3Ahttp%3A%2F%2Fwww.eclipse.org%2Faspectj%2Fdoc%2Freleased
> >
> >If you have questions not answered by the docs (or you can't find
> >where it is answered), please email the list or submit a doc bug.
> >It's likely someone else has the same problem, and we can solve it
> >in the documentation.
> >
> >Some useful link farms to bookmark:
> >
> >  http://www.eclipse.org/aspectj/docs.php
> >  http://www.eclipse.org/aspectj/doc/released
> >  http://www.eclipse.org/aspectj/doc/next
> >
> >Thanks for listening, and happy coding -
> >
> >Wes
> >
> >_______________________________________________
> >aspectj-users mailing list
> >aspectj-users@xxxxxxxxxxx
> >https://dev.eclipse.org/mailman/listinfo/aspectj-users
> >
> >
> >
> >  
> >
>
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top