Re: [aspectwerkz-dev] AW 1.0 beta 1.0 ClassLoaders and aspectwerkz.xml
"Michael Nascimento Santos" <[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi guys, I'm wondering if this issues have been addressed already. Allan Jones works with me and these things are stopping us from doing some stuff, since using a hacked AW version does not sound good for some customers. Any news? Regards, ------------------------------------------------------------- Michael Nascimento Santos JSR 207 Expert Group Member JSR Community Manager - http://community.java.net/jsr Organizacao SouJava - http://www.soujava.org.br Thinlet - http://www.thinlet.com http://www.javablogs.com.br/blogs/page/soujavamisterm http://today.java.net/pub/au/80 ----- Original Message ----- From: "-Ãà R A T à ÃÃ-" <[email protected]> To: <[email protected]> Sent: Tuesday, July 20, 2004 10:45 AM Subject: [aspectwerkz-dev] AW 1.0 beta 1.0 ClassLoaders and aspectwerkz.xml > Hi Jonas and Alex, > > I´ve been using AW1.0 beta 1 with Java Web Start and I found some problems > with aspectwerkz.xml and ClassLoaders. > > First problem is that with Java Web Start the only way to send an file to > client is throught a jar file, so, I put the aspectwerkz.xml in my jar file, > but aspectwerkz doesn´t find it, or if it finds, the DefinitionLoader loads > the file (File file = new File("file:c:/<path>/myjar.jar!aspectwerkz.xml")) > and throws an exception, because the path to aspectwerkz.xml corresponds to > an URL not to a file. It will be good if aspectwerkz works with URL. > > The second problem is that using Java Web Start, I got NoClassDefFoundError > for CFlowSystemAspect. I don´t know why the loader used (AppClassLoader) > can´t find the that class. > > > Regards, > Allan Jones >