On 27 April 2012 11:29, pranay agarwal <[email protected]> wrote: > hi, i am trying to build a war file . Now is there a way by which > one can exclude certain files from a jar which is included inside this > war ?
Don't put them in the JAR in the first place? > e.g for building a war file say sample.war , i include myjar.jar as a > dependency but want to exclude myjar.jar/somefolder/somefile in it > inside this war, so is this possible? If the need for "somefile" depends on other things then put it in a different JAR/artifact and depend on that artifact where you actually need it. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
