我有3个不同的一揽子计划,请说:
com.pack.*
com.package.commons.*
com.package.app.*
事实是,这3个一揽子计划属于同一来源,我可以不移。
- My
com.pack
is completely independant, let s say it s my framework. - My
com.package.commons
can import classes fromcom.pack
ONLY. - My last package can import whichever classes it needs.
In my eclipse project everything is thing as long as I m the only one to develop, I know I can t import anything without checking first where it comes from. But I work in a team and errors happen frequently, I ve tried to make an Ant Build that will first build my framework then my commons (with the framework in it s CP during build time) and lastly my app. But I can t get any error from it. Do you have any idea how I can perform these checks during build time or any other solution?
感谢
EDIT:我可以分成3个项目,即使我非常容易知道!