How can I see the last compiled file ?

hi,

javac 1.4.1_01 has a bug that when there is code or text after the last } in a java file the parser sometimes
crashes. sun says they will fix this in a 1.4.* version.

but until then it would be great to find out on which file the crash has happened. when i compile my project idea just
says 'compilation finished' and i don't know on which file
the compiler has crashed.

any ideas to find this out ?

thanks
dejan

10 comments

This isn't a solution to your problem, but you might be interested in this bug I submitted to Sun:

http://developer.java.sun.com/developer/bugParade/bugs/4706348.html

Jason Boehle
jboehle@actuate.com

0

yes, thanks i was also directed to this bug by sun.

but i want to find out which file i have to change.
in my project there are about 3600 java files in it.
(i know i should make packages and i will when time comes)

0

have you tried ant? it will compile from the command line and you don't have to specify every file

0

yeah i'm using ant but not for this project
so i had to setup the script files first.
i just thought that maybe idea could help me faster.

0

Dejan Pecar wrote:

in my project there are about 3600 java files in it.
(i know i should make packages and i will when time comes)


Am I correct in understanding that you have 3600 Java files in a SINGLE
package?

Ciao,
Gordon

--
Gordon Tyler
Software Developer, R&D
Sitraka (now part of Quest Software)
"Performance is Mission Critical"

0

it says project, so I hope that means lots of different packages.
How many lines of code do you have spread across those? ]]>

0

sorry guys, shure there are a lot of packages.
i meant i shold collect these packages in some jars.

i really didn't want to generate such a traffic on
this topic.

at least i would be happy if someone says:
it's not possible to see the last compiled file in idea.
then we could close this topic.

thanks
dejan

0

Use Jalopy to format your source code.
It will raise an error on the "criminal" class.
Take a look the plugins forum to see how to easily integrate Jalopy in Idea.

Hope it helps.

"Dejan Pecar" <pecar@abanet.ch> a ?crit dans le message de news:
15846907.1045753616322.JavaMail.jrun@is.intellij.net...

hi,

>

javac 1.4.1_01 has a bug that when there is code or text after the last }

in a java file the parser sometimes

crashes. sun says they will fix this in a 1.4.* version.

>

but until then it would be great to find out on which file the crash has

happened. when i compile my project idea just

says 'compilation finished' and i don't know on which file
the compiler has crashed.

>

any ideas to find this out ?

>

thanks
dejan



0

Please sign in to leave a comment.