I want to compile even with errors!
Hi, experts!
I want to know if you are really an expert in javac tool.
I need to compile classes with the command "javac directory/*java", or something like that, even if one of the classes has compiling errors. How? Is there any javac option for it?
I challenge you!
> I challenge you!
and I decline to accept this challenge.
Please help me understand; you want to compile something that doesn't compile? Or you want to compile everything in a directory except the classes that don't compile?
Is there a good reason you wouldn't simply correct the compilation error?
~
> Hi, experts!
>
> I want to know if you are really an expert in javac
> tool.
>
> I need to compile classes with the command "javac
> directory/*java", or something like that, even if one
> of the classes has compiling errors. How? Is there
> any javac option for it?
>
> I challenge you!
Just wondering why you want to compile even with errors?
Maybe because you can't fix the broken code?
> Please help me understand; you want to compile
> something that doesn't compile? Or you want to
> compile everything in a directory except the
> classes that don't compile?
Yes, I want to compile everything, except the classes that have errors.
> Is there a good reason you wouldn't simply correct
> the compilation error?
Not a reason really. Actually, I am using ant to compile, but I didnt find anything in this tool to configure the way I want. If you know something in ant, please tell me...
Actually, I am using NetBeans, and AFAIK, all the compilation in this IDE is based on ant scripts. This mess IDE doesnt mark with a red "x" when the class has errors, like in Eclipse.
Any error messages during compile time?
> Any error messages during compile time?
Yes, I know what you mean. I could fix every error. But I would like to compile everything as possible, like in Eclipse.
Obsolete
Message was edited by:
S_i_m_u
Well, I think this is a useless question. No need for what u asking for
and there is no application even small or large scale that can include errors in their class(es)
Ah, and if you want to challenge, make it in something that can make sense
> Well, I think this is a useless question. No need for
> what u asking for
> and there is no application even small or large scale
> that can include errors in their class(es)
I think you're missing the point. If I understand correctly, what he wants to do is find a compilation script or procedure that will compile a whole bunch of files, and not have an error in one file prevent the other files from compiling.
jverda at 2007-7-28 18:36:31 >

> > Well, I think this is a useless question. No need
> for
> > what u asking for
> > and there is no application even small or large
> scale
> > that can include errors in their class(es)
>
> I think you're missing the point. If I understand
> correctly, what he wants to do is find a compilation
> script or procedure that will compile a whole bunch
> of files, and not have an error in one file prevent
> the other files from compiling.
Yes. mr. jverd. Thank you for your friendly reply this time.