[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] iajc : weaving aspects into a war ?
|
______________________________________________________________________________________________
SmalS-MvM sluit elke aansprakelijkheid uit in verband met de juistheid, de
volledigheid of het tijdig toekomen van de informatie in deze e-mail. Aan
deze e-mail kunnen geen rechten worden ontleend en deze e-mail houdt in
geen geval een erkenning van welkdanige aansprakelijkheid in.
Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht
niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden
en het bericht te vernietigen.
SmalS-MvM décline toute responsabilité quant à l'exactitude, à
l'exhaustivité et au délai de transmission des informations contenues dans
cet e-mail. Aucun droit ne peut être revendiqué sur cet e-mail et cet
e-mail n'implique en aucun cas une reconnaissance de responsabilité, quelle
qu'elle soit.
Ce message s'adresse uniquement au destinataire. Si ce message ne vous est
pas destiné, nous vous prions de nous le signaler immédiatement et de
détruire le message.
Wes
<wes@california.c
om> To
Sent by: aspectj-users@xxxxxxxxxxx
aspectj-users-bou cc
nces@xxxxxxxxxxx
Subject
Re: [aspectj-users] iajc : weaving
18/07/2006 22:04 aspects into a war ?
Please respond to
wes@xxxxxxxxxxxxx
m; Please respond
to
aspectj-users@ecl
ipse.org
A war isn't like a jar of course - for one : you don't find the classes in
the same place
So renaming .war to .jar, predictably, failed
the unpack/repack approach works
I'll make an example ant build.xml (without references to our company
stuff, etc....) and post it
But I guess most people wouldn't have much trouble making such a build file
Danny
Good question!
If the .war can be treated just like an input/output .jar file, then submit
a bug
to accept .war on the inpath (and as a suffix for the output jar, if it
isn't
already accepted). As a workaround for now, rename to/from .jar before and
after weaving. If the .war has to be unpacked (e.g., to pull the classes
into the
right place), then you'll need to write a script or task to unpack before
and repack
after. Then it would be a nice contribution if you published that back to
this
mailing list, and we can keep it with our samples, if not include it with
the
examples we distribute.
Thanks,
Wes
> ------------Original Message------------
> From: danny.foncke@xxxxxxxxxxxx
> To: aspectj-users@xxxxxxxxxxx
> Date: Tue, Jul-18-2006 6:14 AM
> Subject: [aspectj-users] iajc : weaving aspects into a war ?
>
>
> hi,
>
> Can I weave into an already made war file ?
>
> when I use the iajc -inpath option I get a 'bad component' error
> Does this mean .war is not accepted ?
>
> How do I weave into a war file if the inpath option is not possible ?
>
> thanks in advance
>
> Danny
>
>
______________________________________________________________________________________________
>
> SmalS-MvM sluit elke aansprakelijkheid uit in verband met de juistheid,
> de
> volledigheid of het tijdig toekomen van de informatie in deze e-mail.
> Aan
> deze e-mail kunnen geen rechten worden ontleend en deze e-mail houdt in
> geen geval een erkenning van welkdanige aansprakelijkheid in.
> Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht
> niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te
> melden
> en het bericht te vernietigen.
>
> SmalS-MvM décline toute responsabilité quant à l'exactitude, à
> l'exhaustivité et au délai de transmission des informations contenues
> dans
> cet e-mail. Aucun droit ne peut être revendiqué sur cet e-mail et cet
> e-mail n'implique en aucun cas une reconnaissance de responsabilité,
> quelle
> qu'elle soit.
> Ce message s'adresse uniquement au destinataire. Si ce message ne vous
> est
> pas destiné, nous vous prions de nous le signaler immédiatement et de
> détruire le message.
>
> _______________________________________________
> 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