brett       2004/05/20 08:33:02

  Modified:    maven-jelly-tags Tag: MAVEN-1_0-BRANCH project.xml
               maven-jelly-tags/src/java/main/org/apache/maven/jelly/tags/maven
                        Tag: MAVEN-1_0-BRANCH AddPathTag.java
               maven-jelly-tags/xdocs Tag: MAVEN-1_0-BRANCH changes.xml
  Log:
  improve error reporting
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.8   +1 -1      maven/maven-jelly-tags/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/maven/maven-jelly-tags/project.xml,v
  retrieving revision 1.1.2.7
  retrieving revision 1.1.2.8
  diff -u -r1.1.2.7 -r1.1.2.8
  --- project.xml       11 May 2004 23:23:46 -0000      1.1.2.7
  +++ project.xml       20 May 2004 15:33:02 -0000      1.1.2.8
  @@ -23,7 +23,7 @@
     <groupId>maven</groupId>
     <artifactId>maven-jelly-tags</artifactId>
     <name>Maven Jelly Tag Library</name>
  -  <currentVersion>1.0</currentVersion>
  +  <currentVersion>1.0.1-SNAPSHOT</currentVersion>
     <organization>
       <name>Apache Software Foundation</name>
       <url>http://www.apache.org/</url>
  
  
  
  No                   revision
  No                   revision
  1.13.4.5  +9 -1      
maven/maven-jelly-tags/src/java/main/org/apache/maven/jelly/tags/maven/AddPathTag.java
  
  Index: AddPathTag.java
  ===================================================================
  RCS file: 
/home/cvs/maven/maven-jelly-tags/src/java/main/org/apache/maven/jelly/tags/maven/AddPathTag.java,v
  retrieving revision 1.13.4.4
  retrieving revision 1.13.4.5
  diff -u -r1.13.4.4 -r1.13.4.5
  --- AddPathTag.java   1 Mar 2004 22:36:37 -0000       1.13.4.4
  +++ AddPathTag.java   20 May 2004 15:33:02 -0000      1.13.4.5
  @@ -61,7 +61,15 @@
           checkAttribute( getRefid(), "refid" );
   
           Path path = (Path) project.getReferences().get( getId() );
  +        if ( path == null )
  +        {
  +            throw new JellyTagException( "cannot find the path to add to specified 
by 'id': " + getId() );
  +        }
           Path addPath = (Path) project.getReferences().get( getRefid() );
  +        if ( addPath == null )
  +        {
  +            throw new JellyTagException( "cannot find the path to add specified by 
'refid': " + getRefid() );
  +        }
           path.append( addPath );
       }
   
  
  
  
  No                   revision
  No                   revision
  1.1.2.5   +4 -0      maven/maven-jelly-tags/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven/maven-jelly-tags/xdocs/changes.xml,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- changes.xml       11 May 2004 23:24:07 -0000      1.1.2.4
  +++ changes.xml       20 May 2004 15:33:02 -0000      1.1.2.5
  @@ -24,6 +24,10 @@
       <author email="[EMAIL PROTECTED]">Vincent Massol</author>
     </properties>
     <body>
  +    <release version="1.0.1-SNAPSHOT" date="in CVS">
  +      <action dev="brett" type="update">Improve error reporting in 
<code>AddPathTag</code>.</action>
  +    </release>
  +
       <release version="1.0" date="2004-05-11">
         <action dev="vmassol" type="add">Added new
           <code>SetTag</code> tag to set plugin properties
  
  
  

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

Reply via email to