• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant - Could not find file to copy

 
Manohar Devale
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
D:\Android\junit>ant
Buildfile: D:\Android\junit\build.xml

clean:

init:

versiontag:

BUILD FAILED
D:\Android\junit\build.xml:36: Warning: Could not find file D:\Android\junit\src\main\java\junit\runner\Version.java.template to copy.

Total time: 1 second

Still I see the same problem. Any body has a solution to this...

Thanks..
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error should be obvious: there is no such file as D:\Android\junit\src\main\java\junit\runner\Version.java.template, yet you asked Ant to copy it. Did you get the file name correct? Did you get the directory name correct?

If that doesn't help, post the directory structure of your project and you build.xml file.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nikos Stavros,
Your post was moved to a new topic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic