forked from shabanovd/exist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ignore] isolated cocoon code; cocoon can be removed more easy now
svn path=/trunk/eXist/; revision=10734
- Loading branch information
Showing
49 changed files
with
107 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- $Id$ --> | ||
<project basedir="." default="jar" name="cocoon"> | ||
|
||
<property name="src" value="./src"/> | ||
<property name="cocoon.classes" value="./classes"/> | ||
<property name="lib" value="./lib"/> | ||
|
||
|
||
<property name="top.dir" value="../.."/> | ||
|
||
<property name="build.compiler" value="modern"/> | ||
|
||
<property file="${top.dir}/build.properties"/> | ||
|
||
<property file="../local.build.properties"/> | ||
<property file="../build.properties"/> | ||
|
||
<condition property="include.feature.cocoon.config"> | ||
<istrue value="${include.feature.cocoon}"/> | ||
</condition> | ||
|
||
<path id="classpath.core"> | ||
<fileset dir="${top.dir}/${lib.core}"> | ||
<include name="*.jar"/> | ||
</fileset> | ||
<fileset dir="${top.dir}/${lib.optional}"> | ||
<include name="*.jar"/> | ||
</fileset> | ||
<fileset dir="${top.dir}/${lib.endorsed}"> | ||
<include name="*.jar"/> | ||
</fileset> | ||
<fileset dir="${top.dir}/${lib.user}"> | ||
<include name="*.jar"/> | ||
</fileset> | ||
<fileset dir="${top.dir}/tools/ant/lib"> | ||
<include name="*.jar"/> | ||
</fileset> | ||
<fileset dir="${top.dir}/${lib.extensions}"> | ||
<include name="*.jar"/> | ||
</fileset> | ||
<fileset dir="${lib}"> | ||
<include name="*.jar"/> | ||
</fileset> | ||
<pathelement path="${top.dir}/exist.jar"/> | ||
<pathelement path="${top.dir}/exist-optional.jar"/> | ||
<pathelement path="${top.dir}/start.jar"/> | ||
<pathelement path="${java.class.path}"/> | ||
</path> | ||
|
||
|
||
<target name="prepare"> | ||
<mkdir dir="${cocoon.classes}"/> | ||
</target> | ||
|
||
<target name="compile" depends="prepare" if="include.feature.cocoon.config"> | ||
<echo message="----------------------------------"/> | ||
<echo message="Compiling cocoon extensions"/> | ||
<echo message="----------------------------------"/> | ||
|
||
<echo | ||
message="Compiling with Java ${ant.java.version} from ${build.compiler.source} source to ${build.compiler.target} target, debug ${build.debug}, optimize ${build.optimize}, deprecation ${build.deprecation}"/> | ||
|
||
<javac debug="${build.debug}" deprecation="${build.deprecation}" destdir="${cocoon.classes}" encoding="UTF-8" | ||
optimize="${build.optimize}" srcdir="${src}" source="${build.compiler.source}" | ||
target="${build.compiler.target}"> | ||
<classpath> | ||
<path refid="classpath.core"/> | ||
</classpath> | ||
</javac> | ||
</target> | ||
|
||
<target name="jar" depends="compile" if="include.feature.cocoon.config"> | ||
<echo message="Creating exist-cocoon.jar ..."/> | ||
<jar basedir="${cocoon.classes}" jarfile="${top.dir}/${lib.extensions}/exist-cocoon.jar"> | ||
<manifest> | ||
<attribute name="Project-Name" value="${project.name}"/> | ||
<attribute name="Project-Version" value="${project.version}"/> | ||
<attribute name="Project-Build" value="${DSTAMP}"/> | ||
<attribute name="SVN-Revision" value="${svn.revision}"/> | ||
</manifest> | ||
</jar> | ||
</target> | ||
|
||
<target name="clean" if="include.feature.cocoon.config"> | ||
<delete dir="${cocoon.classes}"/> | ||
<delete file="${top.dir}/${lib.extensions}/exist-cocoon.jar" failonerror="false"/> | ||
</target> | ||
</project> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters