Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-dev] meaning of unflagged directories on the command line

Clearly we don't want this to be an NPE.  This is bug 30765, currently assigned to Mik.  http://bugs.eclipse.org/bugs/show_bug.cgi?id=30765

I think that we should change the options to just be source files and treat unflagged directories as an error on the command-line.  This is compatible with ajc-1.0.x as well as with javac.  Do you have a reason for making these -sourceroots entries other than the current erroneous usage message?

-Jim

> -----Original Message-----
> From: Wes Isberg [mailto:wes@xxxxxxxxxxxxxx]
> Sent: Friday, April 11, 2003 3:57 PM
> To: aspectj-dev@xxxxxxxxxxx
> Subject: [aspectj-dev] meaning of unflagged directories on the command
> line
> 
> Should ajc accept unflagged directories on the command line? [yes]
> 
> Are they supposed to be the destination directory? [no]
> (BuildArgParser.parseOption(..) converts -d {dir} to an unparsed
> argument?)
> 
> or a source directory? [yes]
> (compiler message: Usage: <options> <source files | directories>)
> 
> Treating them as -sourceroots entries sounds right to me.
> Currently they provoke NPE.
> 
> Wes
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-dev


Back to the top