Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] ajc - how to compile only .aj files but avoid weaving (for load time weaving)

I tried both ways:
- to start with, I had all my .java and .aj files at one
particular folder, which I provided in -sourceroots option
and I didn't specify -inpath option, it didn't work

- then I first did 'javac' and compiled all my java files,
put all generated class files into a jar and specified
that jar in -inpath option, still it didn't work

Both the times it generated woven class files for
java files.

- Jayesh


Eric Bodden-2 wrote:
> 
> I think you can just keep your -inpath empty.
> 
> Eric
> 
> On 09/08/07, Jayesh Vora <jayeshjvora@xxxxxxxxx> wrote:
>>
>> Hi,
>>
>> I want to use Load Time Weaving and thus want
>> ajc to compile only .aj files containing my advices,
>> but do not generate woven class files for the
>> Java files.
>>
>> I tried going thru' all command line options of ajc
>> but couldn't find any.
>>
>> Please help.
>>
>> Thanks,
>> Jayesh
>> --
>> View this message in context:
>> http://www.nabble.com/ajc---how-to-compile-only-.aj-files-but-avoid-weaving-%28for-load-time-weaving%29-tf4242454.html#a12071901
>> Sent from the AspectJ - users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> aspectj-users mailing list
>> aspectj-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>>
> 
> 
> -- 
> Eric Bodden
> Sable Research Group
> McGill University, Montréal, Canada
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> 
> 

-- 
View this message in context: http://www.nabble.com/ajc---how-to-compile-only-.aj-files-but-avoid-weaving-%28for-load-time-weaving%29-tf4242454.html#a12072723
Sent from the AspectJ - users mailing list archive at Nabble.com.



Back to the top