Re: Considering File Content: Will the NetBeans IDE (deployed
version) produce files identical to the javac compiler files
clusa...@aol.com wrote:
(1) If I use the NetBeans IDE (6.8 version) and create a deployed version of a fairly large project
will it be exactly the same as using the standard "javac" compiler deployed application on the
command line.
Since NetBeans *uses* the javac compiler of whatever version of Java you have (which one do
you have?), or whichever one you configure for the project, the answer is obvious.
Will the files produced by both tools be exactly the same.
You mean "javac" run by NB vs. the same exact executable run on the command line?
Can you, please, tell me the differences that will occur.
Assuming the same executable is invoked each time you invoke "javac", what will the
difference be between
javac com/foo/bar/Something.java
and
javac com/foo/bar/Something.java
?
(2) Can you also give me a comparision of the Eclipse files produced on deployment
What exactly do you mean by "the Eclipse files produced on deployment"?
Compilation is not deployment, you know.
versus the "javac" files produced. Will the two deployed projects be exactly the same.
"javac" does not deploy projects.
Whether you get the same project "exactly" between any two deployments depends on what
has changed between the deployments. Did you recompile? Add or remove modules or resources?
Change Java versions?
If you don't change any of the inputs, the output will not change.
Thanks for the detailed intuitive information,
Sorry, "intuitive information"? What do you mean by that?
I prefer to offer factual information.
--
Lew