Hi Chris, > Is there any particular reason why the MZmine2.jar file contains the > .java source-code files?
The reason is that it makes it easier for people who develop software based on MZmine, or who want to access MZmine sources for other reason (e.g. to check how a certain algorithm is implemented). For example, Eclipse can automatically open the source code for a class imported from a JAR file, if the JAR file contains .java sources. In my opinion, publishing the source code together with binary releases is a good practice, because the sources available in current repository may not be equal (or even compatible) to the sources that were used to build a particular release version. > However, this could be restricted to the HTML, PNG files only if its the > help system that needs including. Excluding the .java files would make > for a much lighter .JAR. Really? $ find src -name *.java | xargs jar cvf /tmp/test.jar $ du -hs /tmp/test.jar 960K /tmp/test.jar 960 KB is not so much considering that the whole MZmine application has ~60 MB. Tomas =============================================== Tomas Pluskal G0 Cell Unit, Okinawa Institute of Science and Technology 1919-1 Tancha, Onna-son, Okinawa 904-0412, Japan TEL: +81-98-966-8684 ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Mzmine-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mzmine-devel
