I am having a pb reusing the reactor to install multiple instance of Tomcat in a single goal. Here's the goal definition :
------------------------------------------------------------------------ ----------------------------------
<goal name="master:install-server">
<maven:reactor basedir="${maven.multiproject.basedir}" postProcessing="true" includes="${master.projects.web}" goals="appserver:install" banner="Installation de Tomcat" ignoreFailures="false"/>
</goal>
------------------------------------------------------------------------ ----------------------------------
Actually, there are 2 projects which are targeted by the reactor. The pb is that the appserver gets correctly installed for the first projet, but for the second only the webapps directory is created below the Tomcat base directory (server/tomcat below the project directory).
This is the output I get from Maven :
------------------------------------------------------------------------ ----------------------------------
Starting the reactor...
Our processing order:
boutique-web
boutiqueadmin-web
+----------------------------------------
| Installation de Tomcat boutique-web
| Memory: 2M/2M
+----------------------------------------
Tentative de téléchargement de common-7.0.3-SNAPSHOT.jar.
Tentative de téléchargement de boutiqueadmin-boutique-common-7.0.3-SNAPSHOT.jar.
Maven has determined your tomcat-4.1.x appserver instance is not installed in directory [ /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-master/../boutique-web/server/ tomcat ] and not started using socket 8080 on host localhost.
master:install-server: appserver:init:
appserver:install:
[mkdir] Created dir: /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat
[mkdir] Created dir: /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat/webapps
tomcat-4.1.x: Installing appserver instance ...
appserver:tomcat-4.1.x-reqs:
appserver:install-tomcat-4.1.x:
[mkdir] Created dir: /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat/conf
[mkdir] Created dir: /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat/work
[mkdir] Created dir: /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat/temp
[mkdir] Created dir: /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat/logs
[copy] Copying 3 files to /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat
boutique:install-server:
[copy] Copying 1 file to /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat/conf
[delete] Deleting: /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat/conf/boutique- web-conf.xml
[move] Moving 1 files to /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat/conf
+----------------------------------------
| Installation de Tomcat boutiqueadmin-web
| Memory: 2M/3M
+----------------------------------------
Tentative de téléchargement de common-7.0.3-SNAPSHOT.jar.
Tentative de téléchargement de boutiqueadmin-boutique-common-7.0.3-SNAPSHOT.jar.
Tentative de téléchargement de boutiqueadmin-catalogue-common-7.0.3-SNAPSHOT.jar.
Maven has determined your tomcat-4.1.x appserver instance is not installed in directory [ /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-master/../boutiqueadmin-web/server/ tomcat ] and not started using socket 8080 on host localhost.
appserver:init:
appserver:install:
[mkdir] Created dir: /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutiqueadmin-web/server/tomcat
[mkdir] Created dir: /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutiqueadmin-web/server/tomcat/webapps
tomcat-4.1.x: Installing appserver instance ...
appserver:tomcat-4.1.x-reqs:
appserver:install-tomcat-4.1.x:
boutique:install-server:
[copy] Copying 1 file to /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat/conf
[delete] Deleting: /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat/conf/boutique- web-conf.xml
[move] Moving 1 files to /Users/guiliguili/Development/Noga/Bouygues Telecom/Boutique/workspace/boutique-web/server/tomcat/conf
BUILD SUCCESSFUL
Total time: 17 seconds
Finished at: Tue Mar 30 16:54:59 CEST 2004
------------------------------------------------------------------------ ----------------------------------
Any ideas?
Cheers
--
Guillaume Lasnier
mailto:[EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]