You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/09/26 17:50:42 UTC

cvs commit: maven/src/plugins-build/xdoc/src/plugin-test maven.xml

dion        2003/09/26 08:50:42

  Modified:    src/plugins-build/xdoc/src/plugin-test maven.xml
  Log:
  Ensure xdocs correctly generated with relative xml entities
  
  Revision  Changes    Path
  1.2       +8 -1      maven/src/plugins-build/xdoc/src/plugin-test/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/xdoc/src/plugin-test/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml	24 Sep 2003 08:35:33 -0000	1.1
  +++ maven.xml	26 Sep 2003 15:50:42 -0000	1.2
  @@ -6,6 +6,13 @@
     </goal>
     
     <goal name="test-xdoc">
  -    <!--<attainGoal name="xdoc"/>-->
  +    <attainGoal name="xdoc"/>
  +
  +    <j:set var="expectedFile" 
  +      value="${maven.docs.dest}/test.html"/>
  +    <util:file var="file" name="${expectedFile}" />
  +    <j:if test="${!(file.exists())}">
  +      <fail>${expectedFile} not generated</fail>
  +    </j:if>
     </goal>
   </project>
  
  
  

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