[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] -classpath option bugs?
|
This is a straight-up Java/DOS question. Your command should be
ajc -classpath "d:\TestApp\foo;c:\aspectj1.1\lib\aspectjrt.jar"
...
as to why:
- without quotes, ';' delimits the command
- when you specify jar class libraries, use the library path
- aspectjrt.jar is required on the classpath
Wes
Donal Lafferty wrote:
I'm not a java guru, but I would have thought that I'd at least be able
to get the -classpath option to work. Instead, I am puzzled as to why
this
ajc -classpath d:\TestApp\foo;c:\aspectj1.1\lib
-argfile aspectj_targets.lst
results in the error:
build config error: dir arg not permitted: c:\aspectj1.1\lib
I mean, if ajc knows that c:\aspectj1.1\lib is a dir(-ectory), then
what's the big deal?
BTW, putting the classpath path in quotes gets rid of the error message,
but the classpath is still broken. For example,
ajc -classpath "d:\TestApp\foo;c:\aspectj1.1\lib"
-argfile aspectj_targets.lst
Results in a new error:
couldn't find aspectjrt.jar on classpath, checked:
can't find type org.aspectj.lang.JoinPoint
Given that the installation puts aspectjrt.jar in c:\aspectj1.1\lib, I
thought that the 'jar' would have been found.
Any suggestions?
DL
PS. I'm running WindowsXP, but I don't think this is a 'reboot the
machine' situation :)
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users