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 commandline

> Do you have a reason for making these -sourceroots entries other 
> than the current erroneous usage message?

I assumed that we inherited this from the eclipse compiler usage,
and that we wanted to keep all eclipse options so that any user of
the eclipse compiler could easily switch to using ajc. (Nor does it 
interfere with javac or jikes syntax).  

Unless I hear back soon, I'll implement a message rather than 
interpreting unflagged as sourceroots, and change compiler usage
accordingly in the docs.

Wes

Jim.Hugunin@xxxxxxxx wrote:
> 
> 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
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-dev


Back to the top