Re: creating jar files with excludes and includes

2004-09-17 Thread Eric Giguere
Or some code like this in your project.properties?
#
# maven jar plugins configuration properties
#
maven.jar.includes=com/nhc/cms/client/MappingPortClient.class\
,port_mapping_strings*.properties\
,com/nhc/cms/i18n/I18nUtil.class\
,com/nhc/cms/business/data/PortMappingTO.class\
,com/nhc/cms/business/*Exception.class\
,com/nhc/cms/business/equipment/EquipementType.class\
,com/nhc/cms/business/data/equipement/*.class\
,com/nhc/cms/business/data/*.class
This lists what will be included in your jar when running the jar:jar goal.
Eric
Ashutosh Kumar wrote:
Yes I am trying to use maven jar plugin only. But how to use includes ,
excludes etc I am not getting. Can u send me a sample code.
Regds
Ashutosh
-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 17, 2004 2:09 AM
To: Maven Users List
Subject: Re: creating jar files with excludes and includes

Have you given maven-jar-plugin doc a look?  

http://maven.apache.org/reference/plugins/jar/
-cheers
-D
On Fri, 17 Sep 2004 21:12:59 +0530, Ashutosh Kumar
<[EMAIL PROTECTED]> wrote:
 

Hi
I want to know how to make jar files in maven . I use to do in ant
   

this
 

way(see below). How same thing I  should do in Maven?
Thanx & Regds
Ashutosh

  
  
   

includes="com/**/pcm/people/**,com/**/pcm/services/**,com/**/pcm/admin/*
 

*,com/**/pcm/dataobjects/**"
  failonerror="true"
  verbose="off"
  debug="true"
  debuglevel="lines,vars,source"
  classpathref="project.classpath">
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   

-
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]
 




Re: creating jar files with excludes and includes

2004-09-17 Thread Dion Gillard
You mean something like this in project.xml:

  
${basedir}/Java Source

  
Java Source
**/*.java
  

  

?

On Sat, 18 Sep 2004 09:38:41 +0530, Ashutosh Kumar
<[EMAIL PROTECTED]> wrote:
> Yes I am trying to use maven jar plugin only. But how to use includes ,
> excludes etc I am not getting. Can u send me a sample code.
> Regds
> Ashutosh
> 
> 
> 
> -Original Message-
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 17, 2004 2:09 AM
> To: Maven Users List
> Subject: Re: creating jar files with excludes and includes
> 
> Have you given maven-jar-plugin doc a look?
> 
> http://maven.apache.org/reference/plugins/jar/
> 
> -cheers
> 
> -D
> 
> On Fri, 17 Sep 2004 21:12:59 +0530, Ashutosh Kumar
> <[EMAIL PROTECTED]> wrote:
> > Hi
> > I want to know how to make jar files in maven . I use to do in ant
> this
> > way(see below). How same thing I  should do in Maven?
> > Thanx & Regds
> > Ashutosh
> >
> > 
> >
> > > destdir="${build.pcm.classes.dir}"
> >
> >
> includes="com/**/pcm/people/**,com/**/pcm/services/**,com/**/pcm/admin/*
> > *,com/**/pcm/dataobjects/**"
> >failonerror="true"
> >verbose="off"
> >debug="true"
> >debuglevel="lines,vars,source"
> >classpathref="project.classpath">
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > name="com/cfm/pcm/**/CFM*Session.class"/>
> > > name="com/cfm/pcm/**/CFM*SessionBean.class"/>
> > > name="com/cfm/pcm/**/CFM*SessionHome.class"/>
> > > name="com/cfm/pcm/**/CFM*Bean.class"/>
> >
> >
> > > name="com/cfm/pcm/**/CFMSession.class"/>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> 
> -
> 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]
> 
> 



-- 
http://www.multitask.com.au/people/dion/

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



Re: creating jar files with excludes and includes

2004-09-17 Thread Christian Mouttet
Wow! We got a message from a future traveller :-)

Am Samstag, 18. September 2004 06:08 schrieb Ashutosh Kumar:
> Yes I am trying to use maven jar plugin only. But how to use includes ,
> excludes etc I am not getting. Can u send me a sample code.
> Regds
> Ashutosh

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



RE: creating jar files with excludes and includes

2004-09-16 Thread Ashutosh Kumar
Yes I am trying to use maven jar plugin only. But how to use includes ,
excludes etc I am not getting. Can u send me a sample code.
Regds
Ashutosh

-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 17, 2004 2:09 AM
To: Maven Users List
Subject: Re: creating jar files with excludes and includes

Have you given maven-jar-plugin doc a look?  

http://maven.apache.org/reference/plugins/jar/

-cheers

-D


On Fri, 17 Sep 2004 21:12:59 +0530, Ashutosh Kumar
<[EMAIL PROTECTED]> wrote:
> Hi
> I want to know how to make jar files in maven . I use to do in ant
this
> way(see below). How same thing I  should do in Maven?
> Thanx & Regds
> Ashutosh
> 
> 
>
> destdir="${build.pcm.classes.dir}"
> 
>
includes="com/**/pcm/people/**,com/**/pcm/services/**,com/**/pcm/admin/*
> *,com/**/pcm/dataobjects/**"
>failonerror="true"
>verbose="off"
>debug="true"
>debuglevel="lines,vars,source"
>classpathref="project.classpath">
>
>
>
>
>
>
>
>
>
>
>
> 
> name="com/cfm/pcm/**/CFM*Session.class"/>
> name="com/cfm/pcm/**/CFM*SessionBean.class"/>
> name="com/cfm/pcm/**/CFM*SessionHome.class"/>
> name="com/cfm/pcm/**/CFM*Bean.class"/>
>
>
> name="com/cfm/pcm/**/CFMSession.class"/>
>
>
>
>
>
>
>
>
> 
>

-
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]



Re: creating jar files with excludes and includes

2004-09-16 Thread dan tran
Have you given maven-jar-plugin doc a look?  

http://maven.apache.org/reference/plugins/jar/

-cheers

-D


On Fri, 17 Sep 2004 21:12:59 +0530, Ashutosh Kumar
<[EMAIL PROTECTED]> wrote:
> Hi
> I want to know how to make jar files in maven . I use to do in ant this
> way(see below). How same thing I  should do in Maven?
> Thanx & Regds
> Ashutosh
> 
> 
>
> destdir="${build.pcm.classes.dir}"
> 
> includes="com/**/pcm/people/**,com/**/pcm/services/**,com/**/pcm/admin/*
> *,com/**/pcm/dataobjects/**"
>failonerror="true"
>verbose="off"
>debug="true"
>debuglevel="lines,vars,source"
>classpathref="project.classpath">
>
>
>
>
>
>
>
>
>
>
>
> 
> name="com/cfm/pcm/**/CFM*Session.class"/>
> name="com/cfm/pcm/**/CFM*SessionBean.class"/>
> name="com/cfm/pcm/**/CFM*SessionHome.class"/>
> name="com/cfm/pcm/**/CFM*Bean.class"/>
>
>
> name="com/cfm/pcm/**/CFMSession.class"/>
>
>
>
>
>
>
>
>
> 
>

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



creating jar files with excludes and includes

2004-09-16 Thread Ashutosh Kumar
Hi
I want to know how to make jar files in maven . I use to do in ant this
way(see below). How same thing I  should do in Maven?
Thanx & Regds
Ashutosh