org.objectweb.easybeans.ant.archive
Class Client

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.objectweb.easybeans.ant.archive.AbsArchive
              extended by org.objectweb.easybeans.ant.archive.Client
All Implemented Interfaces:
java.lang.Cloneable

public class Client
extends AbsArchive

Task that creates a client archive (only .jar file).

Author:
Florent Benoit

Field Summary
private  java.lang.String mainClassAttribute
          Name of the Main-Class attribute.
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Client()
          Default constructor.
 
Method Summary
 void execute()
          Execute the task.
 void setMainClass(java.lang.String mainClassAttribute)
          Sets the Main-Class: Attribute of the manifest.
 
Methods inherited from class org.objectweb.easybeans.ant.archive.AbsArchive
addFileSet, getDest, getFileSetList, getName, isExploded, setDD, setDest, setExploded, setName, updateArchiveInfo
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainClassAttribute

private java.lang.String mainClassAttribute
Name of the Main-Class attribute.

Constructor Detail

Client

public Client()
Default constructor.

Method Detail

execute

public void execute()
Execute the task.

Overrides:
execute in class org.apache.tools.ant.Task

setMainClass

public void setMainClass(java.lang.String mainClassAttribute)
Sets the Main-Class: Attribute of the manifest.

Parameters:
mainClassAttribute - the value of the Main-Class attribute