Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » syncing AJDT with AspectJ build?
syncing AJDT with AspectJ build? [message #65082] Tue, 23 May 2006 12:32 Go to next message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
I tend to upgrade aspectj triggered on AJDT. I'm using the development
builds, which indicate which AspectJ development build was used. But
often the latest aspectj development build is newer than that included
in ajdt, and the ajdt version is no longer on the aspectj download page.

Would it be possible to provide a link to the included aspectj build
directly from the ajdt page to make keeping in sync easier? Or is there
some other place where I can get just a little bit old aspectj
development builds? Or does it not matter much, since I use LTW exclusively?

thanks!
Re: syncing AJDT with AspectJ build? [message #65381 is a reply to message #65082] Fri, 26 May 2006 09:36 Go to previous messageGo to next message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Hi Barry,

What exactly is your use case here? How are you using AJDT and the
separate AspectJ builds together?

We'll look at providing links on the ajdt download page, although I'm
concerned that it might make the download page more cluttered/confusing.

See also 113948 in bugzilla for an enhancement which would bring the two
separate builds a bit closer together.

Regards,

Matt.

Barry Kaplan wrote:
> I tend to upgrade aspectj triggered on AJDT. I'm using the development
> builds, which indicate which AspectJ development build was used. But
> often the latest aspectj development build is newer than that included
> in ajdt, and the ajdt version is no longer on the aspectj download page.
>
> Would it be possible to provide a link to the included aspectj build
> directly from the ajdt page to make keeping in sync easier? Or is there
> some other place where I can get just a little bit old aspectj
> development builds? Or does it not matter much, since I use LTW
> exclusively?
>
> thanks!
Re: syncing AJDT with AspectJ build? [message #65425 is a reply to message #65381] Fri, 26 May 2006 12:51 Go to previous messageGo to next message
Jimisola Laursen is currently offline Jimisola LaursenFriend
Messages: 134
Registered: July 2009
Senior Member
Hi,

I might be totally off here, but can't I use an (older) fixed version
AspectJ with AJDT.
Just because a (shipped) product uses, say AspectJ 1.5.1a, shouldn't mean
that the development team can't upgrade to a more recent version of AJDT
(compare JDK/JRE and JDT).

I might want to to be able to have different AspectJ versions for different
products in Eclipse.
There doesn't seem to be an equivalent for Java Build Path -> Add Library ->
JRE System Library.
There is the ASPECTJRT_LIB, but that is not quite it or?

Jimisola

"Matt Chapman" <mpchapman@gmail.com> wrote in message
news:e56i7v$a9u$1@utils.eclipse.org...
> Hi Barry,
>
> What exactly is your use case here? How are you using AJDT and the
> separate AspectJ builds together?
>
> We'll look at providing links on the ajdt download page, although I'm
> concerned that it might make the download page more cluttered/confusing.
>
> See also 113948 in bugzilla for an enhancement which would bring the two
> separate builds a bit closer together.
>
> Regards,
>
> Matt.
>
> Barry Kaplan wrote:
>> I tend to upgrade aspectj triggered on AJDT. I'm using the development
>> builds, which indicate which AspectJ development build was used. But
>> often the latest aspectj development build is newer than that included in
>> ajdt, and the ajdt version is no longer on the aspectj download page.
>>
>> Would it be possible to provide a link to the included aspectj build
>> directly from the ajdt page to make keeping in sync easier? Or is there
>> some other place where I can get just a little bit old aspectj
>> development builds? Or does it not matter much, since I use LTW
>> exclusively?
>>
>> thanks!
Re: syncing AJDT with AspectJ build? [message #65509 is a reply to message #65425] Fri, 26 May 2006 17:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: clemas.uk.ibm.com

I believe Barry works in AJDT and then does Ant builds outside and it is
true that during the long development time of AspectJ5 we frequently
made changes to cause incompatibilities between the two. We haven't
recently made any changes like this - but I wont guarantee that it wont
happen, we need to think about how to make it available in the easiest
way possible.

It isn't quite the same as comparing JDK/JRE and the JDT, it's more like
comparing JDTCore and JDTUI. Eclipse don't provide a site where you go
and download the standalone compiler, it's in the eclipse build and it
matches exactly the version of JDTUI that exposes it through the eclipse
UI. If you want to do Ant builds after you've finished pure Java
development in Eclipse then you just use javac from your favourite VM
provider (you could use JDTCore in batch mode but I'm not sure how many
people do that at the moment). So you can see that because AspectJ does
provide a separate site where you can get the compiler then things get
out of step - we don't like releasing AJDT builds without ensuring the
AspectJ plugged into them passes all the tests - but those tests are
separate to the thousands we run just against the core compiler. If a
build passes the core compiler tests it is suitable for use on command
line or through Ant - so we make it available from our download page.
The problem is that a particular (stable) version of HEAD makes its way
into AJDT and we don't archive that in an accessible way for users who
want a pair of compiler/AJDT that match. Matts pointer to the
'repackaging of AspectJ' enhancement is a possible way to address this.

Andy.

Jimisola Laursen wrote:
> Hi,
>
> I might be totally off here, but can't I use an (older) fixed version
> AspectJ with AJDT.
> Just because a (shipped) product uses, say AspectJ 1.5.1a, shouldn't mean
> that the development team can't upgrade to a more recent version of AJDT
> (compare JDK/JRE and JDT).
>
> I might want to to be able to have different AspectJ versions for different
> products in Eclipse.
> There doesn't seem to be an equivalent for Java Build Path -> Add Library ->
> JRE System Library.
> There is the ASPECTJRT_LIB, but that is not quite it or?
>
> Jimisola
>
> "Matt Chapman" <mpchapman@gmail.com> wrote in message
> news:e56i7v$a9u$1@utils.eclipse.org...
>
>>Hi Barry,
>>
>>What exactly is your use case here? How are you using AJDT and the
>>separate AspectJ builds together?
>>
>>We'll look at providing links on the ajdt download page, although I'm
>>concerned that it might make the download page more cluttered/confusing.
>>
>>See also 113948 in bugzilla for an enhancement which would bring the two
>>separate builds a bit closer together.
>>
>>Regards,
>>
>>Matt.
>>
>>Barry Kaplan wrote:
>>
>>>I tend to upgrade aspectj triggered on AJDT. I'm using the development
>>>builds, which indicate which AspectJ development build was used. But
>>>often the latest aspectj development build is newer than that included in
>>>ajdt, and the ajdt version is no longer on the aspectj download page.
>>>
>>>Would it be possible to provide a link to the included aspectj build
>>>directly from the ajdt page to make keeping in sync easier? Or is there
>>>some other place where I can get just a little bit old aspectj
>>>development builds? Or does it not matter much, since I use LTW
>>>exclusively?
>>>
>>>thanks!
>
>
>
Re: syncing AJDT with AspectJ build? [message #65593 is a reply to message #65509] Fri, 26 May 2006 21:59 Go to previous messageGo to next message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Andy Clement wrote:
> I believe Barry works in AJDT and then does Ant builds outside and it is
> true that during the long development time of AspectJ5 we frequently
> made changes to cause incompatibilities between the two. We haven't
> recently made any changes like this - but I wont guarantee that it wont
> happen, we need to think about how to make it available in the easiest
> way possible.

There are likely to be other cases requiring a separate AspectJ install,
but this is not necessary for Ant builds. For example the Ant files
generated by AJDT refer to the jar files in the ajde and weaver plugins
(and other plugins), which allows the builds to then run outside of
Eclipse.

Regards,

Matt.
Re: syncing AJDT with AspectJ build? [message #65694 is a reply to message #65381] Thu, 08 June 2006 13:03 Go to previous message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Matt Chapman wrote:
> Hi Barry,
>
> What exactly is your use case here? How are you using AJDT and the
> separate AspectJ builds together?

Whoops, sorry for the huge delay...

I use AJDT for development but /only use load-time weaving. So I need to
ensure that the current aspect jars are deployed with our system. So all
I am trying to do is ensure that the same aspectj code is used by ajdt
and our system and run-time.

However, this would be the same issue for compiling in ant/maven.

-barry
Re: syncing AJDT with AspectJ build? [message #593916 is a reply to message #65082] Fri, 26 May 2006 09:36 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Hi Barry,

What exactly is your use case here? How are you using AJDT and the
separate AspectJ builds together?

We'll look at providing links on the ajdt download page, although I'm
concerned that it might make the download page more cluttered/confusing.

See also 113948 in bugzilla for an enhancement which would bring the two
separate builds a bit closer together.

Regards,

Matt.

Barry Kaplan wrote:
> I tend to upgrade aspectj triggered on AJDT. I'm using the development
> builds, which indicate which AspectJ development build was used. But
> often the latest aspectj development build is newer than that included
> in ajdt, and the ajdt version is no longer on the aspectj download page.
>
> Would it be possible to provide a link to the included aspectj build
> directly from the ajdt page to make keeping in sync easier? Or is there
> some other place where I can get just a little bit old aspectj
> development builds? Or does it not matter much, since I use LTW
> exclusively?
>
> thanks!
Re: syncing AJDT with AspectJ build? [message #593938 is a reply to message #65381] Fri, 26 May 2006 12:51 Go to previous message
Jimisola Laursen is currently offline Jimisola LaursenFriend
Messages: 134
Registered: July 2009
Senior Member
Hi,

I might be totally off here, but can't I use an (older) fixed version
AspectJ with AJDT.
Just because a (shipped) product uses, say AspectJ 1.5.1a, shouldn't mean
that the development team can't upgrade to a more recent version of AJDT
(compare JDK/JRE and JDT).

I might want to to be able to have different AspectJ versions for different
products in Eclipse.
There doesn't seem to be an equivalent for Java Build Path -> Add Library ->
JRE System Library.
There is the ASPECTJRT_LIB, but that is not quite it or?

Jimisola

"Matt Chapman" <mpchapman@gmail.com> wrote in message
news:e56i7v$a9u$1@utils.eclipse.org...
> Hi Barry,
>
> What exactly is your use case here? How are you using AJDT and the
> separate AspectJ builds together?
>
> We'll look at providing links on the ajdt download page, although I'm
> concerned that it might make the download page more cluttered/confusing.
>
> See also 113948 in bugzilla for an enhancement which would bring the two
> separate builds a bit closer together.
>
> Regards,
>
> Matt.
>
> Barry Kaplan wrote:
>> I tend to upgrade aspectj triggered on AJDT. I'm using the development
>> builds, which indicate which AspectJ development build was used. But
>> often the latest aspectj development build is newer than that included in
>> ajdt, and the ajdt version is no longer on the aspectj download page.
>>
>> Would it be possible to provide a link to the included aspectj build
>> directly from the ajdt page to make keeping in sync easier? Or is there
>> some other place where I can get just a little bit old aspectj
>> development builds? Or does it not matter much, since I use LTW
>> exclusively?
>>
>> thanks!
Re: syncing AJDT with AspectJ build? [message #593991 is a reply to message #65425] Fri, 26 May 2006 17:26 Go to previous message
Andrew Clement is currently offline Andrew ClementFriend
Messages: 162
Registered: July 2009
Senior Member
I believe Barry works in AJDT and then does Ant builds outside and it is
true that during the long development time of AspectJ5 we frequently
made changes to cause incompatibilities between the two. We haven't
recently made any changes like this - but I wont guarantee that it wont
happen, we need to think about how to make it available in the easiest
way possible.

It isn't quite the same as comparing JDK/JRE and the JDT, it's more like
comparing JDTCore and JDTUI. Eclipse don't provide a site where you go
and download the standalone compiler, it's in the eclipse build and it
matches exactly the version of JDTUI that exposes it through the eclipse
UI. If you want to do Ant builds after you've finished pure Java
development in Eclipse then you just use javac from your favourite VM
provider (you could use JDTCore in batch mode but I'm not sure how many
people do that at the moment). So you can see that because AspectJ does
provide a separate site where you can get the compiler then things get
out of step - we don't like releasing AJDT builds without ensuring the
AspectJ plugged into them passes all the tests - but those tests are
separate to the thousands we run just against the core compiler. If a
build passes the core compiler tests it is suitable for use on command
line or through Ant - so we make it available from our download page.
The problem is that a particular (stable) version of HEAD makes its way
into AJDT and we don't archive that in an accessible way for users who
want a pair of compiler/AJDT that match. Matts pointer to the
'repackaging of AspectJ' enhancement is a possible way to address this.

Andy.

Jimisola Laursen wrote:
> Hi,
>
> I might be totally off here, but can't I use an (older) fixed version
> AspectJ with AJDT.
> Just because a (shipped) product uses, say AspectJ 1.5.1a, shouldn't mean
> that the development team can't upgrade to a more recent version of AJDT
> (compare JDK/JRE and JDT).
>
> I might want to to be able to have different AspectJ versions for different
> products in Eclipse.
> There doesn't seem to be an equivalent for Java Build Path -> Add Library ->
> JRE System Library.
> There is the ASPECTJRT_LIB, but that is not quite it or?
>
> Jimisola
>
> "Matt Chapman" <mpchapman@gmail.com> wrote in message
> news:e56i7v$a9u$1@utils.eclipse.org...
>
>>Hi Barry,
>>
>>What exactly is your use case here? How are you using AJDT and the
>>separate AspectJ builds together?
>>
>>We'll look at providing links on the ajdt download page, although I'm
>>concerned that it might make the download page more cluttered/confusing.
>>
>>See also 113948 in bugzilla for an enhancement which would bring the two
>>separate builds a bit closer together.
>>
>>Regards,
>>
>>Matt.
>>
>>Barry Kaplan wrote:
>>
>>>I tend to upgrade aspectj triggered on AJDT. I'm using the development
>>>builds, which indicate which AspectJ development build was used. But
>>>often the latest aspectj development build is newer than that included in
>>>ajdt, and the ajdt version is no longer on the aspectj download page.
>>>
>>>Would it be possible to provide a link to the included aspectj build
>>>directly from the ajdt page to make keeping in sync easier? Or is there
>>>some other place where I can get just a little bit old aspectj
>>>development builds? Or does it not matter much, since I use LTW
>>>exclusively?
>>>
>>>thanks!
>
>
>
Re: syncing AJDT with AspectJ build? [message #594044 is a reply to message #65509] Fri, 26 May 2006 21:59 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Andy Clement wrote:
> I believe Barry works in AJDT and then does Ant builds outside and it is
> true that during the long development time of AspectJ5 we frequently
> made changes to cause incompatibilities between the two. We haven't
> recently made any changes like this - but I wont guarantee that it wont
> happen, we need to think about how to make it available in the easiest
> way possible.

There are likely to be other cases requiring a separate AspectJ install,
but this is not necessary for Ant builds. For example the Ant files
generated by AJDT refer to the jar files in the ajde and weaver plugins
(and other plugins), which allows the builds to then run outside of
Eclipse.

Regards,

Matt.
Re: syncing AJDT with AspectJ build? [message #594107 is a reply to message #65381] Thu, 08 June 2006 13:03 Go to previous message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Matt Chapman wrote:
> Hi Barry,
>
> What exactly is your use case here? How are you using AJDT and the
> separate AspectJ builds together?

Whoops, sorry for the huge delay...

I use AJDT for development but /only use load-time weaving. So I need to
ensure that the current aspect jars are deployed with our system. So all
I am trying to do is ensure that the same aspectj code is used by ajdt
and our system and run-time.

However, this would be the same issue for compiling in ant/maven.

-barry
Previous Topic:Extending the package explorer
Next Topic:Problem with AJDT in eclipse 3.2
Goto Forum:
  


Current Time: Fri Mar 29 06:10:53 GMT 2024

Powered by FUDForum. Page generated in 0.03418 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top