RE: Multiproject and Eclipse

2004-04-08 Thread Smith, Matt (MAN-Corporate)
Hello,

subprojects can be placed outside of the master project root.  Set the
property maven.multiproject.includes to the locations of the subprojects. 

Thanks

Matt

-Original Message-
From: Hubert BEHAGHEL [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 9:54 AM
To: Maven Users List
Subject: Multiproject and Eclipse


Hi,

I'd like to manage my projects with Maven /and/ with Eclipse. By the 
way, my wish is to see all my subprojects as Eclipse projects like the 
master project. But I do not know how I can treat the dependencies among 
them : can a subproject be placed out of the master project root ? What 
kind of impact may it have (on the site generation, on the artifact 
building, etc.) ?

Thanks for any help.

--
Hubert


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



Tag library requested that is not present: 'velocity' in plugin:

2004-03-29 Thread Smith, Matt (MAN-Corporate)
Hello,

Maybe you can help.  I am receiving the following error when trying to
generate a site for one of my projects.  Included in the reports is a custom
plugin report that uses the velocity jellly tag library.  I have included
the velocity jelly tag library as a dependency.

errorTag library requested that is not present: 'velocity' in
plugin:/error

Any ideas?

Thanks

Matt

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



patterntesting plugin

2004-02-19 Thread Smith, Matt (MAN-Corporate)
Hello,

Does anybody use http://patterntesting.sourceforge.net/ ?

Looks like it has not been updated in a while.  Any info would be
appreciated.

thanks

Matt

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



RE: Problems with Statcvs Plugin

2004-02-09 Thread Smith, Matt (MAN-Corporate)
we are having the same problem with statcvs.  haven't been able to track it
down as to the cause, but there is a check in statcvs at sf that is not in
the statcvs-xml library.

In net.sf.statcvs.output.xml.chart.Timeline.java there is :
if(hasInitialValue)
and in 
net.sf.statcvs.reportmodel.TimeLine.java there is:
if(hasInitialValue  dataPoints.size()  0).

adding the extra condition gets rid of the NPE but throws an exception that
can be tracked backed to a bug in the 1.4.2 jvm sun.dc.pr.PRException. 

Not sure how to fix this or what is exaclty causing the problem.

Any thoughts?

thanks

matt 
-Original Message-
From: Silvio Haldi [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 4:50 AM
To: [EMAIL PROTECTED]
Subject: Problems with Statcvs Plugin


Hi
In our project we receive the following error when processing the
statcvs:report goal:

[java] Creating suite using net.sf.statcvs.output.XDocRenderer
[java] Using transformer org.apache.xalan.transformer.TransformerImpl
[java] java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at net.sf.statcvs.Main.generateSuite(Main.java:291)
[java] at net.sf.statcvs.Main.run(Main.java:176)
[java] at net.sf.statcvs.Main.main(Main.java:78)
[java] Caused by: java.lang.NullPointerException
[java] at
net.sf.statcvs.output.xml.chart.TimeLine.getDataPoints(TimeLine.java:108)
[java] at
net.sf.statcvs.output.xml.chart.TimeLineChart.addTimeLine(TimeLineChart.java
:87)
[java] at
net.sf.statcvs.output.xml.chart.LocChart.init(LocChart.java:118)
[java] at
net.sf.statcvs.output.xml.CvsCharts.getLocPerAuthorChart(CvsCharts.java:108)
[java] at
net.sf.statcvs.output.xml.document.AuthorsDocument$LinesOfCodeReport.init(
AuthorsDocument.java:75)
[java] at
net.sf.statcvs.output.xml.document.AuthorsDocument.init(AuthorsDocument.ja
va:54)
[java] at
net.sf.statcvs.output.xml.DocumentSuite.generate(DocumentSuite.java:56)
[java] at
net.sf.statcvs.output.XDocRenderer.generate(XDocRenderer.java:51)
[java] ... 7 more
[java] null
[java] [ERROR] Java Result: 1

I assume that there is a character sequence contained in the produced
statcvs.log
that the parser can't read ...
Does somebody have any clue what the problem could be?
Many thanks!

S.Haldi

ps: I've also posted a comment @ http://jira.codehaus.org (see
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPSTATCVS-8)


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



insert space in xdoc?

2004-02-06 Thread Smith, Matt (MAN-Corporate)
Hello,

I have been trying to insert a space after an a href in an xdoc that is
transformed into html but have been unsuccessful. 

a href=http://something.com;something/a something after the space


I have tried j:whitespace trim=false /j:whitespace, nbsp; (which is
not valid), as welll as CData section.  How do I get a space added when
generating html?

thanks in advance

Matt

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



RE: Are unit test includes and excludes inherited?

2004-02-05 Thread Smith, Matt (MAN-Corporate)
On the subject of dependencies are merged, does that mean that if a parent
defines multiple dependencies and a child defines a single dependency, the
child would have its dependency as well as the parents dependencies? 

Just wanted to make sure.  Cause this could simply our build process.  I was
under the impression that if a child defined a dependency it lost the
dependencies or defaults from the parent.

thanks in advance

Matt

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 9:35 AM
To: Maven Users List
Subject: Re: Are unit test includes and excludes inherited?


No, all elements are inherited but only dependencies are merged. For other
elements, if they are redefined in child (like build tag), maven doesn't use
the parent declaration.

Actually, inherit is not perfect in Maven. We'll fix it for 1.0.

Emmanuel

- Original Message - 
From: Nigel Deakin [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 2:51 PM
Subject: RE: Are unit test includes and excludes inherited?


Thanks. Are you saying that dependencies are the *only* thing that is
inherited? I was under the impression that other components of the POM
were inherited, such as unitTestSourceDirectory.

Furthermore, I notice that in maven.xml, goals are inherited but not
post-goals.

Is there a definititive definition of what is inherited?

Nigel

 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 Sent: Thursday February 5 2004 1:08 pm
 To: Maven Users List
 Subject: Re: Are unit test includes and excludes inherited?


 In Maven, only dependencies are merged when you inherit a project.
 In your case, you redeclare a build tag, so only the child
 part is used and
 not the parent part.

 Emmanuel

 - Original Message - 
 From: Nigel Deakin [EMAIL PROTECTED]
 To: Maven Users List [EMAIL PROTECTED]
 Sent: Thursday, February 05, 2004 1:16 PM
 Subject: Are unit test includes and excludes inherited?


 I have a question about project inheritance which I haven't
 been able to
 find out an answer to from searching the documentation or the archives
 of this list.

 I have two maven projects, one which extends the others. In
 general the
 inheritence is working as I would expect.

 In the parent project I have defined which unit tests I want
 to run and
 which ones I want to omit:

   build
 !-- snip other stuff --

 unitTest
includes
 includecom/**/Test*.java/include
   /includes
   excludes
 exclude**/foo/TestBar*.java/exclude
   /excludes
 /unitTest
   /build

 In the child project I simply have:

   build
 !-- snip other stuff --

   /build

 Now when I run the tests in the child project it runs
 everything in the
 unitTestSourceDirectory, ignoring the excludes defined in the parent
 project. So it looks as if the includes and excludes are not being
 inherited.

 Is this expected behaviour?

 (This is with 1.0-rc1)

 Nigel


 This message contains confidential information and is
 intended only for the
 named individual and may not be disseminated without prior
 permission.  If
 you are not the named addressee, you should not disseminate,
 distribute or
 copy this e-mail. Please notify the sender immediately by
 e-mail if you have
 received this message in error and delete this e-message from
 your system.
 E-mail transmission cannot be guaranteed to be secure or error-free as
 information could be intercepted, corrupted, lost, destroyed,
 delayed in
 transmission, incomplete, or may contain viruses. The sender
 therefore does
 not accept liability for any errors or omissions in the
 contents of this
 Message which arise as a result of e-mail transmission.  If
 verification is
 required please request a hard-copy version. This message is
 provided for
 informational purposes and should not be construed as a
 solicitation or
 offer to buy or sell any software or services.

 __
 __
 This email has been scanned for all viruses by the MessageLabs SkyScan
 service. http://www.messagelabs.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]


 __
 __

 This email has been scanned for all viruses by MessageLabs
 __
 __


This message contains confidential information and is intended only for the
named individual and may not be disseminated without prior permission.  If
you are not the named addressee, you 

RE: statcvs:generate:

2004-02-02 Thread Smith, Matt (MAN-Corporate)
Hello,

Try using the ant task cvspass to create your cvspass file.

cvspass cvsroot=:pserver:[EMAIL PROTECTED]:/home/cvspublic
   password=
  /


hth

Matt

-Original Message-
From: Stefan Groschupf [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 9:00 AM
To: Maven Users List
Subject: statcvs:generate:


Hi,

i have still problems to use cvs related plugins.
Thanks to Emmanuel i figure out i had a typo in my cvs connection 
string.
I use a anonymous user to connect the cvs. This user need no password.
however i got a error that it is not possible to access the .cvspass 
file.


statcvs:generate:
 [echo] fetching cvs logs...
 [cvs] cvs log: could not open /Users/joa/.cvspass: No such file or 
directory
 [cvs] cvs [log aborted]: use cvs login to log in first

Can someone give me a hint where i do a mistake?!

Thanks!
Stefan



open technology:   http://www.media-style.com
open source:   http://www.weta-group.net
open discussion:http://www.text-mining.org


-
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: plugin to deploy plugins ?

2004-01-27 Thread Smith, Matt (MAN-Corporate)
Hello,

I use the jar plugin to jar it and then use the artifact tag library to
deploy it.

attainGoal name=jar:jar/
artifact:deploy
artifact=${maven.build.dir}/${maven.final.name}.jar
type=plugin 
project=${pom}/

hth

Matt

-Original Message-
From: Stoffels, Ralf (FWI-AW2) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 6:51 AM
To: '[EMAIL PROTECTED]'
Subject: plugin to deploy plugins ?


Hi,

I believe that it is very obvious, but I miss it:
Is there a plugin or tag library to jar a self-written plugin and deploy it
as a maven plugin ?

Ralf


-
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: specifying more memory for the JVM

2004-01-20 Thread Smith, Matt (MAN-Corporate)
Hello,

set MAVEN_OPTS=-Xmx512m

hth

Matt

-Original Message-
From: Johan Andries [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 10:46 AM
To: [EMAIL PROTECTED]
Subject: specifying more memory for the JVM


Hello,

first of all congrats with Maven, a great building tool!
I've been performing some DbUnit work with Maven today, and I got an
OutOfMemoryError. How can I specify that the JVM used by Maven may consume
more memory? I've searched through the Maven docs  options and didn't find
any information. I know it's possible in ant, so I guess it's possible in
Maven as well?

regards,
Johan Andries

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



RE: cvs.passfile

2003-12-23 Thread Smith, Matt (MAN-Corporate)
There is an ant task that can be used to add entries to the .cvspass file.


cvspass cvsroot=:pserver:[EMAIL PROTECTED]:/home/cvspublic
   password=anoncvs
  /


hth

Matt

-Original Message-
From: Rajeev Kaul [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 7:37 PM
To: Maven Users List
Subject: Re: cvs.passfile


Thanks.  Yes, you can do it in the DOS console window.  However, it would be
still nice to know, how to set this property.


- Original Message -
From: Emmanuel Venisse [EMAIL PROTECTED]
To: Maven Users List [EMAIL PROTECTED]
Sent: Monday, December 22, 2003 2:19 PM
Subject: Re: cvs.passfile


 For create a .cvspass file, run the cvs login command
 If you want create an empty .cvsfile, you can do it on windows with a dos
 console.

 Emmanuel

 - Original Message -
 From: Rajeev Kaul [EMAIL PROTECTED]
 To: Maven Users List [EMAIL PROTECTED]
 Sent: Monday, December 22, 2003 10:59 PM
 Subject: cvs.passfile


 What is the best way of setting the cvs.passfile property for changelog
 plugin?  The default of .cvspass does not work for windows OS.

 Rajeev Kaul


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