Ant replaces - (dash) with _ (underscore) - Patch Attached

Bug #296409 reported by Rich Johnson
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ant (Ubuntu)
Fix Released
Medium
Unassigned
Intrepid
Invalid
Undecided
Unassigned
Jaunty
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ant

When using Ant to build out our software here at work, we noticed that with Intrepid it started replacing our package names that had a - (dash) in them to an _ (underscore) which caused build failures along the way.

In my patch, I edited the optional taskdefs Rpm.java file and add a space (" ") after the _topDir variable as noted in the RPM Users lists - http://rpm5.org/community/rpm-users/0141.html

I am attaching a patch at this time that fixes this problem.

Related branches

Revision history for this message
Rich Johnson (nixternal) wrote :
Changed in ant:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Rich Johnson (nixternal) wrote :

Adding new patch that would close this report when uploaded.

Also, this issue is in Intrepid and Jaunty only.

Changed in ant:
milestone: none → ubuntu-8.10
milestone: ubuntu-8.10 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ant - 1.7.1-0ubuntu2

---------------
ant (1.7.1-0ubuntu2) jaunty; urgency=low

  * Added 11_ant_underscore_dash_fix.patch fixes - to _ conversion LP: #296409

 -- <email address hidden> (Richard A. Johnson) Mon, 10 Nov 2008 11:53:55 -0600

Changed in ant:
status: Triaged → Fix Released
Revision history for this message
Martijn Kruithof (jkf-apache) wrote :

Similar (or same) fix commited on ant.
http://svn.apache.org/viewvc?rev=742061&view=rev

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Intrepid Ibex reached end-of-life on 30 April 2010 so I am closing the
report. The bug has been fixed in newer releases of Ubuntu.

Changed in ant (Ubuntu Intrepid):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.