Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] Installing latest AJDT/AspectJ build

If you find you like an AJDT build and want to use it in the surrounding environment you should just be able to put ajde.jar from the org.aspectj.ajde
plugin ahead of your aspectjtools.jar *from a recent AspectJ download*.


Ah, so I need to use both! I'd figured most of the rest out, but when I tried using ajde alone, the ant support exploded on me.

I'm not sure you'll see such great build time improvements outside of the IDE as you have seen inside the IDE as the enhancements you saw yesterday
were kind of on the interface between the two.

Well, that may be true. I don't actually care though, I just need my ant build and my AJDT build to produce compatible class files since I often mix classes from both in my development environment.

BTW, should I raise bugs for things I find in these developer builds? For instance, the compiler crashes with an NPE on unimplemented abstract methods in a class. Is that something that deserves a bugzilla report, or are the builds considered too unstable to report against?

Cheers,

Nicholas Lesiecki
Software Craftsman, specializing in J2EE,
Agile Methods, and aspect-oriented programming
m: 520 591-1849

Books:
* Mastering AspectJ: http://tinyurl.com/66vf
* Java Tools for Extreme Programming: http://tinyurl.com/66vt

Articles on AspectJ:
* http://tinyurl.com/66vu and http://tinyurl.com/66vv
On Feb 17, 2005, at 1:45 AM, Andrew Clement wrote:


Alex's original question was slightly different to Nicks question.  Alex asked about integrating the most recent AspectJ dev build into AJDT.  Nick asked about using the AspectJ embedded in the latest AJDT outside of Eclipse.

99.9% of the time, the DEV jar from the aspectj download page is
always up to date - more frequently up to date than AJDT since the
AspectJ build is released automatically post build (if it passes the tests) whereas we do some basic testing of each AJDT dev build before releasing
it to the masses.

Inside org.aspectj.ajde is ajde.jar - this is a repackaged version of the
aspectjtools.jar that comes with an AspectJ standalone download.

Nick,
If you find you like an AJDT build and want to use it in the surrounding environment you should just be able to put ajde.jar from the org.aspectj.ajde
plugin ahead of your aspectjtools.jar *from a recent AspectJ download*.
I'm not sure you'll see such great build time improvements outside of the IDE as you have seen inside the IDE as the enhancements you saw yesterday
were kind of on the interface between the two.

Alex,
The bit of ANT to construct a new ajde.jar from an aspectjtools.jar is
simply:

 <unzip dest="${ajde.build.dir}" src="aspectjtools.jar" />
 <delete includeemptydirs="true">
         <fileset dir="${ajde.build.dir}">
                 <exclude name="org/aspectj/**/*.*" />
         </fileset>
 </delete>
 <zip destfile="ajde.jar">
         <fileset dir="${ajde.build.dir}" />
 </zip>

However ... be very careful when reporting bugs if you have modified your
setups ... we need to know what you have been doing.

I do plan to add dates to the dev builds of AspectJ that we create for
download - just haven't done it yet.

Andy.





Alexandru Popescu <alexandru.popescu@xxxxxxxxx>
Sent by: ajdt-dev-admin@xxxxxxxxxxx

16/02/2005 19:54

Please respond to
 ajdt-dev@xxxxxxxxxxx



To
ajdt-dev@xxxxxxxxxxx

cc

Subject
Re: [ajdt-dev] Installing latest  AJDT/AspectJ build







-----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 [quote Lesiecki Nicholas::on 2/16/2005 9:36 PM]
| Is it possible to somehow synchronize the version numbers of the latest | development AspectJ and AJDT builds? As it stands, I can install the latest | AJDT, but I have difficulty upgrading my ant scripts to take advantage of | the new compiler. Is the DEVELOPMENT jar linked off the home page always in
 | sync?
 |
 | Cheers,
 | Nick
 |

 Hi Nick!

Not so far ago I have asked the same question (integrating last AspectJ development thread). It seems that with the help of the ant build scripts it would be possible. Unfortunately I didn't have the time to try to do this. Now, being 2 of us I will increase the priority ;-).

 - --
 :alex |.::the_mindstorm::.|

 | --- Lesiecki Nicholas <ndlesiecki@xxxxxxxxx> wrote:
 |
 |> Oh. My. God.
 |>
|> The sort of good news: an unscientific average of new incremental compile |> times is about 1.8 seconds, which represents a 25% time reduction over
 |> the
 |> previous average of 2.5.
 |>
|> The REALLY REALLY good news: My full build times have dropped from aroung |> 80s. to around 40s. I can't emphasize how huge this is for our team. This |> level of speed increase represents a productivity gain of *hours* per
 |> week
 |> per developer.
 |>
 |> You guys are awesome!
 |>
 |> I've cc'ed the bug.
 |>
 |> Cheers,
 |> Nick
 |> --- Matt Chapman <MCHAPMAN@xxxxxxxxxx> wrote:
 |>
|> > Just a quick note to let you know about the latest AJDT development
 |> > build,
 |> > id 1.2.0.20050215161840, available via:
 |> >
 |> > http://www.eclipse.org/ajdt/download.html
 |> >
|> > This development build contains some optimizations in the compiler,
 |> from
 |> > Andy, and some other changes in AJDT.
 |> >
 |> > But we're not done yet :)
 |> >
|> > Please give your feedback on the bug below, and add yourself to the CC
 |> > list if you want to track further developments in this area:
 |> >
 |> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=85297
 |> >
 |> > Thanks,
 |> >
 |> > Matt.
 |> >
 |> > --
 |> > Matt Chapman, mchapman@xxxxxxxxxx
 |> > AJDT Development, http://www.eclipse.org/ajdt
 |> >
 |> > _______________________________________________
 |> > aspectj-dev mailing list
 |> > aspectj-dev@xxxxxxxxxxx
 |> > http://dev.eclipse.org/mailman/listinfo/aspectj-dev
 |> >
 |>
 |> _______________________________________________
 |> aspectj-dev mailing list
 |> aspectj-dev@xxxxxxxxxxx
 |> http://dev.eclipse.org/mailman/listinfo/aspectj-dev
 |>
 |
 | _______________________________________________
 | ajdt-dev mailing list
 | ajdt-dev@xxxxxxxxxxx
 | http://dev.eclipse.org/mailman/listinfo/ajdt-dev
 |

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (MingW32)

 iD8DBQFCE6TaTTDTje0R2dgRAtMWAJ9zZ5pfhYwfebJhdejCMIP6E58Y4QCgjt2P
 ftjv3onB0jIvrdQkinjeXLY=
 =ERfC
 -----END PGP SIGNATURE-----
 _______________________________________________
 ajdt-dev mailing list
 ajdt-dev@xxxxxxxxxxx
 http://dev.eclipse.org/mailman/listinfo/ajdt-dev




Back to the top