Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] -classpath option bugs?

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 :)



Back to the top