1 Star 0 Fork 0

陈信智 / ecwindow

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ecwindow.xml 7.54 KB
一键复制 编辑 原始数据 按行查看 历史
<?xml version="1.0" encoding="UTF-8"?>
<project name="ecwindow" default="all">
<property file="ecwindow.properties"/>
<!-- Uncomment the following property if no tests compilation is needed -->
<!--
<property name="skip.tests" value="true"/>
-->
<!-- Compiler options -->
<property name="compiler.debug" value="on"/>
<property name="compiler.generate.no.warnings" value="off"/>
<property name="compiler.args" value=""/>
<property name="compiler.max.memory" value="700m"/>
<patternset id="ignored.files">
<exclude name="**/*.hprof/**"/>
<exclude name="**/*.pyc/**"/>
<exclude name="**/*.pyo/**"/>
<exclude name="**/*.rbc/**"/>
<exclude name="**/*.yarb/**"/>
<exclude name="**/*~/**"/>
<exclude name="**/.DS_Store/**"/>
<exclude name="**/.git/**"/>
<exclude name="**/.hg/**"/>
<exclude name="**/.svn/**"/>
<exclude name="**/CVS/**"/>
<exclude name="**/RCS/**"/>
<exclude name="**/SCCS/**"/>
<exclude name="**/__pycache__/**"/>
<exclude name="**/_svn/**"/>
<exclude name="**/rcs/**"/>
<exclude name="**/vssver.scc/**"/>
<exclude name="**/vssver2.scc/**"/>
</patternset>
<patternset id="library.patterns">
<include name="*.war"/>
<include name="*.swc"/>
<include name="*.apk"/>
<include name="*.zip"/>
<include name="*.egg"/>
<include name="*.ane"/>
<include name="*.jar"/>
<include name="*.ear"/>
</patternset>
<patternset id="compiler.resources">
<exclude name="**/?*.java"/>
<exclude name="**/?*.form"/>
<exclude name="**/?*.class"/>
<exclude name="**/?*.groovy"/>
<exclude name="**/?*.scala"/>
<exclude name="**/?*.flex"/>
<exclude name="**/?*.kt"/>
<exclude name="**/?*.clj"/>
</patternset>
<!-- JDK definitions -->
<property name="jdk.bin.1.7" value="${jdk.home.1.7}/bin"/>
<path id="jdk.classpath.1.7">
<fileset dir="${jdk.home.1.7}">
<include name="jre/lib/charsets.jar"/>
<include name="jre/lib/deploy.jar"/>
<include name="jre/lib/ext/dnsns.jar"/>
<include name="jre/lib/ext/localedata.jar"/>
<include name="jre/lib/ext/sunec.jar"/>
<include name="jre/lib/ext/sunjce_provider.jar"/>
<include name="jre/lib/ext/sunpkcs11.jar"/>
<include name="jre/lib/ext/zipfs.jar"/>
<include name="jre/lib/htmlconverter.jar"/>
<include name="jre/lib/javaws.jar"/>
<include name="jre/lib/jce.jar"/>
<include name="jre/lib/jfr.jar"/>
<include name="jre/lib/jfxrt.jar"/>
<include name="jre/lib/jsse.jar"/>
<include name="jre/lib/management-agent.jar"/>
<include name="jre/lib/plugin.jar"/>
<include name="jre/lib/resources.jar"/>
<include name="jre/lib/rt.jar"/>
<include name="lib/ant-javafx.jar"/>
<include name="lib/dt.jar"/>
<include name="lib/javafx-doclet.jar"/>
<include name="lib/javafx-mx.jar"/>
<include name="lib/jconsole.jar"/>
<include name="lib/sa-jdi.jar"/>
<include name="lib/tools.jar"/>
</fileset>
</path>
<property name="project.jdk.home" value="${jdk.home.1.7}"/>
<property name="project.jdk.bin" value="${jdk.bin.1.7}"/>
<property name="project.jdk.classpath" value="jdk.classpath.1.7"/>
<!-- Project Libraries -->
<path id="library.poi-3.12.classpath">
<pathelement location="${basedir}/../../../.gradle/caches/modules-2/files-2.1/org.apache.poi/poi/3.12/8be19a6a1fa08e934a497929f360111a4d2e5115/poi-3.12.jar"/>
</path>
<!-- Register Custom Compiler Taskdefs -->
<property name="javac2.home" value="${idea.home}/lib"/>
<path id="javac2.classpath">
<pathelement location="${javac2.home}/javac2.jar"/>
<pathelement location="${javac2.home}/jdom.jar"/>
<pathelement location="${javac2.home}/asm-all.jar"/>
<pathelement location="${javac2.home}/jgoodies-forms.jar"/>
</path>
<target name="register.custom.compilers">
<taskdef name="javac2" classname="com.intellij.ant.Javac2" classpathref="javac2.classpath"/>
<taskdef name="instrumentIdeaExtensions" classname="com.intellij.ant.InstrumentIdeaExtensions" classpathref="javac2.classpath"/>
</target>
<!-- Modules -->
<import file="${basedir}/module_ecwindow.xml"/>
<target name="init" description="Build initialization">
<!-- Perform any build initialization in this target -->
</target>
<target name="clean" depends="clean.module.ecwindow, clean.artifact.ecwindow" description="cleanup all"/>
<target name="build.modules" depends="init, clean, compile.module.ecwindow" description="build all modules"/>
<target name="init.artifacts">
<property name="artifacts.temp.dir" value="${basedir}/__artifacts_temp"/>
<property name="artifact.output.ecwindow" value="${basedir}/out/artifacts/ECWindow"/>
<mkdir dir="${artifacts.temp.dir}"/>
<property name="artifact.temp.output.ECWindow" value="${artifacts.temp.dir}/ECWindow.jar"/>
<taskdef resource="com/sun/javafx/tools/ant/antlib.xml" uri="javafx:com.sun.javafx.tools.ant" classpath="${jdk.home.1.7}/lib/ant-javafx.jar"/>
</target>
<target name="clean.artifact.ecwindow" description="clean ECWindow artifact output">
<delete dir="${artifact.output.ecwindow}"/>
</target>
<target name="artifact.ecwindow" depends="init.artifacts, compile.module.ecwindow" description="Build &#39;ECWindow&#39; artifact" xmlns:fx="javafx:com.sun.javafx.tools.ant">
<mkdir dir="${artifact.output.ecwindow}"/>
<ant antfile="" target="null" dir="">
<property name="artifact.output.path" value="${artifact.output.ecwindow}"/>
</ant>
<ant antfile="" target="null" dir="">
<property name="artifact.output.path" value="${artifact.output.ecwindow}"/>
</ant>
<copy todir="${artifact.temp.output.ECWindow}">
<fileset dir="${ecwindow.output.dir}"/>
</copy>
<fx:fileset id="all_but_ECWindow" dir="${artifact.temp.output.ECWindow}" includes="**/*.jar">
<exclude name="ECWindow.jar"/>
</fx:fileset>
<fx:fileset id="all_ECWindow" dir="${artifact.temp.output.ECWindow}" includes="**/*.jar"/>
<fx:application id="ECWindow_id" name="ECWindow" mainClass="sample.Compare"/>
<fx:csstobin outdir="${artifact.temp.output.ECWindow}">
<fileset dir="${artifact.temp.output.ECWindow}" includes="**/*.css"/>
</fx:csstobin>
<fx:jar destfile="${artifact.temp.output.ECWindow}/ECWindow.jar">
<fx:application refid="ECWindow_id"/>
<fileset dir="${artifact.temp.output.ECWindow}" excludes="**/*.jar"/>
<fx:resources>
<fx:fileset refid="all_but_ECWindow"/>
</fx:resources>
<manifest/>
</fx:jar>
<condition property="app.icon.path" value="${basedir}/src/sample/icon/s409.ico">
<os family="windows"/>
</condition>
<fx:deploy width="600" height="400" updatemode="background" outdir="${artifact.temp.output.ECWindow}/deploy" outfile="ECWindow" nativeBundles="all">
<fx:application refid="ECWindow_id"/>
<fx:info title="ZwilL">
<fx:icon href="${app.icon.path}"/>
</fx:info>
<fx:resources>
<fx:fileset refid="all_ECWindow"/>
</fx:resources>
</fx:deploy>
<copy todir="${artifact.output.ecwindow}">
<fileset dir="${artifact.temp.output.ECWindow}/deploy"/>
</copy>
<delete includeemptydirs="true">
<fileset dir="${artifact.temp.output.ECWindow}"/>
</delete>
</target>
<target name="build.all.artifacts" depends="artifact.ecwindow" description="Build all artifacts">
<!-- Delete temporary files -->
<delete dir="${artifacts.temp.dir}"/>
</target>
<target name="all" depends="build.modules, build.all.artifacts" description="build all"/>
</project>
1
https://gitee.com/ZwilL/ecwindow.git
git@gitee.com:ZwilL/ecwindow.git
ZwilL
ecwindow
ecwindow
master

搜索帮助