org.apache.maven.script.ant
Class AntPropertyHelper

java.lang.Object
  extended by org.apache.tools.ant.PropertyHelper
      extended by org.apache.maven.script.ant.AntPropertyHelper

public class AntPropertyHelper
extends org.apache.tools.ant.PropertyHelper

Makes the ${expressions} used in Maven available to Ant as properties.

Author:
Kenney Westerhof

Constructor Summary
AntPropertyHelper(org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator exprEvaluator, Log l)
          Deprecated. use AntPropertyHelper(ExpressionEvaluator, Set, Log) to resolve maven.dependency.* properties
AntPropertyHelper(org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator exprEvaluator, Set artifacts, Log l)
           
AntPropertyHelper(MavenProject project, Log l)
          Deprecated. use the other constructor
 
Method Summary
 Object getPropertyHook(String ns, String name, boolean user)
           
 
Methods inherited from class org.apache.tools.ant.PropertyHelper
copyInheritedProperties, copyUserProperties, getInternalInheritedProperties, getInternalProperties, getInternalUserProperties, getNext, getProject, getProperties, getProperty, getPropertyHelper, getUserProperties, getUserProperty, parsePropertyString, replaceProperties, setInheritedProperty, setNewProperty, setNext, setProject, setProperty, setPropertyHook, setUserProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntPropertyHelper

public AntPropertyHelper(MavenProject project,
                         Log l)
Deprecated. use the other constructor

Parameters:
project -
l -

AntPropertyHelper

public AntPropertyHelper(org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator exprEvaluator,
                         Log l)
Deprecated. use AntPropertyHelper(ExpressionEvaluator, Set, Log) to resolve maven.dependency.* properties

Parameters:
exprEvaluator -
l -

AntPropertyHelper

public AntPropertyHelper(org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator exprEvaluator,
                         Set artifacts,
                         Log l)
Parameters:
exprEvaluator -
artifacts -
l -
Method Detail

getPropertyHook

public Object getPropertyHook(String ns,
                              String name,
                              boolean user)
Overrides:
getPropertyHook in class org.apache.tools.ant.PropertyHelper
See Also:
PropertyHelper.getPropertyHook(java.lang.String, java.lang.String, boolean)


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.