ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Petterson" <mikael.petter...@ericsson.com>
Subject Best way to use fileset in javac
Date Tue, 25 Aug 2009 12:48:33 GMT
Hi,

I am trying to set filter to be used when I compile my source using
javac.

<path id="src.filter.ref">
	<fileset dir="${src.dir}" casesensitive="yes">
	<include name="**/dev/src/**" />
	<include name="**/dtt/src/**" />
	<include name="**/src/**" />
	<exclude name="**/tb/**" />
	<exclude name="**/test/**" />
	</fileset>
</path>

Where do I add this to my javac target to make sure that no other files
in my src tree is compiled.

Br,

//mikael

PS. I am using ant 1.6.5

Mikael Petterson
Software Designer


Ericsson AB, Stockholm, Sweden
Visiting address: Torshamnsgatan 42, Kista
Phone: +46 70 2673044 
E-mail: mikael.petterson@ericsson.com 




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message