dion        02/05/14 21:50:55

  Modified:    src/java/org/apache/maven/j2ee WarValidator.java
  Log:
  Fixed ugly formatting messages due to bad subject passed on events
  
  Revision  Changes    Path
  1.8       +3 -3      
jakarta-turbine-maven/src/java/org/apache/maven/j2ee/WarValidator.java
  
  Index: WarValidator.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/j2ee/WarValidator.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- WarValidator.java 15 May 2002 04:36:53 -0000      1.7
  +++ WarValidator.java 15 May 2002 04:50:55 -0000      1.8
  @@ -157,13 +157,13 @@
               if (!warFile.exists())
               {
                   getBroadcaster().fireErrorEvent(new ValidationEvent(this, 
  -                    warFile, "File does not exist"));
  +                    getWarFileName(), "File does not exist"));
                   return;
               }
               if (!warFile.canRead())
               {
                   getBroadcaster().fireErrorEvent(new ValidationEvent(this, 
  -                    warFile, "File does not exist"));
  +                    getWarFileName(), "File does not exist"));
                   return;
               }
   
  @@ -173,7 +173,7 @@
               if (webxmlEntry == null)
               {
                   getBroadcaster().fireWarningEvent(new ValidationEvent(this,
  -                    jarFile, "WEB-INF/web.xml entry not found"));
  +                    getWarFileName(), "WEB-INF/web.xml entry not found"));
               }
               else
               {
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to