From 140d836e9cd54fb67b969fd82ef7ed19ba574d40 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sat, 26 Apr 2014 15:11:58 +0200 Subject: Imported Upstream version 2.3.1 --- src/engine/SCons/Tool/jar.xml | 61 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 51 insertions(+), 10 deletions(-) (limited to 'src/engine/SCons/Tool/jar.xml') diff --git a/src/engine/SCons/Tool/jar.xml b/src/engine/SCons/Tool/jar.xml index fc94f12..fedaf51 100644 --- a/src/engine/SCons/Tool/jar.xml +++ b/src/engine/SCons/Tool/jar.xml @@ -1,26 +1,48 @@ + + + +%scons; + +%builders-mod; + +%functions-mod; + +%tools-mod; + +%variables-mod; +]> + + + + Sets construction variables for the &jar; utility. + -JAR -JARFLAGS -JARCOM -JARSUFFIX +JAR +JARFLAGS +JARCOM +JARSUFFIX -JARCOMSTR +JARCOMSTR + Builds a Java archive (.jar) file from the specified list of sources. Any directories in the source list @@ -28,7 +50,9 @@ will be searched for .class files). Any .java files in the source list will be compiled to .class files by calling the &b-link-Java; Builder. + + If the &cv-link-JARCHDIR; value is set, the &jar; command will change to the specified directory using the @@ -38,7 +62,9 @@ If &cv-JARCHDIR; is not set explicitly, &SCons; will use the top of any subdirectory tree in which Java .class were built by the &b-link-Java; Builder. + + If the contents any of the source files begin with the string Manifest-Version, the file is assumed to be a manifest @@ -47,64 +73,79 @@ and is passed to the command with the option set. + - + env.Jar(target = 'foo.jar', source = 'classes') env.Jar(target = 'bar.jar', source = ['bar1.java', 'bar2.java']) - + + The Java archive tool. + + The directory to which the Java archive tool should change (using the option). + + The command line used to call the Java archive tool. + + The string displayed when the Java archive tool is called If this is not set, then &cv-link-JARCOM; (the command line) is displayed. + - + env = Environment(JARCOMSTR = "JARchiving $SOURCES into $TARGET") - + + General options passed to the Java archive tool. By default this is set to to create the necessary jar file. + + The suffix for Java archives: .jar by default. + + + \ No newline at end of file -- cgit v1.2.3