<?xml version="1.0"?>

<!--
 JBoss, the OpenSource J2EE webOS
 
 Distributable under LGPL license.
 See terms of license at gnu.org.
-->

<!-- ================================================================== -->
<!-- ejb3x  component definition                                        -->
<!-- ================================================================== -->

<project name="project" 
         default="build" 
         basedir="."
>
   <!-- The main build -->
   <import file="../tools/etc/jbossbuild/tasks.xml"/>
   <import file="component-info.xml"/>

   <!-- =============================================================== -->
   <!-- The component definition                                        -->
   <!-- =============================================================== -->

   <componentdef component="ejb3x" 
                 description="ejb3x Integration Module">

      <!-- ============================================================ -->
      <!-- The main source                                              -->
      <!-- ============================================================ -->

      <source id="main" requiredJDK="1.5" jvmSource="1.5" jvmTarget="1.5">
         <include component="sun-jaf"/>
         <include component="sun-servlet"/>
         <include component="common"/>
         <include component="aop"/>
         <include component="j2ee"/>
      </source>

      <!-- ============================================================ -->
      <!-- jboss-ejb3x.jar                                                -->
      <!-- ============================================================ -->

      <artifactdef artifact="jboss-ejb3x.jar" requiredJDK="1.5">
         <include input="main">
            <include pattern="javax/**"/>
         </include>
      </artifactdef>


   </componentdef>

   <!-- Generate the targets -->   
   <generate generate="ejb3x"/>

</project>
