You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by jg...@apache.org on 2012/01/31 19:11:36 UTC

svn commit: r1238725 - in /ant/core/trunk: WHATSNEW src/script/ant

Author: jglick
Date: Tue Jan 31 18:11:36 2012
New Revision: 1238725

URL: http://svn.apache.org/viewvc?rev=1238725&view=rev
Log:
#52556: removed buggy duplicate JAR list in RPM mode.

Modified:
    ant/core/trunk/WHATSNEW
    ant/core/trunk/src/script/ant

Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=1238725&r1=1238724&r2=1238725&view=diff
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Tue Jan 31 18:11:36 2012
@@ -13,6 +13,9 @@ Changes that could break older environme
 Fixed bugs:
 -----------
 
+ * Removed buggy duplicate JAR list in RPM mode.
+   Bugzilla Report 52556.
+
  * Launcher fixed to pass the right class loader parent.
    Bugzilla Report 48633.
 

Modified: ant/core/trunk/src/script/ant
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/script/ant?rev=1238725&r1=1238724&r2=1238725&view=diff
==============================================================================
--- ant/core/trunk/src/script/ant (original)
+++ ant/core/trunk/src/script/ant Tue Jan 31 18:11:36 2012
@@ -176,10 +176,7 @@ if $rpm_mode && [ -x /usr/bin/build-clas
         *.rpmnew) ;;
         *)
           for dep in `cat "$file"`; do
-            case "$OPT_JAR_LIST" in
-            *"$dep"*) ;;
-            *) OPT_JAR_LIST="$OPT_JAR_LIST${OPT_JAR_LIST:+ }$dep"
-            esac
+            OPT_JAR_LIST="$OPT_JAR_LIST${OPT_JAR_LIST:+ }$dep"
           done
         esac
       fi