C
clu
Hello,
What are the steps that I have to do to get Ant (via file build.xml) to give me line by line error messages from my project.
Before trying the below techniques, my project compiled and ran perfectly.
Anyway, I decided I wanted to see syntax errors because it is of great use to me!
(1) So, I first tried going to Eclipse's menubar clicking on Run, External Tools, External Tools Configuration
And, adding "verbose" and even "debug" to the Arguments field, but when I compile, I get the following error message:
"The specified JRE installation does not exist."
I then went to the corresponding (above) JRE tab, but there was nothing to set. There were no JREs to choose from. I.E.: All the fields were blank.
I abandoned this attempt.
(2) I tried editing the build.xml file directly with minor success.
Near the top of the file I added the following code:
<record name="build.log" loglevel="verbose" action="start">
But, the resulting build.log file didn't have syntax errors in it.
For fun, I tried to set the same xml code to:
<record name="build.log" loglevel="debug" action="start">
But, that gave additional unuseful information.
What can I do to get the explicit syntax errors of a compilation using Ant with Eclipse.
My assumption is the debug option has to do with debugging a project and nothing to do with syntax errors from a compiler.
Thank you,
What are the steps that I have to do to get Ant (via file build.xml) to give me line by line error messages from my project.
Before trying the below techniques, my project compiled and ran perfectly.
Anyway, I decided I wanted to see syntax errors because it is of great use to me!
(1) So, I first tried going to Eclipse's menubar clicking on Run, External Tools, External Tools Configuration
And, adding "verbose" and even "debug" to the Arguments field, but when I compile, I get the following error message:
"The specified JRE installation does not exist."
I then went to the corresponding (above) JRE tab, but there was nothing to set. There were no JREs to choose from. I.E.: All the fields were blank.
I abandoned this attempt.
(2) I tried editing the build.xml file directly with minor success.
Near the top of the file I added the following code:
<record name="build.log" loglevel="verbose" action="start">
But, the resulting build.log file didn't have syntax errors in it.
For fun, I tried to set the same xml code to:
<record name="build.log" loglevel="debug" action="start">
But, that gave additional unuseful information.
What can I do to get the explicit syntax errors of a compilation using Ant with Eclipse.
My assumption is the debug option has to do with debugging a project and nothing to do with syntax errors from a compiler.
Thank you,