|
echopropertiesDescriptionDisplays all the current properties in the project. The output can be sent to a file if desired. You can also specify a subset of properties to save by naming a prefix: only properties starting with this prefix will be saved. This task can be used as a somewhat contrived means of returning data from an <ant> invocation, but is really for debugging build files. Parameters
Examples<echoproperties/> Report the current properties to the log. <echoproperties destfile="my.properties"/> Report the current properties to the file "my.properties", and will fail the build if the file could not be created or written to. <echoproperties destfile="my.properties" failonerror="false" /> Report the current properties to the file "my.properties", and will log a message if the file could not be created or written to, but will still allow the build to continue. <echoproperties prefix="java."/> List all properties beginning with "java." Copyright © 2002 Apache Software Foundation. All rights Reserved. |