Re: maven2 xdoclet plugin

2005-07-25 Thread Konstantin Priblouda


--- Arto Pastinen [EMAIL PROTECTED] wrote:

 Hi!
 
 XDoclet 1, unless what is the situation of the
 XDoclet 2?!?
 If the hibernatedoclet works it is also fine for
 me..


hibernate plugin is mot active part of XD2.  I recall
that one of your developers ( Anatol Pomozov ) was
active
in M2 lists...

You may repeat the question in dedicated lits for XD2
plugins. 
( see http://xdoclet.codehaus.org ) 

regards,

[ Konstantin Pribluda http://www.pribluda.de ]
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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



Re: help needed

2005-07-25 Thread gonthina kishore
Hi all,

   I checked in the archives.
I couldnot found anything regarding how to load ftp
tag. I searched by using the key ANT FTP with Maven.
By seeing those archives i am not getting the clear
idea. In those archives also it was not there how to
load ftp tag.

Plz help me

Thanks
Vijay


--- dan tran [EMAIL PROTECTED] wrote:

 http://marc.theaimsgroup.com/?l=turbine-maven-user
 
 search for
 
 ANT FTP with Maven   
 
 
 On 7/19/05, Rinku [EMAIL PROTECTED]
 wrote:
  
  you could google for maven mail archives
  
  here they are:
  (All archives)
  http://mail-archives.apache.org/mod_mbox/
  (Maven user list archives)
 

http://mail-archives.apache.org/mod_mbox/maven-users/
  
  
  gonthina kishore wrote:
  
  Hi,
  
I am new to this environment. I am not having
 the
  idea of how to load ftp tag by searching the
 archive.
  where the archive will be present.
  
  Plz help me
  
  Thanks
  Vijay
  
  
  
  
  --- dan tran [EMAIL PROTECTED] wrote:
  
  
  
  you need to load the ftp tag, search the archive
 for
  solution.
  
  -D
  
  On 7/19/05, gonthina kishore
  [EMAIL PROTECTED] wrote:
  
  
  Hi,
  
   I am trying to use the ant:ftp task in my
  
  
  script.
  
  
  I wrote the task as
  
  ant:ftp server=193.183.69.30 port=21
  userid=auto password=abc
  ant:fileset dir=/home/cwzip/
  /ant:ftp
  
  I setted the classpath for the 3 jar files
  
  jakarta-oro-2.0.8.jar
  NetComponents.jar
  commons-net-1.2.2.jar
  
  When i run the script i am getting the error as
  
  Could not convert tag: ftp into an Ant task,
 data
  
  
  type
  
  
  or property
  
  ftp password=abc.123 userid=autoscan
  server=193.186.79.34 port=21/ftp
  
  plz help me
  
  Thanks
  Vijay
  
  
  
 

__
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
  
  
  protection around
  
  
  http://mail.yahoo.com
  
  
  
  
 

-
  
  
  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]
  
  
  
  
  
  
 
 __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
  
 

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

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





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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



RE: help needed

2005-07-25 Thread NATARAJAN Sasi Kumar
Hai vijay

Maven(1.0.2)
Can you use following tag in plugin.jelly

taskdef
name=ftp

classname=org.apache.tools.ant.taskdefs.optional.net.FTP
/
ant:ftp ..

Cheers
Sasikumar


-Original Message-
From: gonthina kishore [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 25, 2005 3:21 PM
To: Maven Users List; dan tran
Subject: Re: help needed

Hi all,

   I checked in the archives.
I couldnot found anything regarding how to load ftp
tag. I searched by using the key ANT FTP with Maven.
By seeing those archives i am not getting the clear
idea. In those archives also it was not there how to
load ftp tag.

Plz help me

Thanks
Vijay


--- dan tran [EMAIL PROTECTED] wrote:

 http://marc.theaimsgroup.com/?l=turbine-maven-user
 
 search for
 
 ANT FTP with Maven   
 
 
 On 7/19/05, Rinku [EMAIL PROTECTED]
 wrote:
  
  you could google for maven mail archives
  
  here they are:
  (All archives)
  http://mail-archives.apache.org/mod_mbox/
  (Maven user list archives)
 

http://mail-archives.apache.org/mod_mbox/maven-users/
  
  
  gonthina kishore wrote:
  
  Hi,
  
I am new to this environment. I am not having
 the
  idea of how to load ftp tag by searching the
 archive.
  where the archive will be present.
  
  Plz help me
  
  Thanks
  Vijay
  
  
  
  
  --- dan tran [EMAIL PROTECTED] wrote:
  
  
  
  you need to load the ftp tag, search the archive
 for
  solution.
  
  -D
  
  On 7/19/05, gonthina kishore
  [EMAIL PROTECTED] wrote:
  
  
  Hi,
  
   I am trying to use the ant:ftp task in my
  
  
  script.
  
  
  I wrote the task as
  
  ant:ftp server=193.183.69.30 port=21
  userid=auto password=abc
  ant:fileset dir=/home/cwzip/
  /ant:ftp
  
  I setted the classpath for the 3 jar files
  
  jakarta-oro-2.0.8.jar
  NetComponents.jar
  commons-net-1.2.2.jar
  
  When i run the script i am getting the error as
  
  Could not convert tag: ftp into an Ant task,
 data
  
  
  type
  
  
  or property
  
  ftp password=abc.123 userid=autoscan
  server=193.186.79.34 port=21/ftp
  
  plz help me
  
  Thanks
  Vijay
  
  
  
 

__
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
  
  
  protection around
  
  
  http://mail.yahoo.com
  
  
  
  
 

-
  
  
  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]
  
  
  
  
  
  
 
 __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
  
 

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

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





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



Re: help needed

2005-07-25 Thread Emmanuel Venisse

http://marc.theaimsgroup.com/?l=turbine-maven-userm=111235841411680w=2

Emmanuel


gonthina kishore wrote:

Hi all,

   I checked in the archives.
I couldnot found anything regarding how to load ftp
tag. I searched by using the key ANT FTP with Maven.
By seeing those archives i am not getting the clear
idea. In those archives also it was not there how to
load ftp tag.

Plz help me

Thanks
Vijay


--- dan tran [EMAIL PROTECTED] wrote:



http://marc.theaimsgroup.com/?l=turbine-maven-user

search for

ANT FTP with Maven   



On 7/19/05, Rinku [EMAIL PROTECTED]
wrote:


you could google for maven mail archives

here they are:
(All archives)
http://mail-archives.apache.org/mod_mbox/
(Maven user list archives)




http://mail-archives.apache.org/mod_mbox/maven-users/



gonthina kishore wrote:



Hi,

I am new to this environment. I am not having


the


idea of how to load ftp tag by searching the


archive.


where the archive will be present.

Plz help me

Thanks
Vijay




--- dan tran [EMAIL PROTECTED] wrote:





you need to load the ftp tag, search the archive


for


solution.

-D

On 7/19/05, gonthina kishore
[EMAIL PROTECTED] wrote:




Hi,

I am trying to use the ant:ftp task in my




script.




I wrote the task as

ant:ftp server=193.183.69.30 port=21
userid=auto password=abc
ant:fileset dir=/home/cwzip/
/ant:ftp

I setted the classpath for the 3 jar files

jakarta-oro-2.0.8.jar
NetComponents.jar
commons-net-1.2.2.jar

When i run the script i am getting the error as

Could not convert tag: ftp into an Ant task,


data




type




or property

ftp password=abc.123 userid=autoscan
server=193.186.79.34 port=21/ftp

plz help me

Thanks
Vijay






__


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam




protection around




http://mail.yahoo.com







-




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]








__


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam


protection around


http://mail.yahoo.com




-


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]






-


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









Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


-
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: help needed

2005-07-25 Thread gonthina kishore
Hai Sasi

  I used the tag as you said and it is working fine.

Thanks a lot,
Vijay

--- NATARAJAN Sasi Kumar [EMAIL PROTECTED]
wrote:

 Hai vijay
 
 Maven(1.0.2)
 Can you use following tag in plugin.jelly
 
 taskdef
   name=ftp
   

classname=org.apache.tools.ant.taskdefs.optional.net.FTP
   /
 ant:ftp ..
 
 Cheers
 Sasikumar
 
 
 -Original Message-
 From: gonthina kishore
 [mailto:[EMAIL PROTECTED] 
 Sent: Monday, July 25, 2005 3:21 PM
 To: Maven Users List; dan tran
 Subject: Re: help needed
 
 Hi all,
 
I checked in the archives.
 I couldnot found anything regarding how to load ftp
 tag. I searched by using the key ANT FTP with Maven.
 By seeing those archives i am not getting the clear
 idea. In those archives also it was not there how to
 load ftp tag.
 
 Plz help me
 
 Thanks
 Vijay
 
 
 --- dan tran [EMAIL PROTECTED] wrote:
 
  http://marc.theaimsgroup.com/?l=turbine-maven-user
  
  search for
  
  ANT FTP with Maven   
  
  
  On 7/19/05, Rinku [EMAIL PROTECTED]
  wrote:
   
   you could google for maven mail archives
   
   here they are:
   (All archives)
   http://mail-archives.apache.org/mod_mbox/
   (Maven user list archives)
  
 

http://mail-archives.apache.org/mod_mbox/maven-users/
   
   
   gonthina kishore wrote:
   
   Hi,
   
 I am new to this environment. I am not having
  the
   idea of how to load ftp tag by searching the
  archive.
   where the archive will be present.
   
   Plz help me
   
   Thanks
   Vijay
   
   
   
   
   --- dan tran [EMAIL PROTECTED] wrote:
   
   
   
   you need to load the ftp tag, search the
 archive
  for
   solution.
   
   -D
   
   On 7/19/05, gonthina kishore
   [EMAIL PROTECTED] wrote:
   
   
   Hi,
   
I am trying to use the ant:ftp task in my
   
   
   script.
   
   
   I wrote the task as
   
   ant:ftp server=193.183.69.30 port=21
   userid=auto password=abc
   ant:fileset dir=/home/cwzip/
   /ant:ftp
   
   I setted the classpath for the 3 jar files
   
   jakarta-oro-2.0.8.jar
   NetComponents.jar
   commons-net-1.2.2.jar
   
   When i run the script i am getting the error
 as
   
   Could not convert tag: ftp into an Ant task,
  data
   
   
   type
   
   
   or property
   
   ftp password=abc.123 userid=autoscan
   server=193.186.79.34 port=21/ftp
   
   plz help me
   
   Thanks
   Vijay
   
   
   
  
 

__
   Do You Yahoo!?
   Tired of spam?  Yahoo! Mail has the best spam
   
   
   protection around
   
   
   http://mail.yahoo.com
   
   
   
   
  
 

-
   
   
   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]
   
   
   
   
   
   
  
 
 __
   Do You Yahoo!?
   Tired of spam?  Yahoo! Mail has the best spam
  protection around
   http://mail.yahoo.com
   
  
 

-
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



ant:zip not including empty directories in zip file

2005-07-25 Thread Vinod Panicker
Hi,

I noticed that the ant:zip directive is not including empty
directories in the destination zip file.

Read that this was fixed in ant version1.6.3.  I'm running ant 1.6.5
and Maven 1.0.2.  I've also updated all the Maven plugins to the
latest version and am still getting this problem.

Any clues?

Regards,
Vinod.

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




Re: [m2] Retrieving dependencies JARs into a directory

2005-07-25 Thread Yann Le Du
Thanks Brett, I wrote the plugin and now it's working all right.

Yann


--- Brett Porter [EMAIL PROTECTED] a écrit :

 There is no maven.xml file in Maven2 - you need to create a separate
 plugin that does this (though it is not much larger than this).
 
 - Brett
 
 On 7/22/05, Yann Le Du [EMAIL PROTECTED] wrote:
  Marc,
  
  Thanks, this looks like exactly what I need. Though, I'm afraid I'm going
 to
  bother you with a plugin-writing-newbie question because I can't get it
  running, even after reading the following :
  http://maven.apache.org/reference/scripting.html
  http://maven.apache.org/using/developing-plugins.html
  http://maven.apache.org/reference/user-guide.html#maven_xml
  
  Here is what I've done :
  
  1. Created a maven.xml file in my project root dir :
  project xmlns:ant=jelly:ant xmlns:j=jelly:core
goal name=deps
  j:forEach var=lib items=${pom.artifacts}
ant:copy todir=${maven.dist.bin.assembly.dir}/lib
 file=${lib.path}/
  /j:forEach
/goal
  /project
  
  2. Launched m2 -e deps from the project root dir, which gratified me with
 :
  Invalid task 'deps': you must specify a valid lifecycle phase, or a goal in
 the
  format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
  
  I certainly have missed something... Is it something peculiar to m2 ?
  
  TIA,
  
  Yann
  
  
  --- Marc Attiyeh [EMAIL PROTECTED] a écrit :
  
   You can write your own goal that copies dependencies out of the repo.
  
   goal name=copy-deps
 j:forEach var=lib items=${pom.artifacts}
   j:set var=dep value=${lib.dependency}/
   ant:copy todir=${maven.dist.bin.assembly.dir}/lib
  file=${lib.path}/
 /j:forEach
   /goal
  
   -marc
  
   -Original Message-
   From: Yann Le Du [mailto:[EMAIL PROTECTED]
   Sent: Thursday, July 21, 2005 10:06 AM
   To: Maven User List
   Subject: [m2] Retrieving dependencies JARs into a directory
  
   Hi,
  
   When you call war:war, all the dependencies (including transitive) JARs
 are
   put
   in target/root/WEB-INF/lib. Is there a way to do only this part - that
 is,
   retrieve all the dependency JARs into a directory - with an existing
 plugin ?
   Or should I write one of my own ?
  
   Regards,
  
   Yann
  
  
  
  
  
  
  
 ___
   Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo!
 Messenger
   Téléchargez cette version sur http://fr.messenger.yahoo.com
  
   -
   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]
  
  
  
  
  
  
  
  
  
  ___
  Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
  Téléchargez cette version sur http://fr.messenger.yahoo.com
  
  -
  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]
 
 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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



RE: zip not including empty directories in zip file

2005-07-25 Thread NATARAJAN Sasi Kumar
Hai Vinod

(Maven1.0.2)
Can you refer following url

http://ant.apache.org/manual/CoreTasks/zip.html

and use this
EX:

  zip destfile=${dist}/manual.zip
zipfileset dir=htdocs/manual prefix=docs/user-guide/
zipfileset dir=. includes=ChangeLog27.txt
fullpath=docs/ChangeLog.txt/
zipfileset src=examples.zip includes=**/*.html
prefix=docs/examples/
  /zip

Cheers
Sasikumar


-Original Message-
From: Vinod Panicker [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 25, 2005 4:48 PM
To: Maven Users List
Subject: ant:zip not including empty directories in zip file

Hi,

I noticed that the ant:zip directive is not including empty
directories in the destination zip file.

Read that this was fixed in ant version1.6.3.  I'm running ant 1.6.5
and Maven 1.0.2.  I've also updated all the Maven plugins to the
latest version and am still getting this problem.

Any clues?

Regards,
Vinod.

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

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


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



Re: ant:zip not including empty directories in zip file

2005-07-25 Thread Brett Porter
Maven 1.0.2 includes ant 1.5.3. You would need to use Maven 1.1-beta-1
which includes ant 1.6.5.

Cheers,
Brett

On 7/25/05, Vinod Panicker [EMAIL PROTECTED] wrote:
 Hi,
 
 I noticed that the ant:zip directive is not including empty
 directories in the destination zip file.
 
 Read that this was fixed in ant version1.6.3.  I'm running ant 1.6.5
 and Maven 1.0.2.  I've also updated all the Maven plugins to the
 latest version and am still getting this problem.
 
 Any clues?
 
 Regards,
 Vinod.
 
 -
 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: zip not including empty directories in zip file

2005-07-25 Thread Vinod Panicker
Hi there,

I've read that whole page before, and have seen the examples as well.

I'm referring to a bug in ant that caused it to skip empty directories
in the fileset when creating the zip file.

As a workaround, I've used ant:touch to create an empty file in the
directory so that the zip works.

Regards,
Vinod.

On 7/25/05, NATARAJAN Sasi Kumar [EMAIL PROTECTED] wrote:
 Hai Vinod
 
 (Maven1.0.2)
 Can you refer following url
 
 http://ant.apache.org/manual/CoreTasks/zip.html
 
 and use this
 EX:
 
   zip destfile=${dist}/manual.zip
 zipfileset dir=htdocs/manual prefix=docs/user-guide/
 zipfileset dir=. includes=ChangeLog27.txt
 fullpath=docs/ChangeLog.txt/
 zipfileset src=examples.zip includes=**/*.html
 prefix=docs/examples/
   /zip
 
 Cheers
 Sasikumar

--snip--

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



Re: ant:zip not including empty directories in zip file

2005-07-25 Thread Vinod Panicker
Thanks for the heads up!

Regards,
Vinod.

On 7/25/05, Brett Porter [EMAIL PROTECTED] wrote:
 Maven 1.0.2 includes ant 1.5.3. You would need to use Maven 1.1-beta-1
 which includes ant 1.6.5.
 
 Cheers,
 Brett
 
 On 7/25/05, Vinod Panicker [EMAIL PROTECTED] wrote:
  Hi,
 
  I noticed that the ant:zip directive is not including empty
  directories in the destination zip file.
 
  Read that this was fixed in ant version1.6.3.  I'm running ant 1.6.5
  and Maven 1.0.2.  I've also updated all the Maven plugins to the
  latest version and am still getting this problem.
 
  Any clues?
 
  Regards,
  Vinod.

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



environment variables inside project.properties

2005-07-25 Thread Torsten Curdt

I would like to use maven for deploying snapshots
via scp. So've inserted this snippet:

 maven.repo.remote=http://server:/repository
 maven.repo.list=my.snapshots
 maven.repo.managesoft.snapshots=scp://server
 maven.repo.managesoft.snapshots.directory=/var/lib/maven-repository/
 maven.repo.managesoft.snapshots.username=tcurdt
 maven.repo.managesoft.snapshots.privatekey=/home/tcurdt/.ssh/id_dsa

All working fine ...but as you can see my userid
and the home directory are hardcoded. Is there any
kind of environment variable substitution mechanism
available inside the project properties?

 maven.repo.managesoft.snapshots.username={user}
 maven.repo.managesoft.snapshots.privatekey={home}/.ssh/id_dsa

...I fear otherwise I would have to pass in the
settings via -D commandline switch.

cheers
--
Torsten


PGP.sig
Description: This is a digitally signed message part


Re: environment variables inside project.properties

2005-07-25 Thread Brett Porter
Only system properties, but that covers what you need:

${user.home} = $HOME
${user.name} = $USER / $LOGNAME

HTH,
Brett

On 7/26/05, Torsten Curdt [EMAIL PROTECTED] wrote:
 I would like to use maven for deploying snapshots
 via scp. So've inserted this snippet:
 
   maven.repo.remote=http://server:/repository
   maven.repo.list=my.snapshots
   maven.repo.managesoft.snapshots=scp://server
   maven.repo.managesoft.snapshots.directory=/var/lib/maven-repository/
   maven.repo.managesoft.snapshots.username=tcurdt
   maven.repo.managesoft.snapshots.privatekey=/home/tcurdt/.ssh/id_dsa
 
 All working fine ...but as you can see my userid
 and the home directory are hardcoded. Is there any
 kind of environment variable substitution mechanism
 available inside the project properties?
 
   maven.repo.managesoft.snapshots.username={user}
   maven.repo.managesoft.snapshots.privatekey={home}/.ssh/id_dsa
 
 ...I fear otherwise I would have to pass in the
 settings via -D commandline switch.
 
 cheers
 --
 Torsten
 
 


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



[M2] JDK tools.jar dependency

2005-07-25 Thread Marc Jambert

Hi all,

I would like to know what is the *cleanest* way, if any, to add 
tools.jar library (from the JDK/lib) as a dependency of my project ?
I cannot find it in the m2 repository and I would prefer not to add it 
in a local repository.


Thanks

Marc


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



Howto get the dependencies of direct dependencies of a project

2005-07-25 Thread Per Abich

Hello,

I am trying to retrieve a list of dependencies for all the artifacts 
that I have included in my project.


The goal is, to get all those files, copy them into a specific location 
and then zip them together to obtain single-file-install which is 
deployable without any further dependencies.


I have tried to simply get the *.pom - files and get their dependencies, 
but so far, I have failed to do this.


The way I have gone, was like the following:

j:forEach var=lib items=${pom.artifacts}
   ant:copy todir=${distDir}/lib file=${lib.path} /
/j:forEach

the above works, but only allows me to copy the DIRECT dependencies 
which I have specified in the project.xml.


But how do I get to copy all the dependencies of my dependencies into my 
${distDir}/lib folder?


Does anyone have a solution for this?

Best Regards

Per Abich
Catenic AG

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



RE: Howto get the dependencies of direct dependencies of a project

2005-07-25 Thread Inger, Matthew
With maven 1.x you don't.  It's going to be in maven 2


-Original Message-
From: Per Abich [mailto:[EMAIL PROTECTED]
Sent: Monday, July 25, 2005 10:56 AM
To: users@maven.apache.org
Subject: Howto get the dependencies of direct dependencies of a project


Hello,

I am trying to retrieve a list of dependencies for all the artifacts 
that I have included in my project.

The goal is, to get all those files, copy them into a specific location 
and then zip them together to obtain single-file-install which is 
deployable without any further dependencies.

I have tried to simply get the *.pom - files and get their dependencies, 
but so far, I have failed to do this.

The way I have gone, was like the following:

j:forEach var=lib items=${pom.artifacts}
ant:copy todir=${distDir}/lib file=${lib.path} /
/j:forEach

the above works, but only allows me to copy the DIRECT dependencies 
which I have specified in the project.xml.

But how do I get to copy all the dependencies of my dependencies into my 
${distDir}/lib folder?

Does anyone have a solution for this?

Best Regards

Per Abich
Catenic AG

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



[M1] Classpath in jar files

2005-07-25 Thread Michael Owen

Hi,

Firstly, I'm using Maven 1.0.2.

At the moment I specify I would like to add a dependency to the classpath 
line of a jar manifest file by adding:


properties
jar.manifest.classpathtrue/jar.manifest.classpath
/properties

to the dependency in project.xml.

This means the Manifest.mf file in the jar file produced by executing the 
goal jar:jar will have:


Class-Path:  jarfiletest-2.0b1.jar jarfiletest-2.0b2.jar

I would like it so the classpath becomes like so:

Class-Path: ./lib/jarfiletest-2.0b1.jar ./lib/jarfiletest-2.0b2.jar

So my question is, how can you add pre-text to each class-path element?

Thanks,

Mike



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



RE: Howto get the dependencies of direct dependencies of a project

2005-07-25 Thread Yann Le Du
Hi Per,

I confirm this works (see
http://marc.theaimsgroup.com/?l=turbine-maven-userm=112229063518612w=2), but
as Matthew said, only with Maven 2 bacause of (thanks to ?) the transtive
dependencies management.

Regards,

Yann


--- Inger, Matthew [EMAIL PROTECTED] a écrit :

 With maven 1.x you don't.  It's going to be in maven 2
 
 
 -Original Message-
 From: Per Abich [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 25, 2005 10:56 AM
 To: users@maven.apache.org
 Subject: Howto get the dependencies of direct dependencies of a project
 
 
 Hello,
 
 I am trying to retrieve a list of dependencies for all the artifacts 
 that I have included in my project.
 
 The goal is, to get all those files, copy them into a specific location 
 and then zip them together to obtain single-file-install which is 
 deployable without any further dependencies.
 
 I have tried to simply get the *.pom - files and get their dependencies, 
 but so far, I have failed to do this.
 
 The way I have gone, was like the following:
 
 j:forEach var=lib items=${pom.artifacts}
 ant:copy todir=${distDir}/lib file=${lib.path} /
 /j:forEach
 
 the above works, but only allows me to copy the DIRECT dependencies 
 which I have specified in the project.xml.
 
 But how do I get to copy all the dependencies of my dependencies into my 
 ${distDir}/lib folder?
 
 Does anyone have a solution for this?
 
 Best Regards
 
 Per Abich
 Catenic AG
 
 -
 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]
 
 







___ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

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



Advice on maven 2

2005-07-25 Thread Litton, Tom - CEPM
I'm implementing a plugin to generate tomcat server instances and I was hoping 
to get some help with it.  We have 2 different tomcat servers, that are almost 
identical, except each deploys different web applications (one for web apps 
that are accessible from the internet, one for internal web apps).  Therefore 
we create 2 servers, one gets installed on a server in the DMZ and the other 
gets installed on an internal server.
 
The plugin should do the following:
 
1.  Copy the tomcat server files to a working directory.  
2.  Copy config files and modified catalina.bat file to config and to bin 
(overwriting files that are there currently).  
3.  Generate the server.xml file using a velocity template.  We change the 
tomcat settings depending on the build profile (dev, qa, prod) and type 
(internet, internal).
4.  Compile and jar custom extension classes and place it in the server/lib 
file.  These classes are directly dependent on tomcat server classes.
5.  Compile and jar (or copy from the repository) our core business and 
utilities library and copy it to common/lib.  Nearly every one of our web 
applications are dependent on this jar (and therefore its dependencies).
6.  Copy web apps (of the appropriate type) from the repository into the 
webapps directory.
7.  Copy all common libraries to common/lib
8.  Zip up the entire server and copy it to a repository.
 
The idea is that you can unzip the final file and get a fully functioning 
server.
 
The first 4 steps and the last step should be pretty straight forward.  We 
already implemented this in a maven.xml file using ant tasks for maven 1.  I 
can just move it to a plugin.  
 
However, I'm not sure how to handle the dependencies.  In maven 1, we simply 
used properties on the dependency to mark it as a common library and wrote a 
plugin to copy those libraries to common/lib and copy the war file to the 
webapps directory after the application is built (i.e., postGoal 
name=war:war).  We are trying to get away from that mechanism.  That was 
invoked on the web application project, and we think it will simplify things if 
we keep all logic related to building the tomcat instance in one plugin and 
invoked on one project.  
 
What i'm planning on doing is to include our core library as a dependency into 
our tomcat project and include everything that should go into common/lib as 
dependencies on the core library.  That way I can implement the plugin to copy 
all jar dependencies (direct or indirect) into common/lib and have it copy the 
core library to common/lib and then cascade to all of its dependencies.  For 
the war dependencies, I'm hoping I can look at a property set on the war 
application project (although i'm not entirely sure how to do this) to 
determine if its the appropriate type (internet or internal) and copy it to the 
webapps directory if it is.
 
In order to keep dependencies listed in one place, the web applications can 
extend the core library project (or would it be better to create a parent 
project that contains only a pom.xml?).  If i did this, I would have to mark 
all the common dependencies as provided to keep them from being copied to the 
web-inf/lib directory.  Would this cause a problem when copying the files to 
common/lib explained above?
 
Any advice you can give would be greatly appreciated.  
 
Tom


--
The information contained in this transmission is intended only for
the personal and confidential use of the designated recipients named
herein.  If the reader of this transmission is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
transmission in error, and that any review, dissemination,
distribution, or copying of this transmission is strictly prohibited.
If you have received this communication in error, please notify the
sender and return and delete the original transmission immediately.
Thank you.



[M1] Using source files of another project

2005-07-25 Thread Michael Owen

Hi,

I'm using Maven 1.0.2 and on one maven project I need to use the java source 
files of another maven project. Any ideas how I can do it in the best way? 
(ie. in one maven project, it's source files references the source files in 
another project)


I need to keep the two sets of maven source files separate.

Thanks,

Mike



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



RE: [M1] Using source files of another project

2005-07-25 Thread Marc Attiyeh
If you're in Eclipse, you can make one project depend on another.
Right-click on the project -- Properties -- Java Build Path --
Projects

Here, you can add required projects in the same workspace that will be
referenced in the current project.

Hope this helps,
marc

-Original Message-
From: Michael Owen [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 25, 2005 1:04 PM
To: users@maven.apache.org
Subject: [M1] Using source files of another project

Hi,

I'm using Maven 1.0.2 and on one maven project I need to use the java
source 
files of another maven project. Any ideas how I can do it in the best
way? 
(ie. in one maven project, it's source files references the source files
in 
another project)

I need to keep the two sets of maven source files separate.

Thanks,

Mike



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



Source dependency

2005-07-25 Thread Ballard, Ken
 I have a question about two of my projects. One is an interfaces and domain
beans project and the other is the implementations of those interfaces. The
interfaces and domain beans project jar goes on the client and both go on
the server. I need to run hibernate doclet to generate the hbm.xml files for
the domain beans. Now since hibernate is part of the implementation, I don't
need hbm.xml files on the client. So I want the hbm.xml files to go in the
implementations jar file. How do I generate the hbm.xml files based on the
interfaces and domain beans project in the implementations project? It seems
like the implementations project has a dependency on the source of the other
project. How do I declare that (If that's the way to go)? And how do I tell
hibernatedoclet to look there?

Thanks,
Ken

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



Re: Best approach in using maven w/ eclipse

2005-07-25 Thread jk jk
Thanks Doug.  For the tomcat plugin, Im presumming
your referring to the Sysdeo tomcat plugin.  I also
have that installed in eclipse and use it to start 
stop tomcat.  Can you list down the flow of how you
would make a change in your webapp and deploy it when
actively developing?  For example, this is what Im
doing.

1) Make a change in eclipse
2) Using the Systedo tomcat plugin in eclipse, start
tomcat
3) Open command prompt, execute maven tomcat:install
4) Test out change in browser.
5) Make a change in eclipse again if I want to
6) In command prompt, execute maven tomcat:reload
7) Test out change in browser.

Also, Im trying to setup something similar to what you
had done with the multiproject. But to use
multiproject in eclipse, I would have to create one
root project and create 4 subprojects within that
project.  I dont really want to do that as I still
want to have separate projects within eclipse which
means I will opt not to use multiproject.  Can someone
show me an example of an  eclipse EAR project that
uses maven to build the dependencies on the projects
within eclipse?

Thanks.

Jade



--- Doug Douglass [EMAIL PROTECTED] wrote:

 Jade,
 
 We used to use MyEclipse but have let our
 subscriptions lapse on 
 purpose. In general, I think MyEclipse is a decent
 set of features for 
 the $$$, though the XML editor seemed a bit buggy.
 We have found we can 
 do more with less (maven, mavenide, Tomcat plugin,
 etc) as you seem to 
 have found. While at first the MyEclipse way of
 allowing editting of 
 webapp content (e.g., jsp, etc) in place seems a
 time saver, it presumes 
 there is no build process for any of that content.
 This quickly turned 
 out not to be the case on the project we purchased
 the subscriptions 
 for, which led to a very awkward build/deploy
 process that we, 
 unfortunately, had to expose to our customer. Toward
 the end of that 
 project, I switched to maven for the build
 (multiproject with 4 
 interrelated subprojects) and have never looked
 back.
 
 Yes, during development with Eclipse I almost always
 have a command 
 prompt up for running maven goals. It's what I'm
 used to doing
 
 I have not used the tomcat plugin for Maven, only
 the one for Eclipse 
 and it seems to work fine.
 
 HTH,
 Doug
 
 jk jk wrote:
 
 Hi all,
 
 Im getting setup to use Maven on a new project and
 would like to know the best approach in
 intergrating
 Maven with development, specifically using Eclipse
 (w/
 MyEclipse plugin).  Its usually a preference thing,
 but any feedback would assist me.
 
 After working with Maven goals on Eclipse as
 opposed
 to command prompt, I find it faster to use the
 command
 prompt then executing maven goals in eclipse.  The
 only thing with this approach is that you would
 always
 need a command prompt while you're developing
 rather
 just dealing with your IDE.  Do most use the
 command
 prompt to execute maven goals?
 
 When developing and then testing the web app, I
 find
 it easy to use myeclipse to allow me to
 automatically
 deploy my web app in exploded archive in Tomcat. 
 But
 once you adhere to Maven's recommended directory
 structure, it doesnt work with Myeclipse.  So I've
 resorted to using the Tomcat plugin for Maven
 (using
 the maven tomcat:install or tomcat:reload goals). 
 But
 even then, it sometimes doesnt work.  Does anyone
 have
 the same issue?
 
 Thanks. 
 
 Jade
   
 
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: Best approach in using maven w/ eclipse

2005-07-25 Thread A. Shneyderman
If you run command line I can not see the need for tomcat plugin. Just make
maven assemble and deploy your application.

The following maven.xml works magic for me:
?xml version=1.0?
project xmlns:ant=jelly:ant

goal name=app:deploy prereqs=war:war
ant:unwar  src=${maven.build.dir}/${pom.artifactId}.war 
dest=${tomcat.home}/webapps/${pom.artifactId} /

/goal

goal name=app:redeploy prereqs=app:deploy,app:stop,app:start /

goal name=app:start prereqs=app:anttaskdefs
ant:start url=${tomcat.manager.url} 
   username=${tomcat.manager.username}

   password=${tomcat.manager.password}

   path=/${pom.artifactId} /
/goal

goal name=app:stop prereqs=app:anttaskdefs
ant:stop url=${tomcat.manager.url} 
   username=${tomcat.manager.username}

   password=${tomcat.manager.password}

   path=/${pom.artifactId} /
/goal

goal name=app:list prereqs=app:anttaskdefs
ant:list url=${tomcat.manager.url} 
   username=${tomcat.manager.username}

   password=${tomcat.manager.password}
/
/goal

goal name=app:anttaskdefs
ant:taskdef name=list
classname=org.apache.catalina.ant.ListTask
ant:classpath
ant:pathelement
path=${tomcat.home}/server/lib/catalina-ant.jar /
/ant:classpath
/ant:taskdef
ant:taskdef name=stop
classname=org.apache.catalina.ant.StopTask
ant:classpath
ant:pathelement
path=${tomcat.home}/server/lib/catalina-ant.jar /
/ant:classpath
/ant:taskdef
ant:taskdef name=start
classname=org.apache.catalina.ant.StartTask
ant:classpath
ant:pathelement
path=${tomcat.home}/server/lib/catalina-ant.jar /
/ant:classpath
/ant:taskdef
/goal

/project 


You will need to create some maven vars for it to work. In your home
directory setup a build.properties file and include the following:

tomcat.home=C:/tc4131
tomcat.manager.url=http://localhost:8080/manager
tomcat.manager.username=user
tomcat.manager.password=secret
apps.dir=webapps

And yeah enable manager on tomcat if you try to make any use of the goals
above.

By the way the same worked out even with mavenIDE that way you do not even
have to do any CTRL+TAB to switch to maven prompt.

Alex.

-Original Message-
From: jk jk [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 25, 2005 3:21 PM
To: Maven Users List
Subject: Re: Best approach in using maven w/ eclipse

Thanks Doug.  For the tomcat plugin, Im presumming your referring to the
Sysdeo tomcat plugin.  I also have that installed in eclipse and use it to
start  stop tomcat.  Can you list down the flow of how you would make a
change in your webapp and deploy it when actively developing?  For example,
this is what Im doing.

1) Make a change in eclipse
2) Using the Systedo tomcat plugin in eclipse, start tomcat
3) Open command prompt, execute maven tomcat:install
4) Test out change in browser.
5) Make a change in eclipse again if I want to
6) In command prompt, execute maven tomcat:reload
7) Test out change in browser.

Also, Im trying to setup something similar to what you had done with the
multiproject. But to use multiproject in eclipse, I would have to create one
root project and create 4 subprojects within that project.  I dont really
want to do that as I still want to have separate projects within eclipse
which means I will opt not to use multiproject.  Can someone show me an
example of an  eclipse EAR project that uses maven to build the dependencies
on the projects within eclipse?

Thanks.

Jade



--- Doug Douglass [EMAIL PROTECTED] wrote:

 Jade,
 
 We used to use MyEclipse but have let our subscriptions lapse on 
 purpose. In general, I think MyEclipse is a decent set of features for 
 the $$$, though the XML editor seemed a bit buggy.
 We have found we can
 do more with less (maven, mavenide, Tomcat plugin,
 etc) as you seem to
 have found. While at first the MyEclipse way of allowing editting of 
 webapp content (e.g., jsp, etc) in place seems a time saver, it 
 presumes there is no build process for any of that content.
 This quickly turned
 out not to be the case on the project we purchased the subscriptions 
 for, which led to a very awkward build/deploy process that we, 
 unfortunately, had to expose to our customer. Toward the end of that 
 project, I switched to maven for the 

Re: [M1] Using source files of another project

2005-07-25 Thread Grant Ingersoll
For IntelliJ, I modified the IDEA plugin to associate the source files
of a dependency.  So, some of my dependencies declarations look like:
dependency
groupIdgroup/groupId
artifactIdartifact/artifactId
version0.2.0/version
properties
src../ProjectName/src/main/java/src
/properties
/dependency

Then, in the IDEA plugin I have it parse out this property and fill in
the appropriate pieces for the IntelliJ file descriptor.  I would be
more than happy to share the Jelly required if others are interested.

 [EMAIL PROTECTED] 07/25/05 1:04 PM 
Hi,

I'm using Maven 1.0.2 and on one maven project I need to use the java
source 
files of another maven project. Any ideas how I can do it in the best
way? 
(ie. in one maven project, it's source files references the source
files in 
another project)

I need to keep the two sets of maven source files separate.

Thanks,

Mike



-
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: Best approach in using maven w/ eclipse

2005-07-25 Thread Doug Douglass

Yes, Sysdeo Tomcat plugin.

Web app work flow is similar to what you describe, but we have Tomcat 
and the Tomcat plugin configured to use context configuration files and 
just point the context to the target/artifactId directory of the 
webapp project. Therefore, the work flow is:


1) make a change in Eclipse
2) Start Tomcat, if it isn't already started
3) execute maven war:webapp
4) test/refresh in browser
5) repeat

Most changes are picked up automatically by Tomcat, though some are not 
(e.g., changes to Spring beans configuration), so I may add the clean 
goal as part of the maven command, or just restart Tomcat. Though, as I 
think about it, using a Maven plugin may make more sense as it's 
configuration travels in the POM instead of in the IDE configuration. 
H, I'll have to play with the Maven tomcat plugin.


As for use of multiproject, we don't have all the Maven sub-projects in 
one Eclipse project. We have one Eclipse project per Maven sub-project, 
separating out almost everything but presentation from the webapp 
project. The only downside to this is not being able to have an Eclipse 
project for the Maven parent project. Though, all that's in the parent 
project is project.xml, project.properties, Eclipse java code/style 
templates, and a license/header file (for checkstyle plugin). Each 
sub-project sets the maven.multiproject.type property approrpiately 
(e.g., maven.multiproject.type=war:war for the webapp, 
maven.multiproject.type=jar:jar for most of the others) Perhaps I could 
set maven.multiproject.type=jar:deploy or some such for the other 
projects? Haven't tried.


Can't help you out with EAR projects, we haven't done any. From what 
I've read on this list it appears similar to the multi-project layout 
we've already got.


We try very hard to stick with the Maven mantra one artifact, one 
project. We've found that only the most trivial project are hindered by 
this, and that it has helps us design more and better reusable packages.


Cheers,
DD

P.S. All of this is with Maven 1.0.2.

jk jk wrote:


Thanks Doug.  For the tomcat plugin, Im presumming
your referring to the Sysdeo tomcat plugin.  I also
have that installed in eclipse and use it to start 
stop tomcat.  Can you list down the flow of how you
would make a change in your webapp and deploy it when
actively developing?  For example, this is what Im
doing.

1) Make a change in eclipse
2) Using the Systedo tomcat plugin in eclipse, start
tomcat
3) Open command prompt, execute maven tomcat:install
4) Test out change in browser.
5) Make a change in eclipse again if I want to
6) In command prompt, execute maven tomcat:reload
7) Test out change in browser.

Also, Im trying to setup something similar to what you
had done with the multiproject. But to use
multiproject in eclipse, I would have to create one
root project and create 4 subprojects within that
project.  I dont really want to do that as I still
want to have separate projects within eclipse which
means I will opt not to use multiproject.  Can someone
show me an example of an  eclipse EAR project that
uses maven to build the dependencies on the projects
within eclipse?

Thanks.

Jade

 



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



RE: Maven2 using Maven1 repository

2005-07-25 Thread Litton, Tom - CEPM
I've been creating simple poms in my local repository.  Not the optimal 
solution, but it should get you moving forward.

An example of the POM is:
project
  modelVersion4.0.0/modelVersion
  groupIdjta/groupId
  artifactIdjta/artifactId
  version1.0.1/version
/project

-Original Message-
From: Ilyevsky, Leonid (Equity Trading) [mailto:[EMAIL PROTECTED]
Sent: Monday, July 25, 2005 10:53 AM
To: users@maven.apache.org
Subject: Maven2 using Maven1 repository


We use packages from another group that uses maven1. Since maven1 does
not really require the pom files in repository, they don't bother to
publish them
I tried my Maven2 with legacy layout. It understands the layout but
still tries to download the pom file from the poms subdirectory.
Is there any way to tell Maven2 to skip the poms?


If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail. http://www.ml.com/email_terms/



--
The information contained in this transmission is intended only for
the personal and confidential use of the designated recipients named
herein.  If the reader of this transmission is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
transmission in error, and that any review, dissemination,
distribution, or copying of this transmission is strictly prohibited.
If you have received this communication in error, please notify the
sender and return and delete the original transmission immediately.
Thank you.


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



RE: Best approach in using maven w/ eclipse

2005-07-25 Thread Mike Perham
Anyone know if there is a Tomcat Eclipse plugin that allows you to edit
JSP live in the IDE (i.e. hit the page, make a change and refresh the
browser)?  I ask because a co-worker showed me that it is possible in
IDEA.  Repeating your workflow below 100 times as you are authoring and
testing a complex page rapidly grows tiresome.

mike

-Original Message-
From: Doug Douglass [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 25, 2005 3:11 PM
To: Maven Users List
Subject: Re: Best approach in using maven w/ eclipse

Yes, Sysdeo Tomcat plugin.

Web app work flow is similar to what you describe, but we have Tomcat
and the Tomcat plugin configured to use context configuration files and
just point the context to the target/artifactId directory of the
webapp project. Therefore, the work flow is:

1) make a change in Eclipse
2) Start Tomcat, if it isn't already started
3) execute maven war:webapp
4) test/refresh in browser
5) repeat

Most changes are picked up automatically by Tomcat, though some are not
(e.g., changes to Spring beans configuration), so I may add the clean
goal as part of the maven command, or just restart Tomcat. Though, as I
think about it, using a Maven plugin may make more sense as it's
configuration travels in the POM instead of in the IDE configuration. 
H, I'll have to play with the Maven tomcat plugin.

As for use of multiproject, we don't have all the Maven sub-projects in
one Eclipse project. We have one Eclipse project per Maven sub-project,
separating out almost everything but presentation from the webapp
project. The only downside to this is not being able to have an Eclipse
project for the Maven parent project. Though, all that's in the parent
project is project.xml, project.properties, Eclipse java code/style
templates, and a license/header file (for checkstyle plugin). Each
sub-project sets the maven.multiproject.type property approrpiately
(e.g., maven.multiproject.type=war:war for the webapp,
maven.multiproject.type=jar:jar for most of the others) Perhaps I could
set maven.multiproject.type=jar:deploy or some such for the other
projects? Haven't tried.

Can't help you out with EAR projects, we haven't done any. From what
I've read on this list it appears similar to the multi-project layout
we've already got.

We try very hard to stick with the Maven mantra one artifact, one
project. We've found that only the most trivial project are hindered by
this, and that it has helps us design more and better reusable packages.

Cheers,
DD

P.S. All of this is with Maven 1.0.2.

jk jk wrote:

Thanks Doug.  For the tomcat plugin, Im presumming your referring to 
the Sysdeo tomcat plugin.  I also have that installed in eclipse and 
use it to start  stop tomcat.  Can you list down the flow of how you 
would make a change in your webapp and deploy it when actively 
developing?  For example, this is what Im doing.

1) Make a change in eclipse
2) Using the Systedo tomcat plugin in eclipse, start tomcat
3) Open command prompt, execute maven tomcat:install
4) Test out change in browser.
5) Make a change in eclipse again if I want to
6) In command prompt, execute maven tomcat:reload
7) Test out change in browser.

Also, Im trying to setup something similar to what you had done with 
the multiproject. But to use multiproject in eclipse, I would have to 
create one root project and create 4 subprojects within that project.  
I dont really want to do that as I still want to have separate projects

within eclipse which means I will opt not to use multiproject.  Can 
someone show me an example of an  eclipse EAR project that uses maven 
to build the dependencies on the projects within eclipse?

Thanks.

Jade

  


-
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 : RE : [continuum]Using a real sgbd

2005-07-25 Thread Olivier Lamy
I try this but I have the exception :
[ERROR] Cause:
org.apache.maven.plugin.MojoExecutionException: Error configuring plugin
for execution of 'jpox:enhance'.
 
..
 
Caused by:
org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable
to download the artifact from any repository
  org.apache.maven.plugins:mojo:1.0:pom
 
from the specified remote repositories:
  http://repo1.maven.org/maven2
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(Defa
ultArtifactResolver.java:116)
 
 

-Message d'origine-
De : LAMY Olivier [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 25 juillet 2005 16:49
À : continuum-users@maven.apache.org
Objet : RE : [continuum]Using a real sgbd



Ok thanks. 
But I need to build my own continuum from svn HEAD ? 
  
Olivier 

-Message d'origine- 
De : Jason van Zyl [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 25 juillet 2005 16:37 
À : continuum-users@maven.apache.org 
Objet : Re: [continuum]Using a real sgbd 



On Mon, 2005-07-25 at 13:46 +0200, Olivier Lamy wrote: 
 Hi, 
 Continuum is great and very useful when we use maven. 
 I have some questions (maybe it's features). 
 How (maybe it's impossible or not implemented) using a real sgbd 
server 
 instead of HSQL ? 
 Probably I need to change the application.xml file, but Is there any 
 script to create all tables ? 
 Where do I had to put my jdbc driver (sybase one) ? 

We are currently trying out some different databases and we'll let you 
know: 

http://jira.codehaus.org/browse/CONTINUUM-253 
  
This will work, we just haven't thoroughly tested many other databases, 
but we'll put some instructions together so you can try it yourself. 

 How to enlarge the input text (I have lot of maven goals like : 
 clean:clean jar:deploy-snapshot clean:clean 
 maven-statcvs-plugin:register site:deploy clean:clean) and the input 
is 
 very small. 

I will fix that: 

http://jira.codehaus.org/browse/CONTINUUM-254 

Thanks for the feedback. 

 Thanks, 
 Olivier 
 
 
 This e-mail, any attachments and the information contained therein 
(this message) are confidential and intended solely for the use of the

addressee(s). If you have received this message in error please send it 
back to the sender and delete it. Unauthorized publication, use, 
dissemination or disclosure of this message, either in whole or in part 
is strictly prohibited. 

 **


 Ce message electronique et tous les fichiers joints ainsi que  les 
informations contenues dans ce message ( ci apres le message ), sont 
confidentiels et destines exclusivement a l'usage de la  personne a 
laquelle ils sont adresses. Si vous avez reu ce message par erreur, 
merci  de le renvoyer a son emetteur et de le detruire. Toutes 
diffusion, publication, totale ou partielle ou divulgation sous quelque 
forme que se soit non expressement autorisees de ce message, sont 
interdites. 

 **


 
-- 
jvz. 

Jason van Zyl 
jason at maven.org 
http://maven.apache.org 



Re: [m2] plugin parameter value configuration for non primitive types?

2005-07-25 Thread Peter van de Hoef

I think the PlexusConfiguration type is also worth mentioning here.
It enabled me to pass a piece of xml right through to the plugin:

import org.codehaus.plexus.configuration.PlexusConfiguration;
...
class MyMojo [etc..]
{
/**
 * @parameter
 */
private PlexusConfiguration anything;
}

Then, in the pom:

  plugin
groupIdorg.apache.maven.plugins/groupId
[etc...]
configuration
  anything
can go=here/
nested
  elements and=attributes/
/nested
  /anything
/configuration
  /plugin

Kenney Westerhof wrote:

On Fri, 15 Jul 2005, John Fallows wrote:



What syntax is supported for M2 Plugin parameters of non-primitive types?

For example, java.util.Collection (and subclasses), java.util.Map (and
subclasses), arrays, Properties and JavaBeans.



Collections / arrays:

  items
whatever implementation=java.lang.Stringvalue/whatever

whatever2 implementation=your.complex.Object
  fieldnamevalue/fieldname
  field2namevalue2/field2name
/whatever2

!-- this seems to be broken right now:  --
complete.class.Name/complete.class.Name

!-- java.lang.* : --
integer1/integer
stringstringvalue/string

  /items

Map:

   items
 the_keythe value/the_key
 another_keyanother value/another_key
 ...
   /items



Properties:

  items
whatever
  namethe key/name
  valuethe value/value
/whatever
..
  /items

JavaBeans:

  when 'items' maps to a field that is a JavaBean, it is treated
  the same as the top-level 'configuration' tag, that is mapped
  to the component instance.



/**
* Items to be processed, defaults to the empty set.
*
* @parameter
*/
private Set items = Collections.EMPTY_SET;

configuration
 items???/items
/configuration

Kind Regards,
John Fallows.

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





--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

-
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: Maven2 using Maven1 repository

2005-07-25 Thread Ilyevsky, Leonid (Equity Trading)
Thanks, but I already did that. Temporary workaround. The problem is, I
have to manually copy the jar file. When the other team is ready with
their new release, I have to do this again, copy the jar and create the
pom.
I guess, if Maven2 is that strict, I should ask my colleagues to publish
the poms.

-Original Message-
From: Litton, Tom - CEPM [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 25, 2005 4:15 PM
To: Maven Users List
Subject: RE: Maven2 using Maven1 repository


I've been creating simple poms in my local repository.  Not the optimal
solution, but it should get you moving forward.

An example of the POM is:
project
  modelVersion4.0.0/modelVersion
  groupIdjta/groupId
  artifactIdjta/artifactId
  version1.0.1/version
/project

-Original Message-
From: Ilyevsky, Leonid (Equity Trading) [mailto:[EMAIL PROTECTED]
Sent: Monday, July 25, 2005 10:53 AM
To: users@maven.apache.org
Subject: Maven2 using Maven1 repository


We use packages from another group that uses maven1. Since maven1 does
not really require the pom files in repository, they don't bother to
publish them
I tried my Maven2 with legacy layout. It understands the layout but
still tries to download the pom file from the poms subdirectory.
Is there any way to tell Maven2 to skip the poms?


If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy,
retain or redistribute it. Click here for important additional terms
relating to this e-mail. http://www.ml.com/email_terms/



--
The information contained in this transmission is intended only for
the personal and confidential use of the designated recipients named
herein.  If the reader of this transmission is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
transmission in error, and that any review, dissemination,
distribution, or copying of this transmission is strictly prohibited.
If you have received this communication in error, please notify the
sender and return and delete the original transmission immediately.
Thank you.


-
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: [M2] Manifest.mf

2005-07-25 Thread Bennett, Timothy (JIS - Applications)
 -Original Message-
 From: Brett Porter [mailto:[EMAIL PROTECTED] 
 Sent: Friday, July 22, 2005 7:35 PM
 To: Bennett, Timothy (JIS - Applications)
 Cc: Maven Users List
 Subject: Re: [M2] Manifest.mf
 
 You can send them to http://jira.codehaus.org/browse/MNG. Thanks!
 

Done.  See http://jira.codehaus.org/browse/MNG-642.

 I saw your message on oscar-dev. Are you intending to work on 
 the plugin at Oscar, or would you like somewhere else to house it?
 

Yeah... I think we'll host it at the Apache Oscar project.

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



RE: Best approach in using maven w/ eclipse

2005-07-25 Thread Patrick Roumanoff
Hi,

I don't know if it's of any interest to you, but I managed to use the
newly released WTP (http://www.eclipse.org/webtools/ )to do just that.

I like WTP a lot as with my setup it seems much faster/stable than myEclipse
for jsp editing.

Moreover the deployement is much closer to a real one because it allows
you to build the dependant jars and use the maven repository, as maven would 
do, 
but within eclipse.

With WTP you get a real build process to a have a working webapp
(copy files across, assemble jar, copy maven dependencies).

WTP also deploys the webapp to the webserver of your choice (tomcat included)

But it doesn't come free, you have to configure this build process in a new
format (.wtpmodules). It's still a bit of a pain to configure, but I think it's 
worth the effort.

What would be nice is to have either the eclipse maven plugin or 
the mevenide eclipse plugin updated to generate/synchronize those .wtpmodules 
for you.

details at http://roumanoff.blogspot.com/

cheers,

Patrick


 -Original Message-
 From: Doug Douglass [mailto:[EMAIL PROTECTED]
 Subject: Re: Best approach in using maven w/ eclipse
 
 The risk associated with this presumption is that 
 there typically (hopefully always) IS a build process, but it 
 is being subverted. 
 
 Anyone know if there is a Tomcat Eclipse plugin that allows  you to edit
 JSP live in the IDE (i.e. hit the page, make a change and refresh the
 browser)?  I ask because a co-worker showed me that it is possible in
 IDEA.  Repeating your workflow below 100 times as you are authoring and
 testing a complex page rapidly grows tiresome.


NOTICE
This e-mail and any attachments are confidential and may contain copyright 
material of Macquarie Bank or third parties. If you are not the intended 
recipient of this email you should not read, print, re-transmit, store or act 
in reliance on this e-mail or any attachments, and should destroy all copies of 
them. Macquarie Bank does not guarantee the integrity of any emails or any 
attached files. The views or opinions expressed are the author's own and may 
not reflect the views or opinions of Macquarie Bank.


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



Weblogic workspace(IDE) with maven

2005-07-25 Thread NATARAJAN Sasi Kumar
Hai All

 

  I would like to enable (or add) maven feature in weblogic
IDE. How can I do that? Help can be appreciated. 

 

Thanks in Advance.

 

Cheers

Sasikumar

 

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.