jakarta-alexandria-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-alexandria/proposal/gump/project xdoclet.xml
Date Tue, 18 Jun 2002 12:42:29 GMT
bodewig     2002/06/18 05:42:29

  Modified:    proposal/gump/project xdoclet.xml
  Log:
  Next try - break up xdoclet's build process in several steps to avoid
  the joy of static caches.
  
  Detailed:  xdoclet searches META-INF/xdoclet.xml to register modules
  and stores the modules found in a static cache.  The "externalizer" is
  part of the xdoclet module.
  
  In the build file for the xdoclet module META-INF/xdoclet.xml will be
  created by an XDoclet task in xdoclet-xml - this task fills the module
  cache and says the xdoclet module is not there.
  
  The very next build step of the xdoclet module needs the
  "externalizer" which cannot be found.
  
  The XDoclet people never run into the problem as they rely on
  <taskdef> to give them separate class loaders for their tasks
  (i.e. each task gets a cache of its own).  In Gump, all XDoclet
  classes live on the system classloader and thus share the same cache.
  
  Revision  Changes    Path
  1.26      +49 -18    jakarta-alexandria/proposal/gump/project/xdoclet.xml
  
  Index: xdoclet.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/proposal/gump/project/xdoclet.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- xdoclet.xml	18 Jun 2002 09:23:26 -0000	1.25
  +++ xdoclet.xml	18 Jun 2002 12:42:29 -0000	1.26
  @@ -7,71 +7,102 @@
   
     <cvs repository="sourceforge" host-prefix="cvs.xdoclet" dir="xdoclet"/>
     
  +  <project name="xdoclet-compile-core">
  +
  +    <description>Intermediate target that compiles xdoclet&apos;s core
  +    classes</description>
  +
  +    <ant basedir="core" target="compile" />
  +
  +    <depend project="jakarta-ant" runtime="true"/>
  +    <depend project="xml-xerces"/>
  +
  +    <depend project="jrefactory-pretty"/>
  +    <depend project="javacc" />
  +    <depend project="jakarta-log4j" runtime="true"/>
  +    <depend project="xjavadoc" inherit="jars" runtime="true"/>
  +    <depend project="commons-logging" />
  +    <depend project="junit"/>
  +  </project>
  +
  +  <project name="xdoclet-xdoclet-module-prepare">
  +
  +    <description>Intermediate target that prepares xdoclet&apos;s
  +    xdoclet module</description>
  +
  +    <ant basedir="modules/xdoclet" target="xdoclet-xml" />
  +
  +    <depend project="xdoclet-compile-core" inherit="all" />
  +
  +    <work nested="core/build/classes" />
  +  </project>
  +
     <project name="xdoclet">
       <package>xdoclet</package>
   
  -    <mkdir dir="core/build/classes"/>
  -    <mkdir dir="modules/build/xdoclet/classes"/>
       <mkdir dir="modules/build/ejb/classes"/>
  +    <mkdir dir="modules/build/jmx/classes"/>
       <mkdir dir="modules/build/web/classes"/>
   
  -    <ant />
  +    <ant target="docs" />
  +
  +    <depend project="xdoclet-compile-core" inherit="all" />
  +    <depend project="xdoclet-xdoclet-module-prepare" />
   
  -    <depend project="jakarta-ant" runtime="true"/>
  -    <depend project="xml-xerces"/>
       <depend project="xml-xalan2"/>
  -    <depend project="jakarta-log4j" runtime="true"/>
       <depend project="jmx"/>
       <depend project="ejb"/>
       <depend project="jms"/>
  -    <depend project="jrefactory-pretty"/>
       <depend project="jakarta-servletapi-4"/>
  -    <depend project="xjavadoc" inherit="jars" runtime="true"/>
       <depend project="jakarta-bcel" runtime="true"/>
  -    <depend project="junit"/>
  -    <depend project="javacc" />
  -    <depend project="commons-logging" />
  +    <depend project="jakarta-site2" inherit="all"/>
   
  -    <work nested="core/build/classes"/>
  +    <work nested="core/build/classes" />
       <work nested="modules/build/xdoclet/classes"/>
       <work nested="modules/build/ejb/classes"/>
  +    <work nested="modules/build/jmx/classes"/>
       <work nested="modules/build/web/classes"/>
   
       <!-- resources are left in src tree -->
       <work nested="modules/xdoclet/src"/>
   
       <jar id="xdoclet-core" name="dist/lib/xdoclet.jar"/>
  +
       <jar id="xdoclet-apache" name="dist/lib/xdoclet-apache-module.jar"/>
  +    <jar id="xdoclet-bea" name="dist/lib/xdoclet-bea-module.jar"/>
       <jar id="xdoclet-caucho" name="dist/lib/xdoclet-caucho-module.jar"/>
       <jar id="xdoclet-ejb" name="dist/lib/xdoclet-ejb-module.jar"/>
       <jar id="xdoclet-exolab" name="dist/lib/xdoclet-exolab-module.jar"/>
  +    <jar id="xdoclet-hp" name="dist/lib/xdoclet-hp-module.jar"/>
  +    <jar id="xdoclet-ibm" name="dist/lib/xdoclet-ibm-module.jar"/>
       <jar id="xdoclet-jboss" name="dist/lib/xdoclet-jboss-module.jar"/>
       <jar id="xdoclet-jmx" name="dist/lib/xdoclet-jmx-module.jar"/>
       <jar id="xdoclet-macromedia" name="dist/lib/xdoclet-macromedia-module.jar"/>
       <jar id="xdoclet-module" name="dist/lib/xdoclet-xdoclet-module.jar"/>
       <jar id="xdoclet-mvcsoft" name="dist/lib/xdoclet-mvcsoft-module.jar"/>
  +    <jar id="xdoclet-mx4j" name="dist/lib/xdoclet-mx4j-module.jar"/>
       <jar id="xdoclet-orion" name="dist/lib/xdoclet-orion-module.jar"/>
       <jar id="xdoclet-pramati" name="dist/lib/xdoclet-pramati-module.jar"/>
       <jar id="xdoclet-web" name="dist/lib/xdoclet-web-module.jar"/>
       <jar id="xdoclet-webwork" name="dist/lib/xdoclet-webwork-module.jar"/>
   
  +    <javadoc nested="dist/docs/api" />
  +
       <!--
       <nag from="Peter Donald &lt;peter@apache.org&gt;"
            to="xdoclet-devel@lists.sourceforge.net"/>
       --> 
       <nag from="Peter Donald &lt;peter@apache.org&gt;"
            to="alexandria-dev@jakarta.apache.org"/>
  -   </project>
  -
  +  </project>
  +  
     <project name="xdoclet-examples">
  -    <ant basedir="core/samples/script" />
  +
  +    <ant target="samples" />
       <depend project="xdoclet" inherit="all"/>
       <depend project="jakarta-struts"/>
       <depend project="webwork"/>
       <depend project="mx4j"/>
  -    <work nested="core/build/jmx"/>
  -    <work nested="core/build/ejb/classes"/>
  -    <work nested="core/build/web/WEB-INF/classes"/>
       <nag from="Peter Donald &lt;peter@apache.org&gt;"
            to="xdoclet-devel@lists.sourceforge.net"/>
     </project>
  
  
  

--
To unsubscribe, e-mail:   <mailto:alexandria-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:alexandria-dev-help@jakarta.apache.org>


Mime
View raw message