ovidiu      02/05/19 12:26:13

  Modified:    .        build.xml
  Log:
  Added target to build the Emacs project file. Copy .js and .scm files
  along with other resources in the build/ directory.
  
  Revision  Changes    Path
  1.208     +23 -0     xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.207
  retrieving revision 1.208
  diff -u -r1.207 -r1.208
  --- build.xml 13 May 2002 00:03:19 -0000      1.207
  +++ build.xml 19 May 2002 19:26:13 -0000      1.208
  @@ -189,6 +189,7 @@
       <property name="test.dir"     value="${src.dir}/test"/>
       <property name="lib.dir"      value="./lib"/>
       <property name="tools.dir"    value="./tools"/>
  +    <property name="emacs.dir"    value="./emacs"/>
       <property name="docs.dir"     value="${src.dir}/documentation/xdocs"/>
       <property name="images.dir"   value="${src.dir}/documentation/images"/>
       <property name="webapp.dir"   value="${src.dir}/webapp"/>
  @@ -906,6 +907,8 @@
           <include name="**/*.xsl"/>
           <include name="**/*.roles"/>
           <include name="**/*.xml"/>
  +        <include name="**/*.js"/>
  +        <include name="**/*.scm"/>
           <include name="META-INF/**"/>
         </fileset>
       </copy>
  @@ -1430,6 +1433,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="${java.dir}"/>
  +        <filter token="build.war" value="${build.war}"/>
  +      </filterset>
  +    </copy>
     </target>
   
     <!-- =================================================================== -->
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to