Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] Updating markers before weave??

I think you are asking if error and warning markers can be added to
the editor after compilation and before weaving is completed.  This is
difficult, but not impossible.

For one thing, there are several kinds of messages/problems that only
appear after weaving is complete (eg- Advice not matched messages).
So, we would need to add messages again after weaving is complete.

Also, we would need a call back from the compiler to tell AJDT that
compilation is done and it should print out the messages it knows
about.

But most importantly, I'm not sure how much this would buy you.  All
of our internal tests show that the weaving stage itself is rarely the
bottleneck.  That adding some of the problem markers before weaving
starts will not be vastly different than waiting until weaving is
finished before adding anything.

Before doing anything about this, I'd like to know more about what
exactly the problem is that you are facing.  Is it that there are too
many error markers and they are improperly placed in AJ files?  Is it
that after a save, you'd like to see them disappear faster (even if
new ones appear later)?

--a



On Thu, Feb 5, 2009 at 6:42 AM, Neale Upstone <neale.upstone@xxxxxxxxxx> wrote:
> Hi,
>
> When editing a .aj that has compile errors, at the moment, it seems that I
> sometimes need the compiler to run to see what's going on (as opposed to the
> model editing whizbang stuff that seems to compile what's in the editor on
> the fly).
>
> On a project with a lot of classes to weave, the successful compile of my
> .aj will kick off a full re-weave.
>
> This is fine to be going on in the background, but... I'd like to at least
> have the state of my open .aj file be accurate before I continue editing.
>
> Is it possible to update the error/warning markers in my .aj's prior to
> weaving?
>
> Cheers,
>
> Neale
>
> **********************************************************************
> IMPORTANT NOTICE.
> Confidentiality:  This e-mail and its attachments are intended for the above
> named only and may be confidential.  If they have come to you in error you
> must take no action based on them, nor must you copy or show them to anyone;
> please reply to this e-mail and highlight the error.
> Security Warning:  Please note that this e-mail has been created in the
> knowledge that Internet e-mail is not a 100% secure communications medium.
> We advise that you understand and observe this lack of security when
> e-mailing us.
> Viruses:  Although we have taken steps to ensure that this e-mail and
> attachments are free from any virus, we advise that in keeping with good
> computing practice the recipient should ensure they are actually virus free.
> Monitoring and Scanning:  Cambridge Cognition has monitoring and scanning
> systems in place in relation to emails sent and received to: monitor /
> record business communications; prevent and detect crime; investigate the
> use of the Company's internal and external email system; and provide
> evidence of compliance with business practices.
>
> Cambridge Cognition Limited
> Company Registration Number 4338746
> Registered address:
> Tunbridge Court
> Tunbridge Lane
> Bottisham
> Cambridge
> CB25 9TU
> UK
> **********************************************************************
>
>
> _______________________________________________
> ajdt-dev mailing list
> ajdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ajdt-dev
>
>


Back to the top