Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-dev] Re: [aspectj-users] iajc bootclasspath attribut e in ant

ajc accepts both -bootclasspath and -extdirs options and handles them correctly.  The command-line help message doesn't include these two options and should be fixed.  Having the ant task accept these seems completely right and compatible with the compiler.

There is an interesting dev question here that should probably be continued on the dev list.  Currently the code for bootclasspath and extdirs is in org.aspectj.ajdt.ajc.BuildArgParser.  Maybe that should be moved to AjBuildConfig so that it could be shared by the ant tasks and possibly by other clients.

-Jim

> -----Original Message-----
> From: Wes Isberg [mailto:wes@xxxxxxxxxxxxxx]
> Sent: Wednesday, April 09, 2003 8:56 AM
> To: aspectj-users@xxxxxxxxxxx
> Cc: aspectj-dev@xxxxxxxxxxx
> Subject: [aspectj-dev] Re: [aspectj-users] iajc bootclasspath attribute in
> ant
> 
> update (and reversal of sorts):
> 
> I updated the ant tasks to fake bootclasspath and extdirs
> by prepending the bootclasspath and any jar/zips in the extdirs
> to the classpath.  It's not correct, but might be close enough.
> Because they are not correct, they'll be considered "experimental",
> but the compiler adapter will read the corresponding javac arguments.
> 
> Some might think we shouldn't even pretend to support them,
> and catastrophe might result; if so, bark now...
> 
> Wes
> 
> 
> Wes Isberg wrote:
> >
> > Sorry, ajc 1.1, like the eclipse compiler it's built on, does not
> > support the bootclasspath option any more.  Try using classpath.
> >
> > (We should have mentioned this in README-11.html where it talks
> > about 1.0 compiler features not supported in the 1.1 compiler;
> > I'll add it for the next release.)
> >
> > Wes
> >
> > Mark Panahi wrote:
> > >
> > > It seems that the explicit bootclasspath attribute has been
> > > remove in the new release.  I tried to use bootclasspath
> > > with the X attribute instead but it gives me a message
> > > saying that it is "ignoring"  the option I give it.
> > >
> > > Any help on getting this to work would be appreciated.
> > >
> > > -Mark
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Tax Center - File online, calculators, forms, and more
> > > http://tax.yahoo.com
> > > _______________________________________________
> > > aspectj-users mailing list
> > > aspectj-users@xxxxxxxxxxx
> > > http://dev.eclipse.org/mailman/listinfo/aspectj-users
> > _______________________________________________
> > aspectj-users mailing list
> > aspectj-users@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/aspectj-users
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-dev


Back to the top