Hi May I know how you deal with the dependencies when creating WAR file?
Currently, I create the WAR by copying the dependencies from Ivy cache to a local directory, then make the WAR like the following, build.xml ... <ivy:cachepath pathid="runtime.cp" conf="runtime" /> ... <target name="war" depends="compile"> <copy todir="src/main/webapp/WEB-INF/lib" flatten="true"> <path refid="runtime.cp" /> </copy> <war destfile="dummy.war" webxml="src/main/webapp/WEB-INF/web.xml"> <lib dir="src/main/webapp/WEB-INF/lib" /> </war> </target> I really think that copying the dependencies to a directory everytime creating the WAR is not necessary ... Please share with me if you have better way to do this. -- Hez
