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


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

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From markspace <markspace@nospam.nospam>
Newsgroups comp.lang.java.programmer
Subject Re: Considering File Content: Will the NetBeans IDE (deployed version) produce files identical to the javac compiler files
Date Fri, 26 Apr 2013 08:56:23 -0700
Organization A noiseless patient Spider
Lines 23
Message-ID <kle7tb$not$1@dont-email.me> (permalink)
References <23e31e94-4892-4609-b85a-8d4cb3e2a583@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Fri, 26 Apr 2013 15:53:15 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="fba3415ba68d85d643935af2f52f0b4b"; logging-data="24349"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19m+zAlohqDf/dGgaXbpX5FEnOWmO6P0w8="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
In-Reply-To <23e31e94-4892-4609-b85a-8d4cb3e2a583@googlegroups.com>
Cancel-Lock sha1:EdlU9W/Fu2lXCLC3d8hYG2uS7hw=
Xref csiph.com comp.lang.java.programmer:23655

Show key headers only | View raw


On 4/26/2013 6:41 AM, clusardi2k@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.
>
> Will the files produced by both tools be exactly the same. Can you,
> please, tell me the differences that will occur.

Depends.  I'm pretty sure the .class files will be exactly the same. 
However, since a .jar file is just a zip file, the order of those .class 
files in the .jar won't be the same (possibly) and the .jar file won't 
byte-for-byte compare as equals.

There might be other differences.  NetBeans might decide to build a 
manifest file for you.  Depending on your usage of the command line 
tools, you might not have a manifest at all.  Etc.

Since most folks (all?) don't care about "exact" differences, only that 
the execution is the same, or at least as expected, I doubt even the 
tool vendors could answer this question completely.

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