File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant script <SNV> <list> not working.

 
Rahul Jampani
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am trying to list all the files that will checkout from SVN. This is following code that I am using:



can't figure out what I am doing wrong here?

Thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "not working." Do you get an error message when it runs?
 
Rahul Jampani
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not getting any error, but cant see the list of files checkout either.

Jeanne Boyarsky wrote:What do you mean by "not working." Do you get an error message when it runs?


 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps the <svn> task is getting confused with having both the <checkout> and <list> subtags defined. You shoudl try passing only the <list> subtag with the necessary information (such as the "url" property and "recurse"). Example:

 
Rahul Jampani
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply

There is no checkout task in the code that you gave me. Assuming that you meant checkout and not list, this does not worked either.

Thanks again
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You wanted a list of possible files that would be checked out, right? Then you want to use the list command, not the checkout command. For example, this command:



will print out a list of the files that would be checked out if you did a "svn checkout <url-to-project>" instead. You just need to convert that command to the property <list> entry in the <svn> task.

Also, there is no need to quote my reply, that just tends to make posts harder to read. I removed the quote for you.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic