Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23658

Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files

Newsgroups comp.lang.java.programmer
Date 2013-04-26 13:11 -0700
References <23e31e94-4892-4609-b85a-8d4cb3e2a583@googlegroups.com>
Message-ID <4c71862c-462f-481a-9e05-cc4c7dccaf95@googlegroups.com> (permalink)
Subject Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files
From Lew <lewbloch@gmail.com>

Show all headers | View raw


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

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files clusardi2k@aol.com - 2013-04-26 06:41 -0700
  Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files markspace <markspace@nospam.nospam> - 2013-04-26 08:56 -0700
  Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files Jeff Higgins <jeff@invalid.invalid> - 2013-04-26 14:08 -0400
  Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files Lew <lewbloch@gmail.com> - 2013-04-26 13:11 -0700
  Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files Arne Vajhøj <arne@vajhoej.dk> - 2013-04-26 16:37 -0400

csiph-web