conor       2003/09/24 08:11:13

  Modified:    src/main/org/apache/tools/ant/taskdefs Manifest.java
  Log:
  Add warning for multiple classpaths
  
  Revision  Changes    Path
  1.49      +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.49
  diff -u -w -u -r1.48 -r1.49
  --- Manifest.java     15 Sep 2003 16:55:01 -0000      1.48
  +++ Manifest.java     24 Sep 2003 15:11:13 -0000      1.49
  @@ -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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to