ant javac 可以编译多个类路径

<property name="spark.home" value="${basedir}/http://www.cnblogs.com/.."/>
    <property name="spark.libs.dir" value="${spark.home}/target/build/lib"/>
    <property name="spark.build" value="${basedir}/http://www.cnblogs.com/../target/build"/>
 <property name="commoninfo" value="${spark.home}/pmsaas/common"></property>

<target name="compile" description="Compiles plugin source">
        <mkdir dir="${classes.dir}"/>
        <javac srcdir="${java.dir};${commoninfo}"
               destdir="${classes.dir}"
               classpathref="lib.classpath"
               source="1.5"
               debug="true"
               target="1.5"
         includeAntRuntime="false"/>
        <copy todir="${classes.dir}">
            <fileset dir="${java.dir}" includes="**/*.png"/>
            <fileset dir="${java.dir}" includes="**/*.gif"/>
            <fileset dir="${java.dir}" includes="**/*.jpg"/>
            <fileset dir="${java.dir}" includes="**/*.jpeg"/>
        </copy>
    </target>

I'm falling off the sky all alone.The courage inside is gonna break the fall. Nothing can dim my light within. I am That I am 程序 = 数据结构 + 算法
原文地址:https://www.cnblogs.com/IamThat/p/2968604.html