Java::Build

Java::Build is a family of modules which you can use instead of Ant.
Download

Java::Build Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Phil Crow
  • Publisher web site:
  • http://search.cpan.org/~tkeefer/Gantry-3.51/lib/Gantry/Utils/FormMunger.pm

Java::Build Tags


Java::Build Description

Java::Build is a family of modules which you can use instead of Ant. Java::Build is a family of modules which you can use instead of Ant.SYNOPSIS use Java::Build::JVM; # access to the javac compiler in one jvm use Java::Build::Tasks; # some helpful methods similar to Ant tasks my $source_files = build_file_list( BASE_DIR => $some_path, INCLUDE_PATTERNS => , ); my $dirty_sources = what_needs_compiling( SOURCE_FILE_LIST => $source_files, ); if (@$dirty_sources) { my $compiler = Java::Ant::JVM->getCompiler(); $compiler->destination($base_dir); $compiler->classpath($base_dir); $compiler->compile($dirty_sources); my $class_files = build_file_list( BASE_DIR => $some_path, INCLUDE_PATTERNS => , EXCLUDE_PATTERNS => , EXCLUDE_DEFAULTS => 1, STRIP_BASE_DIR => 1, ); jar( JAR_FILE => $jar_file_name, FILE_LIST => $class_files, BASE_DIR => $some_path, ); }ABSTRACTThis family of modules helped me move away from Ant to a proper scripting language, namely Perl. With it you can use a single JVM for compiling your java programs. It provides many useful methods to help you build lists of files, package them with jar, etc. Currently the modules are unix centric. If you make them work elsewhere, please send in patches. Requirements: · Perl · Inline · Inline::Java · Carp · File::Find · Cwd · File::Temp · Exporter


Java::Build Related Software