cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/scratchpad/schecoon build.xml
Date Tue, 23 Apr 2002 17:51:49 GMT
ovidiu      02/04/23 10:51:49

  Modified:    src/scratchpad/schecoon build.xml
  Log:
  Added support for generating prj.el automatically.
  
  Revision  Changes    Path
  1.19      +28 -8     xml-cocoon2/src/scratchpad/schecoon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/build.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- build.xml	16 Apr 2002 00:46:53 -0000	1.18
  +++ build.xml	23 Apr 2002 17:51:49 -0000	1.19
  @@ -44,23 +44,23 @@
       <property name="build.compiler" value="classic"/>
       <property name="target.vm"      value="1.2"/>
   
  -    <property name="src.dir"      value="./src"/>
  -    <property name="lib.dir"      value="./lib"/>
  -    <property name="bin.dir"      value="./bin"/>
  -    <property name="webapp.dir"   value="./webapp"/>
  -    <property name="scheme.dir"     value="./scheme"/>
  +    <property name="src.dir"      value="src"/>
  +    <property name="lib.dir"      value="lib"/>
  +    <property name="bin.dir"      value="bin"/>
  +    <property name="webapp.dir"   value="webapp"/>
  +    <property name="emacs.dir"     value="emacs"/>
   
       <property name="root.dir"     value="../../.."/>
       <property name="tools.dir"    value="${root.dir}/tools"/>
   
  -    <property name="build.root"     value="./build"/>
  +    <property name="build.root"     value="build"/>
       <property name="build.dir"      value="${build.root}"/>
       <property name="build.dest"     value="${build.dir}/webapp/WEB-INF/classes"/>
       <property name="build.docs"     value="${build.dir}/docs"/>
       <property name="build.war"      value="${build.dir}/webapp"/>
       <property name="build.javadocs" value="${build.dir}/javadocs"/>
   
  -    <property name="dist.root"   value="./dist"/>
  +    <property name="dist.root"   value="dist"/>
       <property name="dist.dir"    value="${dist.root}/${name}-${version}"/>
       <property name="dist.target" value="${dist.root}"/>
   
  @@ -208,7 +208,7 @@
     <!-- Prepares everything to be run in place                              -->
     <!-- =================================================================== -->
     <target name="build" depends="prepare-webapp, prepare-webapp-libs,
  -	                        compile, jar"
  +	                        compile, jar, prj.el"
   	  description="Prepares everything to be run in place"/>
   
     <!-- =================================================================== -->
  @@ -259,6 +259,26 @@
                stylesheetfile="${resource.dir}/javadoc.css">
         <classpath refid="classpath"/>
       </javadoc>
  +  </target>
  +
  +  <!-- =================================================================== -->
  +  <!-- Generate the Emacs JDE project file                                 -->
  +  <!-- =================================================================== -->
  +  <target name="prj.el" depends="init, prepare-webapp-libs"
  +	  description="Generate the Emacs project file">
  +    <path id="jar.files">
  +      <fileset dir="${build.war}/WEB-INF/lib">
  +        <include name="*.jar"/>
  +      </fileset>
  +    </path>
  +    <property name="jar.files" refid="jar.files"/>
  +    <copy file="${emacs.dir}/prj.el.in" tofile="prj.el" filtering="yes">
  +      <filterset>
  +        <filter token="jar.files" value="${jar.files}"/>
  +        <filter token="src.dir" value="${basedir}/${src.dir}"/>
  +        <filter token="build.war" value="${basedir}/${build.war}"/>
  +      </filterset>
  +    </copy>
     </target>
   
     <!-- =================================================================== -->
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message