Last active
October 1, 2015 08:08
-
-
Save jasonhofer/1951703 to your computer and use it in GitHub Desktop.
Apache Ant property shortcuts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property name="\n" value="${line.separator}" /> | |
<property name="/" value="${file.separator}" /> | |
<property name=":" value="${path.separator}" /> | |
<!-- tab char --> | |
<script language="javascript">project.setUserProperty("\\t", "\t");</script> | |
<!-- for surrounding command line options --> | |
<condition property="'" value=""" else="'"> | |
<os family="windows" /> | |
</condition> | |
<!-- stores the path in env.PATH, no matter what OS it is --> | |
<property environment="env" /> | |
<property name="env.PATH" value="${env.Path}" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment