ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Manifest.java
Date Wed, 24 Sep 2003 15:12:50 GMT
conor       2003/09/24 08:12:50

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH
                        Manifest.java
  Log:
  Add warning for multiple classpaths
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.48.2.1  +4 -0      ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java
  
  Index: Manifest.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Manifest.java,v
  retrieving revision 1.48
  retrieving revision 1.48.2.1
  diff -u -w -u -r1.48 -r1.48.2.1
  --- Manifest.java	15 Sep 2003 16:55:01 -0000	1.48
  +++ Manifest.java	24 Sep 2003 15:12:49 -0000	1.48.2.1
  @@ -619,6 +619,10 @@
                       if (classpathAttribute == null) {
                           storeAttribute(attribute);
                       } else {
  +                        warnings.addElement("Multiple Class-Path attributes "
  +                            + "are supported but violate the Jar "
  +                            + "specification and may not be correctly "
  +                            + "processed in all environments");
                           Enumeration e = attribute.getValues();
                           while (e.hasMoreElements()) {
                               String value = (String) e.nextElement();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message