Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] Question about the AJDT weaver

Hi Andrew,

Thank you for the prompt response. I suppose my question is as follows. Is it possible to trigger a build without saving all files? That question may be more general to Eclipse, but I find it curious that the JDT parses Java files even if they are not saved, but the AJDT does not weave files if all changes are not saved. Thanks again!

Raffi

On Apr 19, 2010, at 5:28 PM, Andrew Eisenberg wrote:

> I'm not exactly sure what you are asking.  Yes, the weaver only runs
> when a build is triggered.  This typically happens when files are
> saved.
> 
> Are you asking about how files that have join points targeted by the
> aspects change when an aspect changes?  This logic is coded into the
> state stored by AspectJ, which knows about aspect dependencies.  In
> most cases, a change and subsequent compile of an aspect will also
> trigger a compile of these dependent files.
> 
> Not sure if this answers your question...
> 
> On Mon, Apr 19, 2010 at 1:33 PM, Raffi Khatchadourian
> <khatchad@xxxxxxxxxxxxxxxxxx> wrote:
>> Hello. I am using Eclipse Build id: 20100218-1602 and AJDT version 2.0.2.e35x-20100105-0900. I have noticed that the weaver only performs the weaving process when a particular file is saved, as opposed to when it is changed. Is this correct and, if so, how do I get the AJDT weaver to weave aspects into the base-code when a particular change is made in the base-code. Thank you in advance for your help, and please inform me if this is not the correct forum for this question.
>> 
>> Raffi Khatchadourian
>> PhD Candidate
>> Department of Computer Science and Engineering
>> Ohio State University
>> http://www.cse.ohio-state.edu/~khatchad
>> 
>> _______________________________________________
>> ajdt-dev mailing list
>> ajdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/ajdt-dev
>> 



Back to the top