Package org.openbravo.base.session
Class HostNameTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.openbravo.base.session.HostNameTask
-
- All Implemented Interfaces:
Cloneable
public class HostNameTask extends org.apache.tools.ant.Task
Prints local host name as it will be used when looking for machine specific Openbravo.properties files to override common properties. The name of the file should be
hostName.Openbravo.properties
wherehostName
is the output of the execution of this task.It can be executed by
ant host.name
command.- Author:
- alostale
- See Also:
ConfigParameters.overrideProperties(java.util.Properties, java.lang.String)
-
-
Constructor Summary
Constructors Constructor Description HostNameTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
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
-
-