RE: Continuous integration

2003-09-17 Thread S. Radhakrishnan
Hi,

Even I had the similar requirement. To easily achieve this, I have modified
maven-java-plugin's plugin.jelly to have a record, to check build failures
and success. Currently I made to mail whenever the build failure occurs.
Its very easy to modify the mail sending process. Also, the mailing details
like From, To, Subject, etc are in project.properties.

I think its the easiest and shortest way to achieve the CI using Maven.

Rk.



-Original Message-
From: Plath, Elton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 1:12 PM
To: '[EMAIL PROTECTED]'
Subject: Continuous integration


Hi all,

Whats the recommended/easiest/best way to do CI with maven. Id really like
to also get a  build success/failed email message.

Regards
Elton


___


The views expressed in this email are, unless otherwise stated, those of the
author and not those
of the FirstRand Banking Group or its management.  The information in this
e-mail is confidential
and is intended solely for the addressee. Access to this e-mail by anyone
else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or
omitted in reliance on this, is prohibited and may be unlawful.
Whilst all reasonable steps are taken to ensure the accuracy and integrity
of information and data
transmitted electronically and to preserve the confidentiality thereof, no
liability or
responsibility whatsoever is accepted if information or data is, for
whatever reason, corrupted
or does not reach its intended destination.

   

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



FW: Regarding Maven Enhancements.

2003-09-04 Thread S. Radhakrishnan
Hi,

I am using Maven beta 10. In that I had the following requirements.

1. Sending email if build fails.
2. Apply custom filters. say for e.g if I say @[EMAIL PROTECTED] it will
filtered as a href=www.viewcvs.com/index.htmlindex.html/a.

When I refer the project documentation, I came to know that, the
nagEmailAddress in project.xml is to notify the build. I don't think its
working.(or I don't know how to make it to work?) Thats why I have modified
the plugin maven-java-plugin to send an email if build fails. Mail
information like from address, to address, subject, message, host and port
can be set in project.properties. Can I upload to Maven community

Also, I have modififed maven-xdoc-plugin in order to have custom filters (as
I said already).

Please sugggest me the way to upload the things to maven community and I
want to be the part of Maven contributors..


Looking forward to hear from you..

Regards,
Radhakrishnan, (RK).
Software Engineer,
Blue Star Infotech Ltd,
Mumbai - 400096.
Maharastra State.
INDIA.


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



Maven checkstyle plugin report fails.

2003-08-29 Thread S. Radhakrishnan
Hi all,

I really donno why the checkstyle report fails and it traces the following
error.

BUILD FAILED
File..
file:/usr/local/java/maven/plugins/maven-checkstyle-plugin-2.0-SNAPSHOT/
Element... ant:checkstyle
Line.. 124
Column 65
Unable to create a Checker: unable to read
/home/intranet/cvs/metapa/commons/checkstyle.xml
Total time:  25 seconds

believe me it worked very fine till day before yesterday. Please help me out
to findout the solution.

RK.


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



filtering in maven

2003-08-28 Thread S. Radhakrishnan
Hi all,

Can i do a filter task like,

@[EMAIL PROTECTED] to a
href=www.someurl.com?docname=index.htmlindex.html/a 

RK.


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



Regardig Maven clover report

2003-08-25 Thread S. Radhakrishnan
Hi all,

I am using Maven beta 10 to generate clover code coverage report.
Site generation fails, if there are failures in test cases.
how can we proceed with the site generation though there are failures
in test cases.??

I am getting the following error message:
BUILD FAILED
null:37:50: attainGoal null:51:44: attainGoal null:108:54: fail There
were test failures.


Regards,
RK.


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



Regardig Maven clover report

2003-08-25 Thread S. Radhakrishnan
Hi all,

I am using Maven beta 10 to generate clover code coverage report.
Site generation fails, if there are failures in test cases.
how can we proceed with the site generation though there are failures
in test cases.??

I am getting the following error message:
BUILD FAILED
null:37:50: attainGoal null:51:44: attainGoal null:108:54: fail There
were test failures.


Regards,
RK.


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



RE: Maven beta 10 repository directory

2003-08-14 Thread S. Radhakrishnan
Hi,

thanks for your solution.. that works fine.. now i am facing with a
different problem.
I am having custom checkstyle properties which will look like,

checkstyle.lcurly.type = nl
checkstyle.lcurly.method = nl
checkstyle.lcurly.other = nl
checkstyle.rcurly = alone
checkstyle.allow.tabs = false
checkstyle.allow.protected = false
checkstyle.allow.package = false
checkstyle.allow.no.author = false
checkstyle.max.line.len = 80

Now, building the checkstyle report using Maven 10, it gives me the
following exception.

com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse
/home/intranet/cvs/metapa/adr/my-checkstyle.properties - Premature end of
file.:-1:-1

however,it was working fine with Maven 9. Is there any other special
consideration for Maven 10??

RK.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 2:16 PM
To: Maven Users List
Subject: Re: Maven beta 10 repository directory


S. Radhakrishnan [EMAIL PROTECTED] wrote on 06/08/2003 06:33:54
PM:

 Hi,

 I have now installed Maven beta 10 version and trying to generate
 maven site. But some how the repository jar files are not created
 under the maven beta 10 directory. its created in $userhome/.maven
 directory. Means, it is looking for the repositories from
$userhome/.maven
 directory instead of $mavenbeta10dir/repository

 How to get rid of this.
Please read the documentation, specifically:

http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties

And the entry on maven.repo.local.

Please set that property in your ${user.home}/build.properties file to
whereever you want your repo to be.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/




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



RE: Maven beta 10 repository directory

2003-08-07 Thread S. Radhakrishnan
Thanks a lot dIon.. its working fine now.

RK.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 7:45 AM
To: Maven Users List
Subject: Re: Maven beta 10 repository directory


Please see the maven documentation, particularly 
http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties

for a full list of properties that affect it's behaviour.

Please note, you've mistyped maven.home.local below, you have it as 
maven.local.home.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


S. Radhakrishnan [EMAIL PROTECTED] wrote on 06/08/2003 09:50:04 
PM:

 
 Hi,
 
 that works fine for repository. But for checkstyle plugins
 .. its looking at the directory .maven in the $userhome directory.
 what are all the additional properties do i need to set for Maven
 beta 10 upgradation.??.. I have checked the ur reference site too
 and set the same values as,
 
 maven.repo.local = ${maven.home}/repository
 maven.local.home = /opt/maven
 
 is that enough??..
 
 
 
 RK.
 
 
 -Original Message-
 From: Fabrice Depoux [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 06, 2003 2:14 PM
 To: S. Radhakrishnan
 Subject: Re: Maven beta 10 repository directory
 
 
 As it is explained in the wiki
 (http://wiki.codehaus.org/maven/MigratingFromBeta9ToBeta10), you have to 
set
 the properties mavan.local.home
 
 Fabrice.
 
 
 On Wed, 6 Aug 2003 14:03:54 +0530
 S. Radhakrishnan [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I have now installed Maven beta 10 version and trying to generate
  maven site. But some how the repository jar files are not created
  under the maven beta 10 directory. its created in $userhome/.maven
  directory. Means, it is looking for the repositories from 
$userhome/.maven
  directory instead of $mavenbeta10dir/repository
 
  How to get rid of this.
 
 
  RK.
 
  -
  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]



Re: Maven beta 10 repository directory

2003-08-06 Thread S. Radhakrishnan

Hi,

that works fine for repository. But for checkstyle plugins
.. its looking at the directory .maven in the $userhome directory.
what are all the additional properties do i need to set for Maven
beta 10 upgradation.??.. I have checked the ur reference site too
and set the same values as,

maven.repo.local = ${maven.home}/repository
maven.local.home = /opt/maven

is that enough??..



RK.


-Original Message-
From: Fabrice Depoux [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 2:14 PM
To: S. Radhakrishnan
Subject: Re: Maven beta 10 repository directory


As it is explained in the wiki
(http://wiki.codehaus.org/maven/MigratingFromBeta9ToBeta10), you have to set
the properties mavan.local.home

Fabrice.


On Wed, 6 Aug 2003 14:03:54 +0530
S. Radhakrishnan [EMAIL PROTECTED] wrote:

 Hi,

 I have now installed Maven beta 10 version and trying to generate
 maven site. But some how the repository jar files are not created
 under the maven beta 10 directory. its created in $userhome/.maven
 directory. Means, it is looking for the repositories from $userhome/.maven
 directory instead of $mavenbeta10dir/repository

 How to get rid of this.


 RK.

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



Integrating Scarab with Maven

2003-08-01 Thread S. Radhakrishnan
Hi,

We can have issue tracking URL in Maven site. Can we have the scarab issue
in the maven site. say for e.g. the issue id will be there and clicking on
that, it will show scarab issue in detail..??

Can anybody help me out of it.

Regards,
RK



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



RE: Integrating Scarab with Maven

2003-08-01 Thread S. Radhakrishnan
Hi dIon,

instead of giving just an URL, can I give the full issue details for any
issue on maven site..???

RK, Blue Star.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 12:12 PM
To: Maven Users List
Subject: Re: Integrating Scarab with Maven


S. Radhakrishnan [EMAIL PROTECTED] wrote on 01/08/2003 04:05:32
PM:

 Hi,

 We can have issue tracking URL in Maven site. Can we have the scarab
issue
 in the maven site. say for e.g. the issue id will be there and clicking
on
 that, it will show scarab issue in detail..??

Just put the url into the issueTrackingUrl element of the project.xml

And it will generate something like:
http://maven.apache.org/issue-tracking.html
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


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



Regarding Maven 10

2003-07-30 Thread S. Radhakrishnan
Hi,

can you tell me about the advantages of maven 10
or suggest me any link to view the same??

I am planning to move from Maven 9 to Maven 10.. for that I need to document
the features..


Regards,
Radhakrishnan.

-Original Message-
From: Ben Walding [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 11:28 AM
To: Maven Users List
Subject: Re: Regarding google search


Thanks Tim.

Added to http://wiki.codehaus.org/maven/XdocDocumentation

Tim Anderson wrote:

Add a search/ element to your navigation.xml file. E.g:

project name=foo
  body
menu name=bar
   ..
/menu

search/
  ...

-Tim



-Original Message-
From: S. Radhakrishnan [mailto:[EMAIL PROTECTED]
Sent: Monday, 21 July 2003 3:32 PM
To: 'Maven Users List'
Subject: Regarding google search


Hi...

How to enable google search using Maven???

Regards,
RK.

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


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



What are all the advantages of Maven beta 10 version

2003-07-20 Thread S. Radhakrishnan
Hi,

I am currently using maven beta 9 version. I just want to switch to maven's
latest version. But before that, I just wanna know that, what are all the
advantages of Maven beta 10 version. it will be easy for me to document the
same :)

Regards,
RK


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



Regarding google search

2003-07-20 Thread S. Radhakrishnan
Hi...

How to enable google search using Maven??? 

Regards,
RK.

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



RE: Regarding google search

2003-07-20 Thread S. Radhakrishnan
Hi Tim,

Thanks! a lot. Thats works fine. I am getting the google search
in my navigation. But I am not getting any results though I am searching
for keywords which are available on my home page. ( user authentication
required
to enter into my site. is this causing me problem??)

Regards,
RK.
-Original Message-
From: Tim Anderson [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 11:20 AM
To: Maven Users List
Subject: RE: Regarding google search


Add a search/ element to your navigation.xml file. E.g:

project name=foo
  body
menu name=bar
   ..
/menu

search/
  ...

-Tim

 -Original Message-
 From: S. Radhakrishnan [mailto:[EMAIL PROTECTED]
 Sent: Monday, 21 July 2003 3:32 PM
 To: 'Maven Users List'
 Subject: Regarding google search


 Hi...

 How to enable google search using Maven???

 Regards,
 RK.

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



RE: JUnit forking problem

2003-07-15 Thread S. Radhakrishnan
set the property maven.junit.fork=true in project.properties.


-Original Message-
From: Dominik Dahlem [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 1:14 PM
To: 'Maven Users List'
Subject: RE: JUnit forking problem


Hi,

JUnit bellied up with a LinkageError:
Testcase: testXPathExpression took 0.047 sec
Caused an ERROR
loader constraints violated when linking org/w3c/dom/Node class
java.lang.LinkageError: loader constraints violated when linking
org/w3c/dom/Node class
at
org.apache.xalan.transformer.TransformerIdentityImpl.init(TransformerI
dentityImpl.java:122)
at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transfo
rmerFactoryImpl.java:802)

I'm testing a class which evaluates XPath expressions. My first mistake
was actually
a missing jar-file (xml-apis.jar). But still with this jar-file in the 
classpath I got the same failure. I set the maven.junit.fork property to
yes and it worked fine. 
Does that make sense?

I'm using Maven 1.0 beta 9 with JDK 1.4.1_02.

Thx,
Dominik

+-+
   _/_/_/_/_/  _/_/_/  __/_/_/_/  Dominik Dahlem
  _/ _/_/  _/ _/  M.Sc. student, Computer Science
 _/ _/_/ _/   Trinity College Dublin
_/ _/_/ _/tel  : +353 (0)1 608
   _/ _/_/  _/ _/ email: [EMAIL PROTECTED]
  _/  _/_/_/  __/_/_/_/   www  : http://www.cs.tcd.ie/~dahlemd
+-+

-Original Message-
From: Ben Walding [mailto:[EMAIL PROTECTED] 
Sent: 15 July 2003 00:40
To: Maven Users List
Subject: Re: JUnit forking problem


You're going to need to post more information.

What does maven say on the command line.

Are there any results in target/test-reports?

Dominik Dahlem wrote:

Hi all,

I have a problem running a test with the property maven.junit.fork=yes.

In default mode, this test runs fine. I ran the maven test -X to 
check the classpath with no result. Both classpaths (fork=yes/no) 
contain the jar files needed to run the test.

Is there any issue? Am I missing something?

Thx,
Dominik

+-+
   _/_/_/_/_/  _/_/_/  __/_/_/_/  Dominik Dahlem
  _/ _/_/  _/ _/  M.Sc. student, Computer Science
 _/ _/_/ _/   Trinity College Dublin
_/ _/_/ _/tel  : +353 (0)1 608
   _/ _/_/  _/ _/ email: [EMAIL PROTECTED]
  _/  _/_/_/  __/_/_/_/   www  : http://www.cs.tcd.ie/~dahlemd
+-+



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


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



RE: Clover coverage reports for Cactus test cases

2003-07-14 Thread S. Radhakrishnan
Hey,

may be u might be knowing the clover known issue, that, you have to execute
tests and coverage report in two different JVMs then only
the coverage will happen.

Regards,
Radhakrishnan.

-Original Message-
From: Kumar, Vaidhyanatha K. [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 5:43 PM
To: Maven Users List
Subject: Clover coverage reports for Cactus test cases


I am trying to generate the Clover coverage reports for the example that
came with the Maven-Cactus plugin. So far, either it ignores my test source
files or It is getting a cactus run time error. 
Has anyone been successful with this? If there is a working example somebody
can point me to , that will be great.
Thanks
Vaidhy


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

javadocdir:null

2003-07-02 Thread S. Radhakrishnan
Hi,

why the trace javadocdir:null is printed over command prompt though I have
supplied all
the necessary parameters for javadoc.
This trace comes whenever I try to run the source xref report thru maven.
Is there any configuration needed to hide this from prompt.? or is there
anyway for not to
show the same in prompt??


Regards,
RK.


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



Can I use yDoc with Maven?

2003-07-01 Thread S. Radhakrishnan
Hi everybody,

I just wanted to use yDoc with maven. Is there any plugin available..?

or any guidence to the plugin?

Regards,
RK.

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



RE: Can I use yDoc with Maven?

2003-07-01 Thread S. Radhakrishnan
yup.. sure.

RK.

-Original Message-
From: Rademacher Tobias [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 5:15 PM
To: 'Maven Users List'; '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: AW: Can I use yDoc with Maven?


 I just wanted to use yDoc with maven. Is there any plugin available..?
 or any guidence to the plugin?

We have written a plugin. Any interest to contribute to to maven?

Bye
Toby

-
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: Can I use yDoc with Maven?

2003-07-01 Thread S. Radhakrishnan
But, will it work with Linux also.. I have tried the with the
build-sample.xml file downloaded from yDoc site in Linux. It says Missing
Resource: class2svg.jar not found

RK


-Original Message-
From: Rademacher Tobias [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 5:15 PM
To: 'Maven Users List'; '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: AW: Can I use yDoc with Maven?


 I just wanted to use yDoc with maven. Is there any plugin available..?
 or any guidence to the plugin?

We have written a plugin. Any interest to contribute to to maven?

Bye
Toby

-
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: Clover reports includes test classes as well.

2003-06-30 Thread S. Radhakrishnan
oops!.

I am having both primary src folder and test folder in a same tree..

is there any workaround?

RK.

-Original Message-
From: Ben Walding [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 2:04 PM
To: Maven Users List
Subject: Re: Clover reports includes test classes as well.


Where you do store your test classes?

Test classes should not be stored in your primary source tree

S. Radhakrishnan wrote:

Hi,

Clover reports includes 'tests' classes as well in the reports. However it
is supposed to report the code coverage of the files which is used by test
cases..!!


can anybody help me out?


Regards,
RK


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



Is there any way to integrate yDoc with Maven

2003-06-26 Thread S. Radhakrishnan
Hi,

I already posted this question.. but still not got any valid reply...

Is there any way to have yDoc integrated with maven..???


Regards,
RK

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



yDoc Plugin

2003-06-23 Thread S. Radhakrishnan
hi,

I just wanted to use yDoc while maven generating javadocs.

Can anybody help me out?

Regards,
RK

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



RE: maven logo

2003-06-19 Thread S. Radhakrishnan
Kristine,

Add the following property in your project.properties

maven.xdoc.poweredby.image=

the image will go away...

Regards,
RK


-Original Message-
From: Kristine Weissbarth [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 3:06 PM
To: Maven Users List
Subject: maven logo


hi, 

it's maybe a bit stupid question, but does anybody know how to get that
little red maven logo away from the documentation website. I saw that
the apache db-site project excluded it too but couldn't figure out what
to do. It's somehow generated automatically isn't it?

Thanks.


-
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: Clover generates 0% code coverage reports

2003-06-17 Thread S. Radhakrishnan
Sorry Ben, its not fruitful still. I am getting 0% coverage recordings.
But if I run maven clover:html-report, then it says error occurred can not
find clover_coverage.db. then
I fired the command maven clover test then the build successful after that
I have tried again
maven clover:html-report, again I got the same 0% coverage recordings.

RK

-Original Message-
From: Ben Walding [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 11:27 AM
To: Maven Users List
Subject: Re: Clover generates 0% code coverage reports


I noticed this a while back also.

Although it's not much of a solution, I found if you run

maven clean
maven clover:html-report
maven clover:html-report

It would then be generated correctly.

I still get transient errors like this in CVS HEAD, but will be looking
at fixing this prior to the release.

I blame Clover's absurd insistence on migrating everything to Ant
tasks.  But I'm just a grumpy mongrel.

S. Radhakrishnan wrote:

Hi I am using maven beta 9 and clover 1.0. after referred the sites i am
doing the clover test and clover report in two seperate commands


maven clover test
maven clover


but still the report gives 0% code coverage. Is there any wrong in the
clover plugin ?.. please can anybody help me out.


Thanks  Regards,
S.Radhakrishnan,



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



RE: Clover generates 0% code coverage reports

2003-06-17 Thread S. Radhakrishnan
Hi Andy,

I am using maven beta 9 version and clover 1.0. and
if I run the command maven clover:test  it says no such target exists.
and as I mentioned earlier, I am executing the same using two seperate
commands.
and my source directory and unit test source directory are same.
and also I am having the maven.junit.fork=true property in
project.properties.

but still I am getting..the same error..

RK

-Original Message-
From: Andy Pols [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 11:48 AM
To: Maven Users List
Subject: Re: Clover generates 0% code coverage reports


The problem is that clover database logs are written on JVM shutdown.
Thus if you call the clover test goal and then the report immediately
after, you'll get an empty report.

There are two solutions:

So, to make it work, simply run :

maven clover:test

and then, in a separate command:

maven clover:html-report



Or placing the following in the project.properties file should also work:
maven.junit.fork = true

Andy

On 17/6/03 6:38 am, S. Radhakrishnan [EMAIL PROTECTED] wrote:

 Hi I am using maven beta 9 and clover 1.0. after referred the sites i am
 doing the clover test and clover report in two seperate commands
 maven clover test
 maven clover
 but still the report gives 0% code coverage. Is there any wrong in the
 clover plugin ?.. please can anybody help me out.


 Thanks  Regards,
 S.Radhakrishnan,



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



RE: Clover generates 0% code coverage reports

2003-06-17 Thread S. Radhakrishnan
Hi Andy,

clover:on test successfully builds the test cases and updates the database
too by instrumenting all source files. but the reports are again 0% coverage
recordings. However, my junit plugin is working fine and I can get to see
all my junit test reports with statistics.

RK

-Original Message-
From: Andy Pols [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 12:24 PM
To: Maven Users List
Subject: Re: Clover generates 0% code coverage reports


Sorry should have said:

clover:on test

But that is not the reason it is not working as you have been using two
separate tasks.

It should work with your settings  - are your tests in the correct place?
Does the junit plugin work?

Andy

On 17/6/03 7:31 am, S. Radhakrishnan [EMAIL PROTECTED] wrote:

 Hi Andy,

 I am using maven beta 9 version and clover 1.0. and
 if I run the command maven clover:test  it says no such target exists.
 and as I mentioned earlier, I am executing the same using two seperate
 commands.
 and my source directory and unit test source directory are same.
 and also I am having the maven.junit.fork=true property in
 project.properties.

 but still I am getting..the same error..

 RK

 -Original Message-
 From: Andy Pols [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 17, 2003 11:48 AM
 To: Maven Users List
 Subject: Re: Clover generates 0% code coverage reports


 The problem is that clover database logs are written on JVM shutdown.
 Thus if you call the clover test goal and then the report immediately
 after, you'll get an empty report.

 There are two solutions:

 So, to make it work, simply run :

 maven clover:test

 and then, in a separate command:

 maven clover:html-report



 Or placing the following in the project.properties file should also work:
 maven.junit.fork = true

 Andy

 On 17/6/03 6:38 am, S. Radhakrishnan [EMAIL PROTECTED] wrote:

 Hi I am using maven beta 9 and clover 1.0. after referred the sites i am
 doing the clover test and clover report in two seperate commands
 maven clover test
 maven clover
 but still the report gives 0% code coverage. Is there any wrong in the
 clover plugin ?.. please can anybody help me out.


 Thanks  Regards,
 S.Radhakrishnan,


-
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: Clover generates 0% code coverage reports

2003-06-17 Thread S. Radhakrishnan
Hi Andy,

When are all the times I will get no Coverage recordings.. any idea.?

RK

-Original Message-
From: Andy Pols [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 12:24 PM
To: Maven Users List
Subject: Re: Clover generates 0% code coverage reports


Sorry should have said:

clover:on test

But that is not the reason it is not working as you have been using two
separate tasks.

It should work with your settings  - are your tests in the correct place?
Does the junit plugin work?

Andy

On 17/6/03 7:31 am, S. Radhakrishnan [EMAIL PROTECTED] wrote:

 Hi Andy,
 
 I am using maven beta 9 version and clover 1.0. and
 if I run the command maven clover:test  it says no such target exists.
 and as I mentioned earlier, I am executing the same using two seperate
 commands.
 and my source directory and unit test source directory are same.
 and also I am having the maven.junit.fork=true property in
 project.properties.
 
 but still I am getting..the same error..
 
 RK
 
 -Original Message-
 From: Andy Pols [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 17, 2003 11:48 AM
 To: Maven Users List
 Subject: Re: Clover generates 0% code coverage reports
 
 
 The problem is that clover database logs are written on JVM shutdown.
 Thus if you call the clover test goal and then the report immediately
 after, you'll get an empty report.
 
 There are two solutions:
 
 So, to make it work, simply run :
 
 maven clover:test
 
 and then, in a separate command:
 
 maven clover:html-report
 
 
 
 Or placing the following in the project.properties file should also work:
 maven.junit.fork = true
 
 Andy
 
 On 17/6/03 6:38 am, S. Radhakrishnan [EMAIL PROTECTED] wrote:
 
 Hi I am using maven beta 9 and clover 1.0. after referred the sites i am
 doing the clover test and clover report in two seperate commands
 maven clover test
 maven clover
 but still the report gives 0% code coverage. Is there any wrong in the
 clover plugin ?.. please can anybody help me out.
 
 
 Thanks  Regards,
 S.Radhakrishnan,


-
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: Clover generates 0% code coverage reports

2003-06-17 Thread S. Radhakrishnan
Hello Andy,

Heres what I have,

1. I am having project.xml (included reporttag for clover).
2. maven.xml (included register tag for clover)
3. project.properties (fork is true and other stuffs)
4. src directory with package structure and in the same package test files
also avilable.
5. Using maven beta 9 and clover 1.0 versions
6. typed maven clover:on test command at first and the result build is
successful.
7. then I typed maven clover:html-report command, the result is also
successful but no coverage recordings found., however the database
containing valid information.
8. Is there any other configuration needed?.. do I missing something..

RK

-Original Message-
From: Andy Pols [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 12:24 PM
To: Maven Users List
Subject: Re: Clover generates 0% code coverage reports


Sorry should have said:

clover:on test

But that is not the reason it is not working as you have been using two
separate tasks.

It should work with your settings  - are your tests in the correct place?
Does the junit plugin work?

Andy

On 17/6/03 7:31 am, S. Radhakrishnan [EMAIL PROTECTED] wrote:

 Hi Andy,

 I am using maven beta 9 version and clover 1.0. and
 if I run the command maven clover:test  it says no such target exists.
 and as I mentioned earlier, I am executing the same using two seperate
 commands.
 and my source directory and unit test source directory are same.
 and also I am having the maven.junit.fork=true property in
 project.properties.

 but still I am getting..the same error..

 RK

 -Original Message-
 From: Andy Pols [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 17, 2003 11:48 AM
 To: Maven Users List
 Subject: Re: Clover generates 0% code coverage reports


 The problem is that clover database logs are written on JVM shutdown.
 Thus if you call the clover test goal and then the report immediately
 after, you'll get an empty report.

 There are two solutions:

 So, to make it work, simply run :

 maven clover:test

 and then, in a separate command:

 maven clover:html-report



 Or placing the following in the project.properties file should also work:
 maven.junit.fork = true

 Andy

 On 17/6/03 6:38 am, S. Radhakrishnan [EMAIL PROTECTED] wrote:

 Hi I am using maven beta 9 and clover 1.0. after referred the sites i am
 doing the clover test and clover report in two seperate commands
 maven clover test
 maven clover
 but still the report gives 0% code coverage. Is there any wrong in the
 clover plugin ?.. please can anybody help me out.


 Thanks  Regards,
 S.Radhakrishnan,


-
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: Clover generates 0% code coverage reports

2003-06-17 Thread S. Radhakrishnan
Hello Andy,

when I use maven clover 1.0 plugin then I am getting clover:test target. but
when I execute the same, I am getting
Compiler Adapter 'org.apache.tools.ant.taskdefs.CloverCompilerAdapter'
can't be found error. I referred the sites and placed clover.jar inside
ANT_HOME/lib and in classpath but still I am getting the same error. Is
there any way to resolve this.
I am trying with clover 1.0 plugin just because I am getting continuous
failures in clover 1.2 plugin.



-Original Message-
From: Andy Pols [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 12:24 PM
To: Maven Users List
Subject: Re: Clover generates 0% code coverage reports


Sorry should have said:

clover:on test

But that is not the reason it is not working as you have been using two
separate tasks.

It should work with your settings  - are your tests in the correct place?
Does the junit plugin work?

Andy

On 17/6/03 7:31 am, S. Radhakrishnan [EMAIL PROTECTED] wrote:

 Hi Andy,

 I am using maven beta 9 version and clover 1.0. and
 if I run the command maven clover:test  it says no such target exists.
 and as I mentioned earlier, I am executing the same using two seperate
 commands.
 and my source directory and unit test source directory are same.
 and also I am having the maven.junit.fork=true property in
 project.properties.

 but still I am getting..the same error..

 RK

 -Original Message-
 From: Andy Pols [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 17, 2003 11:48 AM
 To: Maven Users List
 Subject: Re: Clover generates 0% code coverage reports


 The problem is that clover database logs are written on JVM shutdown.
 Thus if you call the clover test goal and then the report immediately
 after, you'll get an empty report.

 There are two solutions:

 So, to make it work, simply run :

 maven clover:test

 and then, in a separate command:

 maven clover:html-report



 Or placing the following in the project.properties file should also work:
 maven.junit.fork = true

 Andy

 On 17/6/03 6:38 am, S. Radhakrishnan [EMAIL PROTECTED] wrote:

 Hi I am using maven beta 9 and clover 1.0. after referred the sites i am
 doing the clover test and clover report in two seperate commands
 maven clover test
 maven clover
 but still the report gives 0% code coverage. Is there any wrong in the
 clover plugin ?.. please can anybody help me out.


 Thanks  Regards,
 S.Radhakrishnan,


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

2003-06-16 Thread S. Radhakrishnan
Hi Lamy
Have you tried maven -g to list all available goals..


RK

-Original Message-
From: LAMY Olivier [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 11:09 AM
To: Maven Users List (E-mail)
Subject: Maven help


Hi all,
I'm looking the command to list of the goals.
I can't find it.
Olivier

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