Try to walk thru 

http://maven.apache.org/maven2/getting-started.html

to create a jar file .. then you can taylor your own by adding
your own source.  There should be option to allow you to include/eclude
file to compille

-D


On 8/10/05, Rizwan Merchant <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> How I create a jar file from my targets such that I can specify which jar
> files certain classes should go to?
> Basiclly I have the following ant task and need to translate it into maven2
> 
>  <target name="common_jar" depends="init">
>          <jar destfile="${build.jar.dir}/common.jar"
>                   basedir="${classes.dir}"
>                   includes="com/alpha/common/**, com/alpha/framework/**,
> com/alpha/util/**, com/alpha/edi/**, com/alpha/task/**,
> com/alpha/cardswipe/**, com/alpha/license/**, com/alpha/uhmsearch/**,
> com/alpha/print/**, com/alpha/alert/**,com/activetree/editor/**"/>
>  </target>
> 
> Can someone show me an example? thanks.
> 
> -Riz.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to