Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ant build dependencies

Status
Not open for further replies.

harami101

ISP
Apr 2, 2009
1
US
Hello,

I am trying to use ant to compile a set of packages all contained within a directory. e.g.
src/com/test/a/*
src/com/test/b/*
src/com/test/c/*
Now they have depedencies between each other. Ant does not recognize these dependencies and throws an error that it could not find the other required package on the classpath. for.eg, if com.test.b depends on com.test.a, it throws an error "cannot find symbol.."

how to make ant work in this case? I thought it will be smart enough to figure this out. Do I Need to explicitly specify all the inherent dependecies?

Sam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top