You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Steve Loughran <st...@apache.org> on 2005/08/25 14:13:49 UTC
ant1.7 : makeurl
FYi, I have donated my project's makeurl task to ant, so instead of
making a file: URL by going
<pathconvert targetos="unix" property="repo.path.unix">
<map from="c:" to=""/>
<path>
<pathelement location="${basedir}/target/deployment-repo-scm"/>
</path>
</pathconvert>
<property name="scm.url" value="file://${repo.path.unix}"/>
you go
<makeurl name="scm.url" file="${basedir}/target/deployment-repo-scm"/>
-handles things like spaces in filenames properly, unlike pathconvert.
-will be in Ant1.7 and not before.
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org