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!

[292 byte] By [yamm_v6.6_6a] at [2007-11-27 10:35:41]
# 1

> I challenge you!

and I decline to accept this challenge.

petes1234a at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...
# 2

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?

~

yawmarka at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...
# 3

> 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?

deAppela at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...
# 4

> 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...

yamm_v6.6_6a at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...
# 5

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.

yamm_v6.6_6a at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...
# 6

Any error messages during compile time?

deAppela at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...
# 7

> 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.

yamm_v6.6_6a at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...
# 8

Obsolete

Message was edited by:

S_i_m_u

S_i_m_ua at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...
# 9

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)

Mina_Daouda at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...
# 10

Ah, and if you want to challenge, make it in something that can make sense

Mina_Daouda at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...
# 11

> 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 > top of Java-index,Java Essentials,Java Programming...
# 12

> > 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.

yamm_v6.6_6a at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...
# 13

u almost welcome

Mina_Daouda at 2007-7-28 18:36:31 > top of Java-index,Java Essentials,Java Programming...