User: slaboure
  Date: 02/01/06 03:45:46

  Modified:    .        build.xml
  Log:
  Now compiles the clustered HttpSession and creates .jar and .sar. THEY HAVE NOT YET 
BEEN TESTED!
  
  Revision  Changes    Path
  1.21      +50 -16    jbossmx/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmx/build.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- build.xml 2001/12/31 20:50:47     1.20
  +++ build.xml 2002/01/06 11:45:46     1.21
  @@ -12,7 +12,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.20 2001/12/31 20:50:47 patriot1burke Exp $ -->
  +<!-- $Id: build.xml,v 1.21 2002/01/06 11:45:46 slaboure Exp $ -->
   
   <project default="main" name="JBoss/Cluster">
   
  @@ -35,7 +35,7 @@
     <!-- ================================================================== -->
   
     <!--
  -     | Initialize the build system.  Must depend on '_buildmagic:init'.  
  +     | Initialize the build system.  Must depend on '_buildmagic:init'.
        | Other targets should depend on 'init' or things will mysteriously fail.
      -->
   
  @@ -48,9 +48,9 @@
     <!-- ================================================================== -->
   
     <!--
  -     | Configure the build system.  
  +     | Configure the build system.
        |
  -     | This target is invoked by the Buildmagic initialization logic and 
  +     | This target is invoked by the Buildmagic initialization logic and
        | should contain module specific configuration elements.
      -->
   
  @@ -122,6 +122,13 @@
         <pathelement path="${javagroups.javagroups.lib}/JavaGroups.jar"/>
       </path>
   
  +    <!-- Servlet Specification -->
  +    <property name="sun.servlet.root" value="${project.thirdparty}/sun/servlet"/>
  +    <property name="sun.servlet.lib" value="${sun.servlet.root}/lib"/>
  +    <path id="sun.servlet.classpath">
  +      <pathelement path="${sun.servlet.lib}/servlet.jar"/>
  +    </path>
  +
       <!-- The combined library classpath -->
       <path id="library.classpath">
         <path refid="sun.jmx.classpath"/>
  @@ -131,6 +138,7 @@
         <path refid="apache.log4j.classpath"/>
         <path refid="junit.junit.classpath"/>
         <path refid="javagroups.javagroups.classpath"/>
  +      <path refid="sun.servlet.classpath"/>
       </path>
   
       <!-- ======= -->
  @@ -181,6 +189,7 @@
       <property name="source.java" value="${module.source}/main"/>
       <property name="source.etc" value="${module.source}/etc"/>
       <property name="source.examples" value="${module.source}/examples"/>
  +    <property name="source.resources" value="${module.source}/resources"/>
   
       <!-- Where build generated files will go -->
       <property name="build.classes" value="${module.output}/classes"/>
  @@ -247,7 +256,7 @@
       -->
     <target name="compile"
          description="Compile all source files."
  -       depends="compile-classes, 
  +       depends="compile-classes,
                      compile-rmi,
                      compile-etc"/>
   
  @@ -271,7 +280,7 @@
   
          <!-- Having some issues with this (old xml parser api?) -->
          <exclude name="org/jbossmx/cluster/watchdog/**"/>
  -       <exclude name="org/jboss/ha/httpsession/**"/>
  +       <!--exclude name="org/jboss/ha/httpsession/**"/-->
       </javac>
     </target>
   
  @@ -340,7 +349,7 @@
         <fileset dir="${build.classes}">
           <include name="**"/>
           <exclude name="org/jbossmx/**"/>
  -     <exclude name="org/jboss/ha/httpsession/**"/>
  +        <exclude name="org/jboss/ha/httpsession/**"/>
         </fileset>
       </jar>
   
  @@ -362,6 +371,31 @@
         </fileset>
       </jar>
   
  +    <!-- Build the ClusteredHttpSessionEB.jar -->
  +    <jar jarfile="${build.lib}/ClusteredHttpSessionEB.jar">
  +      <fileset dir="${build.classes}">
  +        <include name="org/jboss/ha/httpsession/interfaces/**"/>
  +        <include name="org/jboss/ha/httpsession/ejb/**"/>
  +      </fileset>
  +      <fileset dir="${source.resources}/ClusteredHTTPSessionBean">
  +        <include name="META-INF/**"/>
  +      </fileset>
  +    </jar>
  +
  +    <!-- Build the jbossha-httpsession.sar -->
  +    <jar jarfile="${build.lib}/jbossha-httpsession.sar">
  +      <fileset dir="${build.lib}">
  +        <include name="ClusteredHttpSessionEB.jar"/>
  +      </fileset>
  +      <fileset dir="${build.classes}">
  +        <include name="org/jboss/ha/httpsession/interfaces/**"/>
  +        <include name="org/jboss/ha/httpsession/server/**"/>
  +      </fileset>
  +      <fileset dir="${source.resources}/ClusteredHTTPSessionService">
  +        <include name="**"/>
  +      </fileset>
  +    </jar>
  +
     </target>
   
   
  @@ -440,21 +474,21 @@
     <!-- Install & Release                                                  -->
     <!-- ================================================================== -->
   
  -  <target name="install" 
  +  <target name="install"
          description="Install the structure for a release."
          depends="all, _buildmagic:install:default"/>
   
     <target name="release" depends="install"/>
   
  -  <target name="release-zip" 
  +  <target name="release-zip"
          description="Builds a ZIP distribution."
          depends="release, _buildmagic:release:zip"/>
   
  -  <target name="release-tar" 
  +  <target name="release-tar"
          description="Builds a TAR distribution."
          depends="release, _buildmagic:release:tar"/>
   
  -  <target name="release-tgz" 
  +  <target name="release-tgz"
          description="Builds a TAR-GZ distribution."
          depends="release, _buildmagic:release:tgz"/>
   
  @@ -468,13 +502,13 @@
     <!-- ================================================================== -->
   
     <!-- Clean up all build output -->
  -  <target name="clean" 
  +  <target name="clean"
          description="Cleans up most generated files."
          depends="_buildmagic:clean">
     </target>
   
     <!-- Clean up all generated files -->
  -  <target name="clobber" 
  +  <target name="clobber"
          description="Cleans up all generated files."
          depends="_buildmagic:clobber, clean">
     </target>
  @@ -487,16 +521,16 @@
     <target name="main"
          description="Executes the default target (most)."
          depends="most"/>
  -    
  +
     <target name="all"
          description="Builds everything."
          depends="jars, docs"/>
   
  -  <target name="most" 
  +  <target name="most"
          description="Builds almost everything."
          depends="jars"/>
   
  -  <target name="help" 
  +  <target name="help"
             description="Show this help message."
          depends="_buildmagic:help:standard"/>
   
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to