tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant DeployTask.java
Date Thu, 02 Sep 2004 22:31:38 GMT
remm        2004/09/02 15:31:38

  Modified:    catalina/src/share/org/apache/catalina/ant DeployTask.java
  Log:
  - It should be ok to call deploy with just config.
  - Submitted by Michael Schuerig.
  
  Revision  Changes    Path
  1.7       +3 -3      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/DeployTask.java
  
  Index: DeployTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/DeployTask.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- DeployTask.java	27 Feb 2004 14:58:40 -0000	1.6
  +++ DeployTask.java	2 Sep 2004 22:31:38 -0000	1.7
  @@ -142,9 +142,9 @@
               throw new BuildException
                   ("Must specify 'path' attribute");
           }
  -        if ((war == null) && (localWar == null) && (tag == null)) {
  +        if ((war == null) && (localWar == null) && (config == null) &&
(tag == null)) {
               throw new BuildException
  -                ("Must specify either 'war', 'localWar', or 'tag' attribute");
  +                ("Must specify either 'war', 'localWar', 'config', or 'tag' attribute");
           }
   
           // Building an input stream on the WAR to upload, if any
  
  
  

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


Mime
View raw message