Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Accessing aspectj4netbeans source

Hi Mik,

The module loads and compiles classes correctly, but the compiled classes
cannot be executed from the IDE unless aspectjrt.jar is on the classpath.
NetBeans 3.5 removed transitive classpath mounting, so now the AspectJ
module needs to add asptectjrt.jar to the classpath when the module installs
itself.

That will be easier than I thought. It's explained on page 536 of the book
that I coauthored (blush), NetBeans : The Definitive Guide. It's also
available on-line at
http://www.netbeans.org/download/books/definitive-guide/html/apis-c_packagingAndDistributingModules.html#N400870
under "Adding to the Default Classpath". Jesse Glick, who wrote that part of
the book, pointed it out to me. I'm more of a NetBeans user than a module
developer, which is why I welcomed the opportunity to work with AspectJ for
NetBeans and get more module development experience.

It looks prety easy to add the necessary fix to the module's Layer.xml file,
but can't promise that I can do it soon enough.  If I don't have it working
by Monday, then probably you should give it a shot.

Vaughn

----- Original Message ----- 
From: "Mik Kersten" <beatmik@xxxxxxx>
To: <aspectj-dev@xxxxxxxxxxx>
Sent: Friday, July 25, 2003 6:12 PM
Subject: RE: [aspectj-dev] Accessing aspectj4netbeans source


Hi Vaughn,

Are you sure that you have aspectjrt.jar in the <netbeans-install>/lib/ext
directory?  That should prevent you from needing to install it as a
filesystem.  Let me know if that works.

I've also uploaded a new ZIP.  Let me know if you have trouble with this one
works for you:
http://aspectj4netbean.sourceforge.net/AspectJForNetBeans-1.1rc3-preview2.zi
p

I would like us to release AspectJ for NetBeans 1.1.1rc1 before the end of
next week.  Let me if you would like any patches to be included in that
release, or if you have any particular issues that you would like help in
tackling.

Cheers,

Mik

> -----Original Message-----
> From: aspectj-dev-admin@xxxxxxxxxxx [mailto:aspectj-dev-admin@xxxxxxxxxxx]
> On Behalf Of spurdyne
> Sent: Friday, July 18, 2003 4:18 PM
> To: aspectj-dev@xxxxxxxxxxx
>
> Mik,
>
> I am not going to get this fixed in time for rc3.  The module executes
> corrdctly, but its compiled classes won't run unless aspectjrt.jar is
> mounted as as a NetBeans filesystem.  A proper fix probably would be for
> AspectJ to be more tightly integrated into NetBeans.  The workaround of
> mounting aspectjrt.jar is easy and should be documented as a standard part
> of the manual installation procedure until we improve the AspectJ /
> NetBeans
> integration.  I'll post my query on the NBDEV support alias, and keep you
> posted with my progress.
>
> Vaughn Spurlin



Back to the top