ant - ERROR: The entity name must immediately follow the '&' in the entity reference -
i'm executing script in jenkins using antexec plugin. shows "error: entity name must follow '&' in entity reference ".
this script
<project name="myproject" default="copy" basedir="https://mysvn.com/project data/analysis & design/table structures/db/script.sql"> <target name="copy"> <copy todir="c:\software\myproject\sources\myfile"> </copy> </target> </project>
ant build files xml - if want include &
character have represent &
.
but i'm pretty sure script won't want to. try more this:
<get src="https://mysvn.com/project%20data/analysis%20&%20design/table%20structures/db/script.sql" dest="c:\software\myproject\sources\myfile" />
note i've escaped spaces in url %20
, required uri encoding rules.
Comments
Post a Comment