fr.paris5.shaman.system
Class AntProject
java.lang.Object
|
+--fr.paris5.shaman.system.AntProject
- public class AntProject
- extends java.lang.Object
Makes access to an Ant project easier. Also encapsulates
access to project properties.
- Version:
- $Id: AntProject.java,v 1.2 2002/07/01 09:55:28 caillette Exp $
- Author:
- Laurent Caillette
Field Summary |
private java.lang.String |
antBuildFileName
|
static java.lang.String |
INIT_TARGET
MUST be consistent with the name of the target initializing
useful properties. |
private org.apache.tools.ant.Project |
project
|
Constructor Summary |
AntProject(java.lang.String antBuildFileName)
|
AntProject(java.lang.String antBuildFileName,
java.util.Properties userProperties)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
antBuildFileName
private final java.lang.String antBuildFileName
project
private final org.apache.tools.ant.Project project
INIT_TARGET
public static final java.lang.String INIT_TARGET
- MUST be consistent with the name of the target initializing
useful properties.
AntProject
public AntProject(java.lang.String antBuildFileName)
AntProject
public AntProject(java.lang.String antBuildFileName,
java.util.Properties userProperties)
getProject
public org.apache.tools.ant.Project getProject()
getBuildFileName
public java.lang.String getBuildFileName()
getProperty
public java.lang.String getProperty(java.lang.String name)
getProperty
public java.lang.String getProperty(java.lang.String name,
java.lang.String defaultValue)
getProperty
public java.lang.String getProperty(java.lang.String name,
boolean acceptNull)
executeAntTarget
public void executeAntTarget(java.lang.String target)
throws java.lang.Exception
executeAntTarget
public void executeAntTarget(java.lang.String target,
java.util.Properties antUserProperties)
throws java.lang.Exception
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.