krysalis-menu/example module_example.xml,1.1,1.2
Glen Stampoultzis <[email protected]> Thu, 09 Dec 2004 04:28:42 +0000
| Newsgroups | gmane.comp.krysalis.metamorphosis.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/metamorphosis/krysalis-menu/example
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18459/example
Modified Files:
module_example.xml
Log Message:
Some updates
Index: module_example.xml
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-menu/example/module_example.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** module_example.xml 25 Nov 2004 10:57:34 -0000 1.1
--- module_example.xml 9 Dec 2004 04:28:39 -0000 1.2
***************
*** 1,142 ****
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="module_example" default="compile.module.example">
! <dirname property="module.example.basedir" file="${ant.file.module_example}"/>
!
! <property name="module.jdk.home.example" value="${project.jdk.home}"/>
! <property name="module.jdk.classpath.example" value="${project.jdk.classpath}"/>
!
! <property name="compiler.args.example" value="${compiler.args}"/>
!
! <property name="example.output.dir" value="${module.example.basedir}/exploded/WEB-INF/classes"/>
! <property name="example.testoutput.dir" value="${module.example.basedir}/exploded/WEB-INF/classes"/>
!
! <path id="example.module.bootclasspath">
! <!-- Paths to be included in compilation bootclasspath -->
! </path>
!
! <path id="example.module.classpath">
! <path refid="${module.jdk.classpath.example}"/>
! <pathelement location="${component.output.dir}"/>
! <path refid="library.tapestry.classpath"/>
! <path refid="library.tomcat.classpath"/>
! </path>
!
!
! <patternset id="excluded.from.module.example"/>
!
! <patternset id="excluded.from.compilation.example">
! <patternset refid="excluded.from.module.example"/>
! <patternset refid="compiler.excluded"/>
! </patternset>
!
! <path id="example.module.sourcepath">
! <dirset dir="${module.example.basedir}">
! <include name="src/java"/>
! </dirset>
! </path>
!
!
! <target name="compile.module.example" depends="compile.module.example.production,compile.module.example.tests" description="compile module example"/>
!
! <target name="compile.module.example.production" depends="compile.module.component" description="compile module example production classes">
! <mkdir dir="${example.output.dir}"/>
! <javac destdir="${example.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memoryMaximumSize="${compiler.max.memory}" fork="true" executable="${module.jdk.home.example}/bin/javac">
! <compilerarg line="${compiler.args.example}"/>
! <bootclasspath refid="example.module.bootclasspath"/>
! <classpath refid="example.module.classpath"/>
! <src refid="example.module.sourcepath"/>
! <patternset refid="excluded.from.compilation.example"/>
! </javac>
! <copy todir="${example.output.dir}">
! <fileset dir="${module.example.basedir}/src/java">
! <patternset refid="compiler.resources"/>
! <type type="file"/>
! <patternset refid="excluded.from.compilation.example"/>
! </fileset>
! </copy>
! </target>
!
! <target name="compile.module.example.tests" depends="compile.module.example.production" description="compile module example test classes" unless="skip.tests"/>
!
! <target name="clean.module.example" description="cleanup module">
! <delete dir="${example.output.dir}"/>
! <delete dir="${example.testoutput.dir}"/>
! </target>
!
! <property name="example.dir.exploded" value="${module.example.basedir}/exploded"/>
! <target name="j2ee.build.example" depends="compile.module.example, compile.module.component" description="Build configured J2EE directories and archives for module 'example'">
! <antcall target="j2ee.build.exploded.example">
! <param name="j2ee.dir.exploded" value="${example.dir.exploded}"/>
! </antcall>
! </target>
! <target name="j2ee.build.exploded.example" description="Build exploded directory for module 'example'">
! <copy file="${module.example.basedir}/src/webroot/WEB-INF/web.xml" tofile="${j2ee.dir.exploded}/WEB-INF/web.xml"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/runtime/log4j-1.2.6.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/log4j-1.2.6.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-codec-1.2.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/commons-codec-1.2.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-fileupload-1.0.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/commons-fileupload-1.0.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/jakarta-oro-2.0.6.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/jakarta-oro-2.0.6.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/tapestry-3.0.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/tapestry-3.0.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-beanutils-1.6.1.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/commons-beanutils-1.6.1.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-collections-2.1.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/commons-collections-2.1.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/ognl-2.6.3.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/ognl-2.6.3.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-lang-1.0.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/commons-lang-1.0.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/tapestry-contrib-3.0.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/tapestry-contrib-3.0.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/bsf-2.3.0.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/bsf-2.3.0.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/javassist-2.5.1.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/javassist-2.5.1.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-digester-1.5.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/commons-digester-1.5.jar"/>
! <copy file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-logging-1.0.2.jar" tofile="${j2ee.dir.exploded}/WEB-INF/lib/commons-logging-1.0.2.jar"/>
! <dirname property="jar.dir" file="${j2ee.dir.exploded}/WEB-INF/lib/component.jar"/>
! <mkdir dir="${jar.dir}"/>
! <jar destfile="${j2ee.dir.exploded}/WEB-INF/lib/component.jar" duplicate="preserve">
! <fileset dir="${module.component.basedir}/../component/classes"/>
! </jar>
! <copy todir="${j2ee.dir.exploded}/WEB-INF">
! <fileset dir="${module.example.basedir}/src/webroot/WEB-INF"/>
! </copy>
! <copy todir="${j2ee.dir.exploded}/">
! <fileset dir="${module.example.basedir}/src/webroot"/>
! </copy>
! <copy todir="${j2ee.dir.exploded}/WEB-INF/classes">
! <fileset dir="${module.example.basedir}/exploded/WEB-INF/classes"/>
! </copy>
! </target>
! <target name="j2ee.build.jar.example" description="Build J2EE archive for module 'example'">
! <property name="tmp.dir.example" value="${module.example.basedir}/temp"/>
! <mkdir dir="${tmp.dir.example}"/>
! <jar destfile="${tmp.dir.example}/component.jar" duplicate="preserve">
! <manifest>
! <attribute name="Created-By" value="IntelliJ IDEA"/>
! <attribute name="Manifest-Version" value="1.0"/>
! </manifest>
! <fileset dir="${module.component.basedir}/../component/classes"/>
! </jar>
! <dirname property="jar.dir" file="${j2ee.path.jar}"/>
! <mkdir dir="${jar.dir}"/>
! <jar destfile="${j2ee.path.jar}" duplicate="preserve">
! <manifest>
! <attribute name="Created-By" value="IntelliJ IDEA"/>
! <attribute name="Manifest-Version" value="1.0"/>
! </manifest>
! <zipfileset dir="${module.example.basedir}/exploded/WEB-INF/classes" prefix="WEB-INF/classes"/>
! <zipfileset dir="${module.example.basedir}/src/webroot" prefix=""/>
! <zipfileset dir="${module.example.basedir}/src/webroot/WEB-INF" prefix="WEB-INF"/>
! <zipfileset file="${tmp.dir.example}/component.jar" prefix="/WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-logging-1.0.2.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-digester-1.5.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/javassist-2.5.1.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/bsf-2.3.0.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/tapestry-contrib-3.0.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-lang-1.0.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/ognl-2.6.3.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-collections-2.1.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-beanutils-1.6.1.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/tapestry-3.0.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/jakarta-oro-2.0.6.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-fileupload-1.0.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/ext/commons-codec-1.2.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/../../../jakarta/jakarta-tapestry/lib/runtime/log4j-1.2.6.jar" prefix="WEB-INF/lib"/>
! <zipfileset file="${module.example.basedir}/src/webroot/WEB-INF/web.xml" prefix="WEB-INF"/>
! </jar>
! <delete dir="${tmp.dir.example}"/>
! </target>
</project>
\ No newline at end of file
--- 1,105 ----
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="module_example" default="compile.module.example">
! <dirname property="module.example.basedir" file="${ant.file.module_example}"/>
!
! <property name="module.jdk.home.example" value="${project.jdk.home}"/>
! <property name="module.jdk.classpath.example" value="${project.jdk.classpath}"/>
!
! <property name="compiler.args.example" value="${compiler.args}"/>
!
! <property name="example.output.dir" value="${module.example.basedir}/exploded/WEB-INF/classes"/>
! <property name="example.testoutput.dir" value="${module.example.basedir}/exploded/WEB-INF/classes"/>
!
! <property name="example.dir.exploded" value="${module.example.basedir}/exploded"/>
! <property name="j2ee.dir.exploded" value="${example.dir.exploded}"/>
!
! <path id="example.module.bootclasspath">
! <!-- Paths to be included in compilation bootclasspath -->
! </path>
!
! <path id="example.module.classpath">
! <path refid="${module.jdk.classpath.example}"/>
! <pathelement location="${component.output.dir}"/>
! <path refid="library.tapestry.classpath"/>
! <path refid="library.tomcat.classpath"/>
! </path>
!
!
! <patternset id="excluded.from.module.example"/>
!
! <patternset id="excluded.from.compilation.example">
! <patternset refid="excluded.from.module.example"/>
! <patternset refid="compiler.excluded"/>
! </patternset>
!
! <path id="example.module.sourcepath">
! <dirset dir="${module.example.basedir}">
! <include name="src/java"/>
! </dirset>
! </path>
!
!
! <target name="compile.module.example" depends="compile.module.example.production,compile.module.example.tests" description="compile module example"/>
!
! <target name="compile.module.example.production" depends="compile.module.component" description="compile module example production classes">
! <mkdir dir="${example.output.dir}"/>
! <javac destdir="${example.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memoryMaximumSize="${compiler.max.memory}" fork="true" executable="${module.jdk.home.example}/bin/javac">
! <compilerarg line="${compiler.args.example}"/>
! <bootclasspath refid="example.module.bootclasspath"/>
! <classpath refid="example.module.classpath"/>
! <src refid="example.module.sourcepath"/>
! <patternset refid="excluded.from.compilation.example"/>
! </javac>
! <copy todir="${example.output.dir}">
! <fileset dir="${module.example.basedir}/src/java">
! <patternset refid="compiler.resources"/>
! <type type="file"/>
! <patternset refid="excluded.from.compilation.example"/>
! </fileset>
! </copy>
! </target>
!
! <target name="compile.module.example.tests" depends="compile.module.example.production" description="compile module example test classes" unless="skip.tests"/>
!
! <target name="clean.module.example" description="cleanup module">
! <delete dir="${example.output.dir}"/>
! <delete dir="${example.testoutput.dir}"/>
! <delete dir="${example.dir.exploded}"/>
! <delete dir="${j2ee.path.jar}"/>
! </target>
!
! <target name="j2ee.build.exploded.example" depends="compile.module.example, compile.module.component" description="Build exploded directory for module 'example'">
! <copy file="${module.example.basedir}/src/webroot/WEB-INF/web.xml" tofile="${j2ee.dir.exploded}/WEB-INF/web.xml"/>
! <copy todir="${j2ee.dir.exploded}/WEB-INF/lib/" flatten="true">
! <fileset dir="${tapestry.home}/framework/target/module-lib/compile" includes="**/*.jar"/>
! <fileset dir="${tapestry.home}/contrib/target/module-lib/compile" includes="**/*.jar"/>
! </copy>
! <dirname property="jar.dir" file="${j2ee.dir.exploded}/WEB-INF/lib/component.jar"/>
! <mkdir dir="${jar.dir}"/>
! <jar destfile="${j2ee.dir.exploded}/WEB-INF/lib/component.jar" duplicate="preserve">
! <fileset dir="${module.component.basedir}/classes"/>
! </jar>
! <copy todir="${j2ee.dir.exploded}/WEB-INF">
! <fileset dir="${module.example.basedir}/src/webroot/WEB-INF">
! <exclude name="**/WEB-INF/classes/**"/>
! </fileset>
! </copy>
! <copy todir="${j2ee.dir.exploded}/">
! <fileset dir="${module.example.basedir}/src/webroot"/>
! </copy>
! <delete dir="${j2ee.dir.exploded}/WEB-INF/classes"/>
! <!-- <copy todir="${j2ee.dir.exploded}/WEB-INF/classes">-->
! <!-- <fileset dir="${module.example.basedir}/exploded/WEB-INF/classes"/>-->
! <!-- </copy>-->
! </target>
! <target name="j2ee.build.war.example" depends="j2ee.build.exploded.example"
! description="Build J2EE archive for module 'example'">
! <jar destfile="${j2ee.path.jar}" duplicate="preserve">
! <manifest>
! <attribute name="Created-By" value="${user.name}"/>
! <attribute name="Manifest-Version" value="1.0"/>
! </manifest>
! <fileset dir="${module.example.basedir}/exploded"/>
! </jar>
! </target>
</project>
\ No newline at end of file
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/