Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

Sponsored Links

Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs

Benefit from platform-independent builds

Automate your build process with jmk or Ant

  • Print
  • Feedback

Page 2 of 2

Ant

Ant, from the Jakarta Apache Project, is another build tool that supports platform-independent builds. Ant is also written in Java, but it uses a different approach from that used by jmk. Ant provides Java classes that represent development and file management utilities and thus avoids dependency on external programs that must have the same syntax across OS platforms. At the same time, Ant provides the facility of using external commands as needed. Ant uses the more flexible XML-based build files.

Conclusion

Large Java projects may be built on multiple OS platforms over their entire project lifecycle. Therefore, a pristine, platform-independent build process is advantageous; it avoids any unnecessary association with the platform on which the program was originally built. The jmk utility from the Free Software Foundation and Ant from the Jakarta Apache Project are two build tools that support such a process.

  • Print
  • Feedback

Resources