wcs
Class JarTask

java.lang.Object
  extended by wcs.Task
      extended by wcs.ProcessTask
          extended by wcs.JarTask
All Implemented Interfaces:
Runnable

public class JarTask
extends ProcessTask

task to run jar. BUG: this should not use ProcessTask. BUG: this does not support all conceivable options.


Nested Class Summary
 
Nested classes/interfaces inherited from class wcs.Task
Task.Exception, Task.In, Task.Out
 
Field Summary
 
Fields inherited from class wcs.ProcessTask
argv
 
Fields inherited from class wcs.Task
env, err, in, out
 
Constructor Summary
JarTask(File dir, Task.In in, Task.Out out, Task.Out err, Properties env)
          required properties: jar archiver
 
Method Summary
static void main(String[] argv)
          test: command line and standard i/o with system properties.
 
Methods inherited from class wcs.ProcessTask
run, run
 
Methods inherited from class wcs.Task
In, In, In, Out, Out
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarTask

public JarTask(File dir,
               Task.In in,
               Task.Out out,
               Task.Out err,
               Properties env)
        throws IOException
required properties:
jar archiver

Parameters:
in - (non-empty) archive to be updated, may be null or Task.In.None.
dir - tree to be added.
out - new archive.
Throws:
IOException
Method Detail

main

public static void main(String[] argv)
                 throws Exception
test: command line and standard i/o with system properties.

Throws:
Exception