ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Votta" <alexisvo...@gmail.com>
Subject How to include multiple source branches in javac task
Date Mon, 08 Oct 2007 13:55:11 GMT
This is how my javac task looks right now.

    <javac srcdir="${src.dir}"
    destdir="${build.classes.dir}">
      <include name="UIManager.java"/>
      <include name="com/example/project/**/*.java"/>
    </javac>

I want to move the include names to a properties file, so that my
javac task looks like:-

    <javac srcdir="${src.dir}"
    destdir="${build.classes.dir}">
      <sometag someattrib="${includelist}"/>
    </javac>

This will help me to put all the includes at one place in the
properties file like this:-

src.includes = UIManager.java:\
  com/example/project/**/*.java:\
  com/example/test/**/*.java

Is it possible?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message