Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

svn cat patch #5

Closed
GoogleCodeExporter opened this issue Apr 8, 2015 · 2 comments
Closed

svn cat patch #5

GoogleCodeExporter opened this issue Apr 8, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

This patch allows you to get the contents of a file and store it in an ant
property.


<svn><cat url="${svn.branchdir}/VERSION" contentsProperty="version"/></svn>

it also includes a string-munging task that just chops off the last
component of a URL...  we use it, but not sure it's needed in general
(there may be other ant tasks for string manipulation elsewhere)?

<svn><getParentUrl url="${svn.url}" parentUrlProperty="svn.branchdir" /></svn>


Original issue reported on code.google.com by the...@gmail.com on 28 Jan 2009 at 6:57

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by latch...@gmail.com on 28 Apr 2009 at 1:58

  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Joe, I'm finally getting around to this patch and I've realized you don't need 
these within 
this project.

http://ant.apache.org/manual/CoreTasks/loadfile.html (replaces <cat>)

The other one also isn't really svn specific.

I'm sorry, but I've got to close this as wontfix.

Original comment by latch...@gmail.com on 31 May 2009 at 12:23

  • Changed state: WontFix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant