<?xml version="1.0" ?>
<!--
  Copyright 2001-2004 The Apache Software Foundation

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<module name="checkstyle">

  <url href="http://checkstyle.sourceforge.net/"/>
  <description>
    Java style checker
  </description>
  
  <cvs repository="sourceforge" 
  	dir="checkstyle"/>

  <project name="checkstyle">
    <package>com.puppycrawl.tools.checkstyle</package>
  
    <mkdir dir="target/checkstyle"/>
    
    <!-- Hopefully the checkstyle team will create two
    	external gump targets (for compile and test) for
    	these two gump projects. Until then, use 
    	explicit sub-targets. -->
    
    <ant target="gump.setup build.bindist">
      <property name="version" value="@@DATE@@"/>
    </ant>

    <depend project="ant" inherit="runtime"/>
    <depend project="xml-xerces"/>
    <depend project="xml-xalan2"/>
    <depend project="antlr" runtime="true"/>
    <depend project="jakarta-regexp" runtime="true"/>
    <depend project="jakarta-bcel" runtime="true"/>
    <depend project="commons-beanutils-core" runtime="true"/>
    <depend project="commons-cli" runtime="true"/>
    <depend project="commons-collections" runtime="true"/>
    <depend project="commons-logging" runtime="true"/>

    <!-- to run Anakia -->
    <depend project="jakarta-site2" inherit="all"/>
    
    <work nested="target/checkstyle"/>

    <jar name="target/dist/checkstyle-@@DATE@@/checkstyle-@@DATE@@.jar"/>

    <license name="LICENSE"/>

    <nag from="Conor MacNeill &lt;conor@apache.org&gt;"
         to="checkstyle-devel@sourceforge.net"/>
  </project>
  
  <!--
  	This project is for testing checkstyle upon it's
  	dependencies, however it could be used by any project
  	that wished to depend upon checkstyle IFF it passes
  	it's unit tests. Theoretically possible...
  -->
  <project name="checkstyle-test">
    <package>com.puppycrawl.tools.checkstyle</package>
  
    <ant target="gump.setup run.tests">
      <property name="version" value="@@DATE@@"/>
    </ant>

    <depend project="ant" inherit="runtime"/>
    <depend project="xml-xerces"/>
    <depend project="checkstyle" inherit="runtime"/>
    <depend project="junit"/>
    
    <work nested="target/checkstyle"/>
    <work nested="target/tests"/>

	<nag from="Conor MacNeill &lt;conor@apache.org&gt;"
         to="checkstyle-devel@sourceforge.net"/>
  </project>
  
</module>
