Package de.hybris.ant.taskdefs
Class SetPlatformProperties
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
de.hybris.ant.taskdefs.SetPlatformProperties
- All Implemented Interfaces:
Cloneable
public class SetPlatformProperties
extends org.apache.tools.ant.Task
This Task sets several platform properties ala '$ext.extensionname.path'. Therefore each extensioninfo.xml of
each installed extension is parsed and evaluated.
-
Field Summary
FieldsFields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildRelativePath(File fromDir, File toFileOrDir) see UtilitiesTest.testBuildRelativePath computes the relative file path from the "fromDir" to the "toFileOrDir" argument.voidexecute()static FilegetTargetProductionBinDir(org.apache.tools.ant.Project project) protected booleanisInCommandLine(String arg) 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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
COREPLUS_EXTENSION_MODE
- See Also:
-
COREPLUS_EXTENSION_ENDPOINT
- See Also:
-
PRODUCTION_GENERATE_CONTEXTES
- See Also:
-
-
Constructor Details
-
SetPlatformProperties
public SetPlatformProperties()
-
-
Method Details
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
isInCommandLine
-
getTargetProductionBinDir
-
buildRelativePath
see UtilitiesTest.testBuildRelativePath computes the relative file path from the "fromDir" to the "toFileOrDir" argument.- Parameters:
fromDir- the dir to start fromtoFileOrDir- the dir or file to go to- Returns:
- the relative path
-