« Return to Thread: Advanced includes/excludes for javac

Advanced includes/excludes for javac

by Roman Kennke-2 :: Rate this Message:

Reply to Author | View in Thread

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/


signature.asc (196 bytes) Download Attachment

 « Return to Thread: Advanced includes/excludes for javac

LightInTheBox - Buy quality products at wholesale price!