1 Star 0 Fork 0

苏米の小白™/gitosc

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
module_helloworld.xml 3.30 KB
一键复制 编辑 原始数据 按行查看 历史
苏米の小白™ 提交于 2017-08-21 20:39 +08:00 . 第一次提交!
<?xml version="1.0" encoding="UTF-8"?>
<project name="module_helloworld" default="compile.module.helloworld">
<dirname property="module.helloworld.basedir" file="${ant.file.module_helloworld}"/>
<property name="module.jdk.home.helloworld" value="${project.jdk.home}"/>
<property name="module.jdk.bin.helloworld" value="${project.jdk.bin}"/>
<property name="module.jdk.classpath.helloworld" value="${project.jdk.classpath}"/>
<property name="compiler.args.helloworld" value="-encoding UTF-8 -source 8 -target 8 ${compiler.args}"/>
<property name="helloworld.output.dir" value="${module.helloworld.basedir}/out/production/HelloWorld"/>
<property name="helloworld.testoutput.dir" value="${module.helloworld.basedir}/out/test/HelloWorld"/>
<path id="helloworld.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="helloworld.module.production.classpath">
<path refid="${module.jdk.classpath.helloworld}"/>
</path>
<path id="helloworld.runtime.production.module.classpath">
<pathelement location="${helloworld.output.dir}"/>
</path>
<path id="helloworld.module.classpath">
<path refid="${module.jdk.classpath.helloworld}"/>
<pathelement location="${helloworld.output.dir}"/>
</path>
<path id="helloworld.runtime.module.classpath">
<pathelement location="${helloworld.testoutput.dir}"/>
<pathelement location="${helloworld.output.dir}"/>
</path>
<patternset id="excluded.from.module.helloworld">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.helloworld">
<patternset refid="excluded.from.module.helloworld"/>
</patternset>
<path id="helloworld.module.sourcepath">
<dirset dir="${module.helloworld.basedir}">
<include name="src"/>
</dirset>
</path>
<target name="compile.module.helloworld" depends="compile.module.helloworld.production,compile.module.helloworld.tests" description="Compile module HelloWorld"/>
<target name="compile.module.helloworld.production" depends="register.custom.compilers" description="Compile module HelloWorld; production classes">
<mkdir dir="${helloworld.output.dir}"/>
<javac2 destdir="${helloworld.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.helloworld}/javac">
<compilerarg line="${compiler.args.helloworld}"/>
<bootclasspath refid="helloworld.module.bootclasspath"/>
<classpath refid="helloworld.module.production.classpath"/>
<src refid="helloworld.module.sourcepath"/>
<patternset refid="excluded.from.compilation.helloworld"/>
</javac2>
<copy todir="${helloworld.output.dir}">
<fileset dir="${module.helloworld.basedir}/src">
<patternset refid="compiler.resources"/>
<type type="file"/>
</fileset>
</copy>
</target>
<target name="compile.module.helloworld.tests" depends="register.custom.compilers,compile.module.helloworld.production" description="compile module HelloWorld; test classes" unless="skip.tests"/>
<target name="clean.module.helloworld" description="cleanup module">
<delete dir="${helloworld.output.dir}"/>
<delete dir="${helloworld.testoutput.dir}"/>
</target>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/git-blog/gitosc.git
git@gitee.com:git-blog/gitosc.git
git-blog
gitosc
gitosc
master

搜索帮助