Eclipse Ant compiler options [message #2431] |
Wed, 23 April 2003 11:08  |
Eclipse User |
|
|
|
Originally posted by: scottresnik.hotmail.com
Hello:
I'm using the eclipse ant compiler(org.eclipse.jdt.core.JDTCompilerAdapter),
and I was wondering if there was a way to make that compiler use all the
same settings that I have configured in the Eclipse IDE
(under Window->Preferences->Java->Compiler).
Basically what is happening, is that my project compiles fine, but when I
run ant, I'm getting warning about unused imports and such, I have those
warnings disabled in eclipse, but ant isn't recognizing them when I run ant
through eclipse. Any ideas?
|
|
|
|
Re: Eclipse Ant compiler options [message #2693 is a reply to message #2636] |
Wed, 23 April 2003 13:48   |
Eclipse User |
|
|
|
Originally posted by: scottresnik.hotmail.com
Well, how bout this then, can I just replicate the same settings that I have
in the compiler preferences screen in a seperate properites file, or command
line options. Is there a source for the full complement of command line
arguments, and properties that can be set on the eclipse compiler? To me
having all that that would be just as effective as ant getting the IDE's
compiler settings.
Thanks,
Scott
"Olivier Thomann" <Olivier_Thomann@ca.ibm.comNOSPAM> wrote in message
news:6jgdavspd5k5eeeocjo8oai10jt5e20iib@4ax.com...
> On Wed, 23 Apr 2003 10:08:32 -0500, "Scott Resnik"
> <scottresnik@hotmail.com> wrote:
> >I'm using the eclipse ant
compiler(org.eclipse.jdt.core.JDTCompilerAdapter),
> >and I was wondering if there was a way to make that compiler use all the
> >same settings that I have configured in the Eclipse IDE
> >(under Window->Preferences->Java->Compiler).
> >Basically what is happening, is that my project compiles fine, but when I
> >run ant, I'm getting warning about unused imports and such, I have those
> >warnings disabled in eclipse, but ant isn't recognizing them when I run
ant
> >through eclipse. Any ideas?
> This is under investigation.
> http://bugs.eclipse.org/bugs/show_bug.cgi?id=25510
> The current issue are when the ant task is not running on the same VM
> and getting the project's settings instead of the global settings.
> --
> Olivier
|
|
|
|
Re: Eclipse Ant compiler options [message #3749 is a reply to message #2713] |
Wed, 23 April 2003 14:03  |
Eclipse User |
|
|
|
FYI we are working hard to get integrated support for Ant optionally on a
separate VM coming soon...
http://bugs.eclipse.org/bugs/show_bug.cgi?id=24129
Darins
"Olivier Thomann" <Olivier_Thomann@ca.ibm.comNOSPAM> wrote in message
news:l2ldavothchqmsal07o4u2hmlavkjcfss1@4ax.com...
> On Wed, 23 Apr 2003 12:48:34 -0500, "Scott Resnik"
> <scottresnik@hotmail.com> wrote:
> >Well, how bout this then, can I just replicate the same settings that I
have
> >in the compiler preferences screen in a seperate properites file, or
command
> >line options. Is there a source for the full complement of command line
> >arguments, and properties that can be set on the eclipse compiler? To me
> >having all that that would be just as effective as ant getting the IDE's
> >compiler settings.
> You can patch the source. This is trivial. But using a property file
> can be a good idea as long as we don't have a good solution for ant
> scripts that run on a separate VM.
> I will investigate it.
> --
> Olivier
|
|
|
Powered by
FUDForum. Page generated in 0.07894 seconds