Alwyn Schoeman <[EMAIL PROTECTED]> wrote on 02/10/2003 03:43:48 PM: > I have looked into a SAR plugin and basically you would be duplicating so much > of the JAR plugin that it is basically not worth the effort if the only value > you'll be adding is a different extension.
So.... > So I do no jar:jar kludgery but only, > > <preGoal name="jar:install"> > <echo>jar:install pregoal running...</echo> > <ant:property name="sardir__" > value="${maven.repo.local}/${pom.artifactDirectory}/sars"/> > <ant:mkdir dir="${sardir__}"/> > <ant:copy > file="${maven.build.dir}/${maven.final.name}.jar" > tofile="${sardir__}/${maven.final.name}.sar" > overwrite="true" > /> > </preGoal> Wouldn't the above be worthwhile including in a sar/rar plugin? Call jar:jar to build the jar, rename it, and then deploy/install etc? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]