• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ant - Could not find file to copy

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nikos Stavros,
Your post was moved to a new topic.
reply
    Bookmark Topic Watch Topic
  • New Topic