Estructuras de Datos shows various data structures visually https://cromer.cl/edd
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.
 
 

192 lines
6.9 KiB

<?xml version="1.0" encoding="UTF-8"?>
<project name="edd" default="all">
<property file="edd.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="**/__pycache__/**"/>
<exclude name="**/_svn/**"/>
<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"/>
<exclude name="**/?*.aj"/>
</patternset>
<!-- JDK definitions -->
<property name="jdk.bin.1.8" value="${jdk.home.1.8}/bin"/>
<path id="jdk.classpath.1.8">
<fileset dir="${jdk.home.1.8}">
<include name="jre/lib/charsets.jar"/>
<include name="jre/lib/deploy.jar"/>
<include name="jre/lib/ext/cldrdata.jar"/>
<include name="jre/lib/ext/dnsns.jar"/>
<include name="jre/lib/ext/jaccess.jar"/>
<include name="jre/lib/ext/jfxrt.jar"/>
<include name="jre/lib/ext/localedata.jar"/>
<include name="jre/lib/ext/nashorn.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/javaws.jar"/>
<include name="jre/lib/jce.jar"/>
<include name="jre/lib/jfr.jar"/>
<include name="jre/lib/jfxswt.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"/>
</fileset>
</path>
<property name="project.jdk.home" value="${jdk.home.1.8}"/>
<property name="project.jdk.bin" value="${jdk.bin.1.8}"/>
<property name="project.jdk.classpath" value="jdk.classpath.1.8"/>
<!-- 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 -->
<!-- Module EDD -->
<dirname property="module.edd.basedir" file="${ant.file}"/>
<property name="module.jdk.home.edd" value="${project.jdk.home}"/>
<property name="module.jdk.bin.edd" value="${project.jdk.bin}"/>
<property name="module.jdk.classpath.edd" value="${project.jdk.classpath}"/>
<property name="compiler.args.edd" value="-encoding UTF-8 -source 8 -target 8 ${compiler.args}"/>
<property name="edd.output.dir" value="${module.edd.basedir}/out/production/EDD"/>
<property name="edd.testoutput.dir" value="${module.edd.basedir}/out/test/EDD"/>
<path id="edd.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="edd.module.production.classpath">
<path refid="${module.jdk.classpath.edd}"/>
</path>
<path id="edd.runtime.production.module.classpath">
<pathelement location="${edd.output.dir}"/>
</path>
<path id="edd.module.classpath">
<path refid="${module.jdk.classpath.edd}"/>
<pathelement location="${edd.output.dir}"/>
</path>
<path id="edd.runtime.module.classpath">
<pathelement location="${edd.testoutput.dir}"/>
<pathelement location="${edd.output.dir}"/>
</path>
<patternset id="excluded.from.module.edd">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.edd">
<patternset refid="excluded.from.module.edd"/>
</patternset>
<path id="edd.module.sourcepath">
<dirset dir="${module.edd.basedir}">
<include name="src"/>
</dirset>
</path>
<target name="compile.module.edd" depends="compile.module.edd.production,compile.module.edd.tests" description="Compile module EDD"/>
<target name="compile.module.edd.production" depends="register.custom.compilers" description="Compile module EDD; production classes">
<mkdir dir="${edd.output.dir}"/>
<javac2 destdir="${edd.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.edd}/javac">
<compilerarg line="${compiler.args.edd}"/>
<bootclasspath refid="edd.module.bootclasspath"/>
<classpath refid="edd.module.production.classpath"/>
<src refid="edd.module.sourcepath"/>
<patternset refid="excluded.from.compilation.edd"/>
</javac2>
<copy todir="${edd.output.dir}">
<fileset dir="${module.edd.basedir}/src">
<patternset refid="compiler.resources"/>
<type type="file"/>
</fileset>
</copy>
</target>
<target name="compile.module.edd.tests" depends="register.custom.compilers,compile.module.edd.production" description="compile module EDD; test classes" unless="skip.tests"/>
<target name="clean.module.edd" description="cleanup module">
<delete dir="${edd.output.dir}"/>
<delete dir="${edd.testoutput.dir}"/>
</target>
<target name="init" description="Build initialization">
<!-- Perform any build initialization in this target -->
</target>
<target name="clean" depends="clean.module.edd" description="cleanup all"/>
<target name="build.modules" depends="init, clean, compile.module.edd" description="build all modules"/>
<target name="all" depends="build.modules" description="build all"/>
</project>