You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SIPRP/trunk/SiprpWebFichasClinicas/ant/common/evo-web-build-common.xml

59 lines
2.8 KiB

<?xml version="1.0" encoding="UTF-8"?>
<project name="evo-web-build-common" basedir="../../">
<import file="evo-web-compile-common.xml" />
<target name="web-build" description="Compiles all application classes" depends="web-prepare,web-pre-build">
<mkdir dir="${web.build.dir}" />
<depend srcdir="${web.src.dir}" destdir="${web.build.dir}" cache="${web.dependencies.chache.dir}">
<include name="**/*.java" />
</depend>
<javac srcdir="${web.src.dir}" destdir="${web.build.dir}" classpathref="web.build.classpath" debug="on" deprecation="on" fork="true" memoryMaximumSize="512M" />
<antcall target="create-web-properties-file"/>
<antcall target="web-post-build"/>
</target>
<target name="create-web-properties-file">
<propertyfile file="${web.build.dir}/${web.name}.properties">
<entry key="timestamp" type="date" value="now"/>
<entry key="user" value="${user.name}"/>
</propertyfile>
</target>
<!-- <target name="run-codegen" description="Runs codegen for this project" depends="load-properties"> -->
<!-- <available file="${codegen.project.ant}" property="codegen.project.exists"/> -->
<!-- <antcall target="show-codegen-project-error"/> -->
<!-- <antcall target="run-codegen-if-project-exists"/> -->
<!-- </target> -->
<!-- <target name="run-codegen-if-project-exists" if="codegen.project.exists"> -->
<!-- <available file="${codegen.properties.file}" property="codegen.properties.exists"/> -->
<!-- <antcall target="show-codegen-properties-error"/> -->
<!-- <antcall target="run-codegen-if-exists"/> -->
<!-- </target> -->
<!-- <target name="show-codegen-project-error" unless="codegen.project.exists"> -->
<!-- <echo message="Codegen's build-file not found at ${codegen.project.ant}"/> -->
<!-- </target> -->
<!-- <target name="run-codegen-if-exists" if="codegen.properties.exists"> -->
<!-- <ant inheritall="false" antfile="${codegen.project.ant}" target="web-run"> -->
<!-- <property name="web.run.args" value="${basedir}" /> -->
<!-- </ant> -->
<!-- </target> -->
<!-- <target name="show-codegen-properties-error" unless="codegen.properties.exists"> -->
<!-- <echo message="Project's codegen configuration file not found at ${codegen.properties.file}"/> -->
<!-- </target> -->
<!-- <target name="run-LEAF" description="Runs LEAF for this project" depends="load-properties"> -->
<!-- <path id="leaf.classpath"> -->
<!-- <fileset dir="${lib.tools.dir}" /> -->
<!-- <path refid="web.build.classpath" /> -->
<!-- </path> -->
<!-- <java jvmversion="${web.java.version}" classname="${leaf.main}" classpathref="leaf.classpath" fork="true" dir="${web.build.dir}"> -->
<!-- <arg value="${web.src.dir}"/> -->
<!-- </java> -->
<!-- </target> -->
</project>