Re: Errors in LOG

2005-12-21 Thread Ricardo de Souza Moura

It works to fix my schedule problem. Thank u
What about the others problems ?
: - D


From: Emmanuel Venisse [EMAIL PROTECTED]
Reply-To: continuum-users@maven.apache.org
To: continuum-users@maven.apache.org
Subject: Re: Errors in LOG
Date: Wed, 21 Dec 2005 14:32:58 +0100

it's a known bug when you have more than one schedule.

you can try with this jar : 
http://beaver.codehaus.org/~evenisse/continuum-core-1.1-SNAPSHOT.jar


Put it in continuum/apps/continuum/lib
and remove old continuum-core jar

Let me know if it fix the problem.

Emmanuel

Ricardo de Souza Moura a écrit :
I have had many errors in my log. Whenever I access the pages I get errors 
like that:


jvm 1| 2005-12-21 10:37:19,992 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context 
will not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:19,992 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context 
will not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:20,007 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context 
will not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:20,007 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context 
will not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:20,007 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context 
will not be modified. screens/Summary.vm [line 53, column 1]



besides it I have had some problems with schedule. In spite of working 
well, every time that ir run, some errors appear in my log:


jvm 1| Dec 21, 2005 10:40:01 AM org.quartz.core.JobRunShell run
jvm 1| SEVERE: Job DEFAULT.EVERY_5_MIN_SCHEDULE threw an unhandled 
Exception:

jvm 1| java.lang.NullPointerException
jvm 1|  at 
org.apache.maven.continuum.DefaultContinuum.buildProjects(DefaultContinuum.java:368)


jvm 1|  at 
org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66)


jvm 1|  at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
jvm 1|  at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)


jvm 1| Dec 21, 2005 10:40:01 AM org.quartz.core.ErrorLogger 
schedulerError

jvm 1| SEVERE: Job (DEFAULT.EVERY_5_MIN_SCHEDULE threw an exception.
jvm 1| org.quartz.SchedulerException: Job threw an unhandled 
exception. [See nested exception: java.lang.NullPointerException]

jvm 1|  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
jvm 1|  at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)


jvm 1| * Nested Exception (Underlying Cause) ---
jvm 1| java.lang.NullPointerException
jvm 1|  at 
org.apache.maven.continuum.DefaultContinuum.buildProjectsDefaultContinuum.java:3


68)
jvm 1|  at 
org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66)


jvm 1|  at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
jvm 1|  at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)



My cron setup in schedule is:  0 0/5 * * * ?

Before the application server startup I had this error:

jvm 1| 2005-12-21 10:35:30,744 [WrapperSimpleAppMain] ERROR 
VelocityComponent  - ResourceManager.getResource() parse 
exception: org.apache.velocity.exception.ParseErrorException: Lexical 
error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at 
line 121, column 17.  E

ncountered: EOF after : 

In spite of this problems, everything works well. How can I resolve this ?
Thanks 












Re: SPAM: Re: Errors in LOG

2005-12-21 Thread Ricardo de Souza Moura

So... Does it mean that everybody has this kind of messages in log ?



From: Emmanuel Venisse [EMAIL PROTECTED]
Reply-To: continuum-users@maven.apache.org
To: continuum-users@maven.apache.org
Subject: Re: SPAM:  Re: Errors in LOG
Date: Wed, 21 Dec 2005 17:42:14 +0100

other error is a false error

Ricardo de Souza Moura a écrit :

It works to fix my schedule problem. Thank u
What about the others problems ?
: - D


From: Emmanuel Venisse [EMAIL PROTECTED]
Reply-To: continuum-users@maven.apache.org
To: continuum-users@maven.apache.org
Subject: Re: Errors in LOG
Date: Wed, 21 Dec 2005 14:32:58 +0100

it's a known bug when you have more than one schedule.

you can try with this jar : 
http://beaver.codehaus.org/~evenisse/continuum-core-1.1-SNAPSHOT.jar


Put it in continuum/apps/continuum/lib
and remove old continuum-core jar

Let me know if it fix the problem.

Emmanuel

Ricardo de Souza Moura a écrit :

I have had many errors in my log. Whenever I access the pages I get 
errors like that:


jvm 1| 2005-12-21 10:37:19,992 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context 
will not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:19,992 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context 
will not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:20,007 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context 
will not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:20,007 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context 
will not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:20,007 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context 
will not be modified. screens/Summary.vm [line 53, column 1]



besides it I have had some problems with schedule. In spite of working 
well, every time that ir run, some errors appear in my log:


jvm 1| Dec 21, 2005 10:40:01 AM org.quartz.core.JobRunShell run
jvm 1| SEVERE: Job DEFAULT.EVERY_5_MIN_SCHEDULE threw an unhandled 
Exception:

jvm 1| java.lang.NullPointerException
jvm 1|  at 
org.apache.maven.continuum.DefaultContinuum.buildProjects(DefaultContinuum.java:368)



jvm 1|  at 
org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66)



jvm 1|  at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
jvm 1|  at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)



jvm 1| Dec 21, 2005 10:40:01 AM org.quartz.core.ErrorLogger 
schedulerError

jvm 1| SEVERE: Job (DEFAULT.EVERY_5_MIN_SCHEDULE threw an exception.
jvm 1| org.quartz.SchedulerException: Job threw an unhandled 
exception. [See nested exception: java.lang.NullPointerException]

jvm 1|  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
jvm 1|  at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)



jvm 1| * Nested Exception (Underlying Cause) ---
jvm 1| java.lang.NullPointerException
jvm 1|  at 
org.apache.maven.continuum.DefaultContinuum.buildProjectsDefaultContinuum.java:3



68)
jvm 1|  at 
org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66)



jvm 1|  at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
jvm 1|  at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)




My cron setup in schedule is:  0 0/5 * * * ?

Before the application server startup I had this error:

jvm 1| 2005-12-21 10:35:30,744 [WrapperSimpleAppMain] ERROR 
VelocityComponent  - ResourceManager.getResource() parse 
exception: org.apache.velocity.exception.ParseErrorException: Lexical 
error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error 
at line 121, column 17.  E

ncountered: EOF after : 

In spite of this problems, everything works well. How can I resolve this 
?

Thanks 




















Errors in LOG

2005-12-21 Thread Ricardo de Souza Moura
I have had many errors in my log. Whenever I access the pages I get errors 
like that:


jvm 1| 2005-12-21 10:37:19,992 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context will 
not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:19,992 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context will 
not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:20,007 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context will 
not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:20,007 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context will 
not be modified. screens/Summary.vm [line 53, column 1]
jvm 1| 2005-12-21 10:37:20,007 [SocketListener0-1] ERROR 
VelocityComponent  - RHS of #set statement is null. Context will 
not be modified. screens/Summary.vm [line 53, column 1]



besides it I have had some problems with schedule. In spite of working well, 
every time that ir run, some errors appear in my log:


jvm 1| Dec 21, 2005 10:40:01 AM org.quartz.core.JobRunShell run
jvm 1| SEVERE: Job DEFAULT.EVERY_5_MIN_SCHEDULE threw an unhandled 
Exception:

jvm 1| java.lang.NullPointerException
jvm 1|  at 
org.apache.maven.continuum.DefaultContinuum.buildProjects(DefaultContinuum.java:368)
jvm 1|  at 
org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66)

jvm 1|  at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
jvm 1|  at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
jvm 1| Dec 21, 2005 10:40:01 AM org.quartz.core.ErrorLogger 
schedulerError

jvm 1| SEVERE: Job (DEFAULT.EVERY_5_MIN_SCHEDULE threw an exception.
jvm 1| org.quartz.SchedulerException: Job threw an unhandled exception. 
[See nested exception: java.lang.NullPointerException]

jvm 1|  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
jvm 1|  at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

jvm 1| * Nested Exception (Underlying Cause) ---
jvm 1| java.lang.NullPointerException
jvm 1|  at 
org.apache.maven.continuum.DefaultContinuum.buildProjectsDefaultContinuum.java:3

68)
jvm 1|  at 
org.apache.maven.continuum.scheduler.ContinuumBuildJob.execute(ContinuumBuildJob.java:66)

jvm 1|  at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
jvm 1|  at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)


My cron setup in schedule is:  0 0/5 * * * ?

Before the application server startup I had this error:

jvm 1| 2005-12-21 10:35:30,744 [WrapperSimpleAppMain] ERROR 
VelocityComponent  - ResourceManager.getResource() parse 
exception: org.apache.velocity.exception.ParseErrorException: Lexical error: 
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 121, 
column 17.  E

ncountered: EOF after : 

In spite of this problems, everything works well. How can I resolve this ?
Thanks 




Re: POM URL

2005-12-20 Thread Ricardo de Souza Moura

Thank you...
Do you have a sample to use that ? I tryed to use it, but I always get the 
message: Enter the URL to the Maven 2 POM[ You must provide a valid url 
]
I get a sample of file protocol on the internet and my file URL was 
something like that:


file:///C|/temp/projeto/pom.xml

I have one more doubt: Can I setup the URL to a pom in cvs repository ? But 
the pom file in repository has the name pom.xml,v. Is it a problem ?


Thanks




From: Emmanuel Venisse [EMAIL PROTECTED]
Reply-To: continuum-users@maven.apache.org
To: continuum-users@maven.apache.org
Subject: Re: POM URL
Date: Mon, 19 Dec 2005 16:30:04 +0100

Do you have a repository browser like viwcvs or Fisheye?

If not, you can use the file protocol 
(http://maven.apache.org/continuum/faqs.html#can-i-use-file-protocol-in-add-project-view) 
with a local copy of your sources.


Emmanuel

Ricardo de Souza Moura a écrit :

Hi...
I would like to add my maven2 project to continuum, but as I use modules I 
just can add it throught a POM URL.
My problem is that I don't shared my cvs repository throught http or ftp, 
I just shared it throught SCP (ssh). I don't know how to use a URL to 
access this protocols. I think that there isn't a way to use URL to access 
via SCP...

Is There another alternative ?

Thanks in advance












POM URL

2005-12-19 Thread Ricardo de Souza Moura

Hi...
I would like to add my maven2 project to continuum, but as I use modules I 
just can add it throught a POM URL.
My problem is that I don't shared my cvs repository throught http or ftp, I 
just shared it throught SCP (ssh). I don't know how to use a URL to access 
this protocols. I think that there isn't a way to use URL to access via 
SCP...

Is There another alternative ?

Thanks in advance




Debug[Off-Topic]

2005-08-11 Thread Ricardo de Souza Moura

Hi folks

I have been using the mevenide eclipse plugin to developer my aplications in 
eclipse, but I  have a problem that I haven't got resolve (I don't get debug 
my application in Tomcat).
I know the Sysdeo plugin to do the debug, but it need a specific directory 
structure, and the mevenide need another one. I use a maven multiproject.
If I wanted to debug this application in JBOSS, I would get because the 
JBOSS-IDE plugin, but to the Tomcat I don't know any plugin...
Does anybody know a eclipse plugin to debug a web application in Tomcat, but 
that I  get to use the mevenide togheter ?
I like maven and I wouldn't like to stop using it, but I need debug my 
applications too.

I appreciate any comment.
Thank you



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



multiproject and Eclipse

2005-07-14 Thread Ricardo de Souza Moura

Hi
I would like a advice...

When you are working with multiproject, Do you create one eclipse project 
for each maven project or create only one eclipse project and mount the 
directory structure(maven project) in this eclipse project ?
I use one eclipse project for each maven project and, because this, I have a 
lot of eclipse project.
I have been used the mevenide plugin. Is this plugin the best for this 
situation ?

I appreciate any advice.

Thanks in advance



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



multproject

2005-07-01 Thread Ricardo de Souza Moura

Hi guys.
Does anybody use some plugin in eclipse with multproject ?
I have been using the mevenide and I am not so confortable with the quantity 
of projects that I have to create.
I have to create at least three projects for each application. One to create 
a war, another to create business objects and a root project. Sometimes I 
need to create a ear and a jar with my ejbs.


How do you safe this problem (have a lot of projects to only one 
application) ?


Thanks in advance



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



source directory

2004-09-24 Thread Ricardo de Souza Moura
Can I have two diferentes source directory ?
_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


multiproject eclipse

2004-09-14 Thread Ricardo de Souza Moura
How are you doing to organize your eclipse projects to mapping your maven 
multiprojects ?
Are you doing one eclipse project for each maven subproject ?
Are you organizing the maven subprojects inside subdirectories on only one 
eclipse project ?

Does anybody use the mevenide eclipse plugin with mutliproject ? How are 
organized the projetc(s) ?

Thanks in advance
_
MSN Messenger: converse com os seus amigos online.  
http://messenger.msn.com.br

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


RE: MavenIDE

2004-09-10 Thread Ricardo de Souza Moura
Thanks, but what I wonder is how I can to do it using MavenIDE.
I only get to do what this article show when I don't use any plugin to 
eclipse.
Only when I do everything alone, without help of plugins.
is There another plugin that help me with this requirements ?


From: Henderson, Jerry L [CC] [EMAIL PROTECTED]
Reply-To: Maven Users List [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Subject: RE: MavenIDE
Date: Fri, 10 Sep 2004 08:22:50 -0500
Maven typically only creates one deployable artifact per project.xml. If
you want subprojects each producing an artifact Then set up a master
project folder with a project.xml and then sub-project folders each with
their own project.xml (they will inherit from master project.xml)
See: http://www.theserverside.com/articles/article.tss?1=MavenMagic for
more info.
-Original Message-
From: Ricardo de Souza Moura [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 10:07 PM
To: [EMAIL PROTECTED]
Subject: MavenIDE
Is anybody using mavenide with eclipse to do the projects ?
When I create a project, sample1 for sample, it create some folders:
sample1
main/src/java
main/src/test
project.xml
It works well if my project produce only one artifact, but what Can I do
to
use mavenIDE and my project produce two or more artifacts ?
I think I need subprojects. One project.xml to each subproject. Am I
right ?
How can I do it, using mavenIDE ?
thanks
_
MSN Messenger: converse com os seus amigos online.
http://messenger.msn.com.br
-
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]
_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


MavenIDE

2004-09-09 Thread Ricardo de Souza Moura
Is anybody using mavenide with eclipse to do the projects ?
When I create a project, sample1 for sample, it create some folders:
sample1
   main/src/java
   main/src/test
   project.xml
It works well if my project produce only one artifact, but what Can I do to 
use mavenIDE and my project produce two or more artifacts ?
I think I need subprojects. One project.xml to each subproject. Am I right ? 
How can I do it, using mavenIDE ?

thanks
_
MSN Messenger: converse com os seus amigos online.  
http://messenger.msn.com.br

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


RE: Is it possible to build WAR and EAR in the same project ?

2004-05-07 Thread Ricardo de Souza Moura
Maybe I didn't have understood your doubt very well, but...

Each POM only create one artifact, so you will need two projects to create 
one EAR e one WAR.

Maybe this link can help you :   
http://www.theserverside.com/resources/article.jsp?l=MavenMagic



From: Jean-François El Fouly [EMAIL PROTECTED]
Reply-To: Maven Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Is it possible to build WAR and EAR in the same project ?
Date: Fri, 07 May 2004 12:35:53 +0200
Suppose I have a project with a web application. At the moment, I build the 
war in this project and the ear in another project that basically has just 
a POM, a maven.xml and build.properties.
Though it seems that the ear plugin was designed to build in the web 
application project itself rather than in another project (since it copies 
the built EAR in application/ears/application-version.ear.

On the other hand, if I want to build the EAR in the same project, I need 
to include the application war as a dependency, so I have some kind of 
chicken-and-egg problem (BTW it became even more difficult since wars now 
have versions).

Did I miss any obvious recipe ?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Multiproject and Reactor

2004-04-29 Thread Ricardo de Souza Moura
Hi folks,

What the difference betwenn Multproject and Reactor ?

I use reactor, but I don't use the maven.multiproject.*  properties.

When Would  I use maven.multiproject.* properties ?

Thanks

_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


multiproject plugin

2004-04-29 Thread Ricardo de Souza Moura
I am trying to use the multiproject plugin, but when I try to call 
multiproject:site, it fail.

my structure:

app
  appEJB
  appWEB
  appEAR
I call maven multiproject:site from app directory.
The error:
You must exclude app:app (the top level project) from the subproject set
All properties are with default value, so my maven.multiproject.includes 
propertie is with value: */project.xml. So my top level project is exclude.

But...
When I call:
maven -Dgoal=site multiproject:goal
almost everything works well.

I understood that would be generated a aggregate site in the 
${basedir}/multiproject/ with a menu with links to all subprojects. It 
didn't happen. Why not ?

Thanks

_
MSN Messenger: converse com os seus amigos online.  
http://messenger.msn.com.br

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


xdoclet problem

2004-04-26 Thread Ricardo de Souza Moura
I am trying to use xdoclet to generate EJbs interfaces.
I put all necessary dependences:
dependency
groupIdxdoclet/groupId
artifactIdxdoclet-ejb-module/artifactId
version1.2/version
/dependency
dependency
groupIdxdoclet/groupId
artifactIdxdoclet-jboss-module/artifactId
version1.2/version
/dependency
!-- This one is needed because jboss-module depends on it --
dependency
groupIdxdoclet/groupId
artifactIdxdoclet-jmx-module/artifactId
version1.2/version
/dependency
and I put a preGoal:

preGoal name=ejb:init
attainGoal name=xdoclet:ejbdoclet/
/preGoal
But is happing this failure:
taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
Did somebody has this problem before ?

_
MSN Messenger: converse com os seus amigos online.  
http://messenger.msn.com.br

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


RE: Multiproject instructions

2004-04-06 Thread Ricardo de Souza Moura
in this url http://wiki.codehaus.org/maven/OtherMavenArticles

The topic 7 Maven Magic show you about setup multiproject.


From: Joshua Sherwood [EMAIL PROTECTED]
Reply-To: Maven Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Multiproject instructions
Date: Tue, 06 Apr 2004 08:08:34 -0400
Is there any documentation on how to setup multiproject structure? The 
plugin itself has goals and properties, but no indication of how to 
describe multiple projects. Do I create multiple project.xml files, how do 
I tell it about the projects??

Any suggestions? I checked the FAQ and WIKI in maven and the multiproject 
plugin.

As a side comment, this problem seems to occur with most plugins, that is 
they have a stated goal and list properties, but don't give any indication 
of what additional xml information is necessary. Has someone started 
putting together DTDs to further aid the developer?

- Josh

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Dynamic dependencies

2004-03-25 Thread Ricardo de Souza Moura
I can to be wrong, but I think that it is the snapshot idea, isn't it ?


From: [EMAIL PROTECTED]
Reply-To: Maven Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Dynamic dependencies
Date: Thu, 25 Mar 2004 09:00:36 +0100
Hi all, I have a little (tricky) dependency problem :

Problem :

On the project I'm working on, we have several maven projects, and some of
them are frameworks projects that are used by the other ones. All these
projects depends of the same root project that defines the common things
like external dependencies.
We have something like this :

root project
|-- project 1
|-- project 2
|-- project 3
When we decide to ship a new version of a framework project (let's call
it frmk-project) , we have to update all the project.xml of the projects
that have frmk-project as dependancy, and as we have many of them, I was
looking for a way to make this automatic.
Idea :

So I thought that it would be nice to define the current framework
projects versions on the root project and put this version in the other
project dependencies so a version change would only cause I change to be
made : it would be something like :
root maven.xml

j:set var=frmk.version value=42/

project 2 project.xml

dependency
  groupIdfoogroup/groupId
  artifactIdfrmk/artifactId
  versionfrmk.version/version
/dependency
Problem :

The problem is : how is it possible to set the variable before getting the 
dependencies ?
I tried the build:start hook but it occurs later and I can't find any 
previous one, or is there any other way to do this work, or any other way 
to
solve this problem ?

Thanks

Julien K.



This message and any attachments (the message) is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
-

Ce message et toutes les pieces jointes (ci-apres le
message) sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Messenger: converse com os seus amigos online.  
http://messenger.msn.com.br

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


cactus-plugin

2004-03-19 Thread Ricardo de Souza Moura
I have been trying run the maven:cactus-test with my project, but I always 
get the error:

The source file does not contain a deployment descriptor

I am trying to do a EJB test.

Do I need to create a web.xml, don't I ? Where must I put this file ?

Thanks.

_
MSN Messenger: converse com os seus amigos online.  
http://messenger.msn.com.br

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


plugin ejb:jar

2004-03-05 Thread Ricardo de Souza Moura
I wish I put my META-INF informations into the file .jar
I changed the propertie maven.ejb.src (maven.ejb.src=src/java), but my 
META-INF directory isn't into the src/java.
I thougth that I could use the propertie maven.ejb.includes, but I am not 
getting to do to work.

How could I put my META-INF directory into the file .jar ?

thanks

_
MSN Messenger: converse com os seus amigos online.  
http://messenger.msn.com.br

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


RE: Réf. : plugin ejb:jar

2004-03-05 Thread Ricardo de Souza Moura
Ok,
And Do I need put my packages into the /src/ejb ? or Can I create a new 
directory java into the /src/ejb and put my packages there ?

How Can I exclude the .java files from my jar ? I only would like to put my 
.class files

Thanks


From: [EMAIL PROTECTED]
Reply-To: Maven Users List [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Subject: Réf. : plugin ejb:jar
Date: Fri, 5 Mar 2004 16:07:22 +0100
maven.ejb.src is not the src folder of your java classes but the location 
of your
META-INF.
Use somethink like :
maven.ejb.src=src/ejb
and in src/ejb/META-INF put your meta inf content

Nicolas



Ricardo de Souza Moura [EMAIL PROTECTED]
05/03/2004 11:54
Veuillez répondre à Maven Users List
Pour :  [EMAIL PROTECTED]
cc :
Objet : plugin ejb:jar
I wish I put my META-INF informations into the file .jar
I changed the propertie maven.ejb.src (maven.ejb.src=src/java), but my
META-INF directory isn't into the src/java.
I thougth that I could use the propertie maven.ejb.includes, but I am not
getting to do to work.
How could I put my META-INF directory into the file .jar ?

thanks

_
MSN Messenger: converse com os seus amigos online.
http://messenger.msn.com.br
-
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]
_
MSN Messenger: converse com os seus amigos online.  
http://messenger.msn.com.br

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


RE: Réf. : plugin ejb:jar

2004-03-05 Thread Ricardo de Souza Moura
I am having some doubts about how I can create my directory structure.
I have been basing at the article from theserverside.com write by Srikanth 
Shenoy.

I have to generate two artifacts, a jar(EJB) and a WAR.

I create a root project and two subprojects.

In my root project I create my project.xml and I define my build like this

build
sourceDirectory${basedir}/src/java/sourceDirectory
/build
I have been hopeing that this configuration would be to all subprojects, but 
to my jar (EJB) I will have to create a /src/ejb directory. I won't have 
problems with this ? because my java sources aren't int the src/java.

How you configure your projects ? Could you give me a light ?

Thanks

_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Réf. : plugin ejb:jar

2004-03-05 Thread Ricardo de Souza Moura
I got it now !!! Thank you very very very much


From: Ricardo de Souza Moura [EMAIL PROTECTED]
Reply-To: Maven Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Réf. : plugin ejb:jar
Date: Fri, 05 Mar 2004 12:36:02 -0300
I am having some doubts about how I can create my directory structure.
I have been basing at the article from theserverside.com write by Srikanth 
Shenoy.

I have to generate two artifacts, a jar(EJB) and a WAR.

I create a root project and two subprojects.

In my root project I create my project.xml and I define my build like this

build
sourceDirectory${basedir}/src/java/sourceDirectory
/build
I have been hopeing that this configuration would be to all subprojects, 
but to my jar (EJB) I will have to create a /src/ejb directory. I won't 
have problems with this ? because my java sources aren't int the src/java.

How you configure your projects ? Could you give me a light ?

Thanks

_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Messenger: converse com os seus amigos online.  
http://messenger.msn.com.br

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


plugin war:install

2004-03-05 Thread Ricardo de Souza Moura
I am getting a bad war file when I run this plugin.

It get generate the war file, but when I try open with easyzip, I get a 
error. Float point division by zero.
This error only happens when I put something into the /src/webapp directory. 
I have to put my WEB-INF directory into this directory, haven't I ?

What is wrong ?

Thanks

_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: plugin war:install

2004-03-05 Thread Ricardo de Souza Moura
Ok, I found the cause. I can't put a empty file into WEB-INF directory. I 
wrote a letter in the file and all work very well.


From: Ricardo de Souza Moura [EMAIL PROTECTED]
Reply-To: Maven Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: plugin war:install
Date: Fri, 05 Mar 2004 15:14:43 -0300
I am getting a bad war file when I run this plugin.

It get generate the war file, but when I try open with easyzip, I get a 
error. Float point division by zero.
This error only happens when I put something into the /src/webapp 
directory. I have to put my WEB-INF directory into this directory, haven't 
I ?

What is wrong ?

Thanks

_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]