ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noam Postavsky <npost...@gmail.com>
Subject Re: Passing list of classes to exclude from build as macrodef attribute
Date Fri, 09 Mar 2012 19:59:11 GMT
On Fri, Mar 9, 2012 at 10:18 AM, Scot P. Floess <sfloess@nc.rr.com> wrote:
> <jpp-javac-convert>
>    <additional>
>        <exclude .../>
>    </additional>
>
>    <post>
>        <delete dir="foo"/>
>    </post>
> </jpp-javac-convert>
>
>
> Arguably, a little uglier notation...

I'm not worried about notation, but I'd like to avoid repetition;
using this method I would need to do repeat every excluded class name
twice: once for the source, and once for the class file.

<jpp-javac-convert>
  <exclude-src>
     <exclude name="**/Class1.java" />
     ...
  </exclude-src>
  <rm-class>
     <delete file="**/Class1.class" />
     ...

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


Mime
View raw message