ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Kennke <ro...@kennke.org>
Subject Advanced includes/excludes for javac
Date Mon, 23 Jun 2008 10:40:14 GMT
Hi there,

I have a problem with the javac task that I cannot solve, maybe somebody
can help me. Let's say I have a directory layout like this:

src/proj1/Class1.java
src/proj1/Class2.java
src/proj2/Class1.java
src/proj2/Class2.java

Now I want to compile Class1 from proj1 and Class2 from proj2 and
exclude the other two. Also, I need to compile those in one go because
they depend on each other. I didn't find a way to implement this using
the srcdir attribute, or nested src tags. Any ideas?

Cheers, Roman

-- 
http://kennke.org/blog/

Mime
View raw message