Java::Build 0.05
Sponsored Links
Java::Build 0.05 Ranking & Summary
File size:
0.030 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
918
Date added:
2007-04-20
Publisher:
Phil Crow
Java::Build 0.05 description
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 => [ qr/.java$/ ],
);
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 => [ qr/.class$/ ],
EXCLUDE_PATTERNS => [ qr/Test/ ],
EXCLUDE_DEFAULTS => 1,
STRIP_BASE_DIR => 1,
);
jar(
JAR_FILE => $jar_file_name,
FILE_LIST => $class_files,
BASE_DIR => $some_path,
);
}
ABSTRACT
This 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.
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 => [ qr/.java$/ ],
);
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 => [ qr/.class$/ ],
EXCLUDE_PATTERNS => [ qr/Test/ ],
EXCLUDE_DEFAULTS => 1,
STRIP_BASE_DIR => 1,
);
jar(
JAR_FILE => $jar_file_name,
FILE_LIST => $class_files,
BASE_DIR => $some_path,
);
}
ABSTRACT
This 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.
Java::Build 0.05 Screenshot
Java::Build 0.05 Keywords
Build 0.05
DIR
BASE
PATTERNS
JVM
Ant
can use
modules
file
files
family
list
jar
Java
JavaBuild
Java::Build 0.05
Bookmark Java::Build 0.05
Java::Build 0.05 Copyright
WareSeeker periodically updates pricing and software information of Java::Build 0.05 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Java::Build 0.05 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Java::Build::JVM is a Perl module that starts one JVM for compiling. Free Download
Java::Build::Tasks is a Perl module that collects common Java build tasks in one place: jar, jarsigner, etc. Free Download
Java Tools is a lightweight integrated development environment for creating, compiling, and executing Java applications. Free Download
Java::Build::GenericBuild is a high level driver to control Java builds. Free Download
Java Tetris project is a simple Tetris game. Free Download
java-diff is a set of Java classes which implement the longest common subsequences algorithm. Free Download
tpm4java is a library for accessing trusted platform modules in your Java applications. Free Download
Java::JCR::Lock is a Perl module that can load JCR lock extension wrappers. Free Download
Latest Software
Popular Software
Favourite Software