Blog Post

Ant, RPM, why do my dashes become underscores?

Just wanted to throw this out and see if anyone else is experiencing this, has experienced this, or knows how to fix this. I only know of one way to reproduce this and it is using Ant to create RPMs. I have my directory structure like the following:


When I run Ant in sub-folder, it will break complaining that there is no such file or directory. It is there! For real it is. But after further review, I noticed it wasn’t lying, but it was looking for a different directory. It was looking for the following:


That’s right, it is trying to do work in the sub_folder instead of the correct sub-folder. I am going nuts trying to figure this out.

My work around right now is to rename the sub-folder to sub_folder and then everything works out. Any ideas?

Note: This just started happening in Intrepid, worked fine earlier in Intrepid and worked in Hardy.

This entry was posted in Application and tagged . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
  • j-e-s-s

    did you find which versions of ant its changed in? maybe check the release notes?

  • I have scoured my ant checkout and I haven’t found one single thing that has changed in ant that would cause it. There is actually no difference in the version I used in Hardy and the Version I use in Intrepid. The issue is outside of Ant.

  • Fixed this and uploaded to Jaunty. Will work at backporting it to Intrepid and checking upstream as well.

  • Pingback: Anecdotes of a Dog Part 7 | Anecdotes of a Dog()

  • Pingback: Anecdotes of a Dog Part 7 | Anecdotes of a Dog()

  • Subscribe to

     Subscribe in a reader

    Or, subscribe via email:
    Enter your email address:

  • Archives

%d bloggers like this: