Static Public Member Functions | Static Public Attributes | Static Package Functions

alma.acs.makesupport.JarSourceExtractorRunner Class Reference

List of all members.

Static Public Member Functions

static void main (String[] args)

Static Public Attributes

static final String PROPERTY_EXTRACT_ONLY_GENERATED_JARS = "jarExtract.onlyGeneratedJars"
static final String Manifest_Attr_ACSGeneratedFromFile = "ACS-Generated-FromFile"

Static Package Functions

static boolean needsProcessing (JarFile jarFile) throws IOException
static File[] getDirectories (String[] mainArgs)

Detailed Description

Creates a jar file with java sources copied from inside jar files that are found in a number of given directories.

The java source files are allowed to be stored with a prefix path "src" or "test" inside the jar files. The constructed jar file will not use any prefix path though.

Author:
hsommer created Sep 23, 2003 10:50:00 AM

Member Function Documentation

static File [] alma.acs.makesupport.JarSourceExtractorRunner.getDirectories ( String[]  mainArgs  )  [static, package]

Identifies valid directories from the argument list.

Parameters:
mainArgs arguments supplied to main method; directories are given at indices 1...n
Returns:
the valid directories as File objects
Exceptions:
Exception 

Referenced by alma.acs.makesupport.JarSourceExtractorRunner.main().

static void alma.acs.makesupport.JarSourceExtractorRunner.main ( String[]  args  )  [static]
static boolean alma.acs.makesupport.JarSourceExtractorRunner.needsProcessing ( JarFile  jarFile  )  throws IOException [static, package]

Encapsulates evaluation of possible flags (properties) that may restrict the set of jar files to be processed for source extraction, for example based on the manifest information.

Currently only looks at the boolean property jarExtract.onlyGeneratedJars.

Parameters:
jarFile 
Returns:
Exceptions:
IOException 

References alma.acs.makesupport.JarSourceExtractorRunner.Manifest_Attr_ACSGeneratedFromFile, and alma.acs.makesupport.JarSourceExtractorRunner.PROPERTY_EXTRACT_ONLY_GENERATED_JARS.

Referenced by alma.acs.makesupport.JarSourceExtractorRunner.main().


Member Data Documentation

final String alma.acs.makesupport.JarSourceExtractorRunner.PROPERTY_EXTRACT_ONLY_GENERATED_JARS = "jarExtract.onlyGeneratedJars" [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties