<?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="mx4j">

  <url href="http://mx4j.sourceforge.net/"/>
  <description>
    OpenSource implementation of a JMX agent
  </description>
  <redistributable/>

  <cvs repository="sourceforge"  dir="mx4j"/>
  
  <nag from="Simone Bordet &lt;simone.bordet@hp.com&gt;"
         to="mx4j-devel@lists.sourceforge.net"/>

  <project name="mx4j">
    <package>mx4j</package>
    <package>javax.management</package>

    <ant basedir="build" target="compile.rjmx"/>
    <depend project="ant" inherit="runtime"/>
    <depend project="xml-xerces"/>
    <depend project="xmlunit"/>
    <depend project="logging-log4j"/>
    <depend project="jakarta-bcel"/>
    <depend project="junit"/>
    <depend project="commons-codec" />
    <depend project="commons-logging" />
    <depend project="ws-axis"/>
    <option project="javamail"/>
    <option project="jsse"/>
    <option project="jaf"/>
    <option project="jython"/>
    <work nested="classes/core"/>
 
    <home nested="dist"/>
    <jar name="lib/mx4j-jmx.jar" id="mx4j-jmx"/>
    <jar name="lib/mx4j-impl.jar" id="mx4j-impl"/>
    <jar name="lib/mx4j.jar" id="mx4j"/>

    <jar name="lib/mx4j-rjmx.jar" id="mx4j-rjmx"/>
    <jar name="lib/mx4j-rimpl.jar" id="mx4j-rimpl"/>
    <jar name="lib/mx4j-remote.jar" id="mx4j-remote"/>
    <license name="src/docs/english/license.xml"/>
  </project>

  <project name="mx4j-tools">
    <package>mx4j</package>
    <package>javax.management</package>

    <ant basedir="build" target="release"/>
    <depend project="xml-xalan2"/>
    <depend project="mx4j" inherit="all"/>

    <work nested="classes/core"/>
    <work nested="classes/tools"/>
    <depend project="jetty"/>
 
    <home nested="dist"/>
    <jar name="lib/mx4j-tools.jar" id="mx4j-tools"/>
    <license name="src/docs/english/license.xml"/>
  </project>

  <project name="mx4j-tools-from-packaged-jetty">
    <package>mx4j</package>
    <package>javax.management</package>

    <ant basedir="build" target="release"/>
    <depend project="mx4j" inherit="all"/>

    <work nested="classes/core"/>
    <work nested="classes/tools"/>
    <depend project="xml-xalan2"/>
    <depend project="packaged-jetty"/>
 
    <home nested="dist"/>
    <jar name="lib/mx4j-tools.jar" id="mx4j-tools"/>
    <license name="src/docs/english/license.xml"/>
  </project>

</module>
