Skip to content

Instantly share code, notes, and snippets.

@65
Created March 10, 2012 09:59
Show Gist options
  • Save 65/2011014 to your computer and use it in GitHub Desktop.
Save 65/2011014 to your computer and use it in GitHub Desktop.
Keeping the private stuff out of ANT config files
<input message="Please enter svn username:" addproperty="svn.username" defaultvalue="" />
<input message="Please enter svn password:" addproperty="svn.password" defaultvalue="" />
<!-- update working copy to make sure -->
<echo message="updating working copy at ${svn.wc}" />
<svn username="${svn.username}" password="${svn.password}">
<update dir="${svn.wc}"/>
</svn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment