Re: [aspectwerkz-user] Class not found
Alexandru Popescu <[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [quote Chris Grindstaff::on 4/22/2005 11:04 PM] > Friday, April 22, 2005, 5:49:33 PM, you wrote: > > [snip] > >> Chris but how are you gonna compile your classes without the >> needed jars in the classpath? Am I >> missing something? > > This particular class contains methods that are will not be called if > certain other classes are not found. It's part of the database layer > that works with Oracle, DB2, Derby, etc. It has dependencies on each > of those specific libs but at runtime works fine because the methods > containing them will never be called. > > But besides that it seems to me it would be convenient when compiling > large systems with a large number of dependencies to simply ignore > class not founds. It should be a warning, not a quit and restore. > > I understand that BCEL, ASM and other bytecode libs prefer to have the > entire transitive closure of classes but strictly speaking that isn't > necessary to make modifications. > > Chris Oke i see. But still you haven't answered my question :-). I cannot see any reason why you want to give the AW compiler another classpath than you are giving to javac. - --:alex |.::the_mindstorm::.| ps: i will try to imagine what would happen in your needed scenario ;-). -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCaX0cOCPjdDT2FEURAlR+AJ9Ya/q+mjcIxk1y9CzhUR6jQ0cAPACgqD4t vqkjPs0DHg3aJrPudnHCQHE= =0N4G -----END PGP SIGNATURE-----