commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly maven.xml
Date Sun, 02 Jan 2005 13:09:09 GMT
dion        2005/01/02 05:09:09

  Modified:    jelly    maven.xml
  Log:
  Fix taglib sites being broken after top level parent-project.xml was introduced.
  
  Revision  Changes    Path
  1.90      +21 -7     jakarta-commons/jelly/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/maven.xml,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- maven.xml	31 Dec 2004 06:46:35 -0000	1.89
  +++ maven.xml	2 Jan 2005 13:09:09 -0000	1.90
  @@ -21,13 +21,27 @@
     <!-- ================================================================== -->
     <!-- Required: Look and Feel for documentation within distributions     -->
     <!-- ================================================================== -->
  -  <postGoal name="xdoc:copy-resources">  
  -    <copy todir="${basedir}/target/docs/style/" failonerror="false">
  -      <fileset dir="${basedir}/../commons-build/xdocs/style">
  -          <include name='**/*'/>
  -          <exclude name='**/CVS/**'/>
  -      </fileset>
  -    </copy>
  +  <postGoal name="xdoc:copy-resources">
  +    <!-- check commons-build is available before using -->
  +    <j:set var="commonsBuildStyle" value="${basedir}/../commons-build/xdocs/style" />
  +    <util:available file="${commonsBuildStyle}">
  +      <copy todir="${basedir}/target/docs/style/" failonerror="false">
  +        <fileset dir="${commonsBuildStyle}">
  +            <include name='**/*'/>
  +            <exclude name='**/CVS/**'/>
  +        </fileset>
  +      </copy>
  +    </util:available>
  +    <!-- check commons-build is available for a taglib before using -->
  +    <j:set var="commonsBuildStyle" value="${basedir}/../.././commons-build/xdocs/style"
/>
  +    <util:available file="${commonsBuildStyle}">
  +      <copy todir="${basedir}/target/docs/style/" failonerror="false">
  +        <fileset dir="${commonsBuildStyle}">
  +            <include name='**/*'/>
  +            <exclude name='**/CVS/**'/>
  +        </fileset>
  +      </copy>
  +    </util:available>
     </postGoal>
     <!-- ================================================================== -->
     <!-- END: C O M M O N S - B U I L D                                     -->
  
  
  

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


Mime
View raw message