You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas De Loof <ni...@cgey.com> on 2003/12/18 15:25:27 UTC

jdiff plugin

Hello all,

I'm trying to use the jdiff plugin with maven 1.0 RC1

I got it from CVS and done a "maven plugin:install"

now, when I use "maven jdiff" I get this error :

BUILD FAILED
File...... file:/C:/Documents and Settings/ndeloof/.maven/plugins/maven-jdiff-plugin-1.1/
Element... maven:makeRelativePath
Line...... 44
Column.... 120
You must define an attribute called 'path' for this tag.
Total time: 6 seconds
Finished at: Thu Dec 18 15:24:09 CET 2003


The line 44 in plugin.jelly is for :
        <maven:makeRelativePath var="mavenRelativeSrcDir" basedir="${basedir}" path="${maven.build.sourceDirectory}" />
 
I added some <echo> in plugin.jelly and see that ${maven.build.sourceDirectory} is not set.

What do I miss ?


Nico.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [Patch avaible] Re: jdiff plugin

Posted by Emmanuel Venisse <em...@venisse.net>.
I applied it with some modification.

Emmanuel

----- Original Message ----- 
From: "Nicolas De Loof" <ni...@cgey.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Thursday, December 18, 2003 4:35 PM
Subject: [Patch avaible] Re: jdiff plugin


> I made it work !
>
> I join to this mail a cvs patch for jdiff plugin.
>
> It would be a good thing that any maven master take a look at it as I
needed to set some value using local repository
> path : ${user.home}/.maven/repository...
>
>
> Notice jdiff has a 1.0.9 version that isn't in ibiblio repository.
>
> Nico.
>
>
>
> ----- Original Message ----- 
> From: "Nicolas De Loof" <ni...@cgey.com>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Thursday, December 18, 2003 4:06 PM
> Subject: Re: jdiff plugin
>
>
> > I made some simple changes in plugin.jelly and jdiff goal now get
sources from CVS for the two versions to compare.
> >
> > But when plugin calls javadoc I get
> >
> >     [javadoc] Generating Javadoc
> >     [javadoc] Javadoc execution
> >     [javadoc] javadoc: Cannot find doclet class jdiff.JDiff
> >     [javadoc] 1 error
> >
> >
> > I don't know how to set javadoc classpath to include jdiff doclet class.
Can someone help me ?
> >
> > Nico.
> >
> >
> > ----- Original Message ----- 
> > From: "Emmanuel Venisse" <em...@venisse.net>
> > To: "Maven Users List" <us...@maven.apache.org>
> > Sent: Thursday, December 18, 2003 3:37 PM
> > Subject: Re: jdiff plugin
> >
> >
> > > Apparently, you're the first person that use this plugin since a long
time.
> > > I think we don't update it when we modify maven apis.
> > >
> > > If you have a patch, it will be xelcome.
> > >
> > > Emmanuel
> > >
> > > ----- Original Message ----- 
> > > From: "Nicolas De Loof" <ni...@cgey.com>
> > > To: "Maven Users List" <us...@maven.apache.org>
> > > Sent: Thursday, December 18, 2003 3:25 PM
> > > Subject: jdiff plugin
> > >
> > >
> > > > Hello all,
> > > >
> > > > I'm trying to use the jdiff plugin with maven 1.0 RC1
> > > >
> > > > I got it from CVS and done a "maven plugin:install"
> > > >
> > > > now, when I use "maven jdiff" I get this error :
> > > >
> > > > BUILD FAILED
> > > > File...... file:/C:/Documents and
> > > Settings/ndeloof/.maven/plugins/maven-jdiff-plugin-1.1/
> > > > Element... maven:makeRelativePath
> > > > Line...... 44
> > > > Column.... 120
> > > > You must define an attribute called 'path' for this tag.
> > > > Total time: 6 seconds
> > > > Finished at: Thu Dec 18 15:24:09 CET 2003
> > > >
> > > >
> > > > The line 44 in plugin.jelly is for :
> > > >         <maven:makeRelativePath var="mavenRelativeSrcDir"
> > > basedir="${basedir}" path="${maven.build.sourceDirectory}" />
> > > >
> > > > I added some <echo> in plugin.jelly and see that
> > > ${maven.build.sourceDirectory} is not set.
> > > >
> > > > What do I miss ?
> > > >
> > > >
> > > > Nico.
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


[Patch avaible] Re: jdiff plugin

Posted by Nicolas De Loof <ni...@cgey.com>.
I made it work !

I join to this mail a cvs patch for jdiff plugin.

It would be a good thing that any maven master take a look at it as I needed to set some value using local repository
path : ${user.home}/.maven/repository...


Notice jdiff has a 1.0.9 version that isn't in ibiblio repository.

Nico.



----- Original Message ----- 
From: "Nicolas De Loof" <ni...@cgey.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Thursday, December 18, 2003 4:06 PM
Subject: Re: jdiff plugin


> I made some simple changes in plugin.jelly and jdiff goal now get sources from CVS for the two versions to compare.
>
> But when plugin calls javadoc I get
>
>     [javadoc] Generating Javadoc
>     [javadoc] Javadoc execution
>     [javadoc] javadoc: Cannot find doclet class jdiff.JDiff
>     [javadoc] 1 error
>
>
> I don't know how to set javadoc classpath to include jdiff doclet class. Can someone help me ?
>
> Nico.
>
>
> ----- Original Message ----- 
> From: "Emmanuel Venisse" <em...@venisse.net>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Thursday, December 18, 2003 3:37 PM
> Subject: Re: jdiff plugin
>
>
> > Apparently, you're the first person that use this plugin since a long time.
> > I think we don't update it when we modify maven apis.
> >
> > If you have a patch, it will be xelcome.
> >
> > Emmanuel
> >
> > ----- Original Message ----- 
> > From: "Nicolas De Loof" <ni...@cgey.com>
> > To: "Maven Users List" <us...@maven.apache.org>
> > Sent: Thursday, December 18, 2003 3:25 PM
> > Subject: jdiff plugin
> >
> >
> > > Hello all,
> > >
> > > I'm trying to use the jdiff plugin with maven 1.0 RC1
> > >
> > > I got it from CVS and done a "maven plugin:install"
> > >
> > > now, when I use "maven jdiff" I get this error :
> > >
> > > BUILD FAILED
> > > File...... file:/C:/Documents and
> > Settings/ndeloof/.maven/plugins/maven-jdiff-plugin-1.1/
> > > Element... maven:makeRelativePath
> > > Line...... 44
> > > Column.... 120
> > > You must define an attribute called 'path' for this tag.
> > > Total time: 6 seconds
> > > Finished at: Thu Dec 18 15:24:09 CET 2003
> > >
> > >
> > > The line 44 in plugin.jelly is for :
> > >         <maven:makeRelativePath var="mavenRelativeSrcDir"
> > basedir="${basedir}" path="${maven.build.sourceDirectory}" />
> > >
> > > I added some <echo> in plugin.jelly and see that
> > ${maven.build.sourceDirectory} is not set.
> > >
> > > What do I miss ?
> > >
> > >
> > > Nico.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

Re: jdiff plugin

Posted by Nicolas De Loof <ni...@cgey.com>.
I made some simple changes in plugin.jelly and jdiff goal now get sources from CVS for the two versions to compare. 

But when plugin calls javadoc I get

    [javadoc] Generating Javadoc
    [javadoc] Javadoc execution
    [javadoc] javadoc: Cannot find doclet class jdiff.JDiff
    [javadoc] 1 error


I don't know how to set javadoc classpath to include jdiff doclet class. Can someone help me ?

Nico.


----- Original Message ----- 
From: "Emmanuel Venisse" <em...@venisse.net>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Thursday, December 18, 2003 3:37 PM
Subject: Re: jdiff plugin


> Apparently, you're the first person that use this plugin since a long time.
> I think we don't update it when we modify maven apis.
> 
> If you have a patch, it will be xelcome.
> 
> Emmanuel
> 
> ----- Original Message ----- 
> From: "Nicolas De Loof" <ni...@cgey.com>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Thursday, December 18, 2003 3:25 PM
> Subject: jdiff plugin
> 
> 
> > Hello all,
> >
> > I'm trying to use the jdiff plugin with maven 1.0 RC1
> >
> > I got it from CVS and done a "maven plugin:install"
> >
> > now, when I use "maven jdiff" I get this error :
> >
> > BUILD FAILED
> > File...... file:/C:/Documents and
> Settings/ndeloof/.maven/plugins/maven-jdiff-plugin-1.1/
> > Element... maven:makeRelativePath
> > Line...... 44
> > Column.... 120
> > You must define an attribute called 'path' for this tag.
> > Total time: 6 seconds
> > Finished at: Thu Dec 18 15:24:09 CET 2003
> >
> >
> > The line 44 in plugin.jelly is for :
> >         <maven:makeRelativePath var="mavenRelativeSrcDir"
> basedir="${basedir}" path="${maven.build.sourceDirectory}" />
> >
> > I added some <echo> in plugin.jelly and see that
> ${maven.build.sourceDirectory} is not set.
> >
> > What do I miss ?
> >
> >
> > Nico.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: jdiff plugin

Posted by Emmanuel Venisse <em...@venisse.net>.
Apparently, you're the first person that use this plugin since a long time.
I think we don't update it when we modify maven apis.

If you have a patch, it will be xelcome.

Emmanuel

----- Original Message ----- 
From: "Nicolas De Loof" <ni...@cgey.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Thursday, December 18, 2003 3:25 PM
Subject: jdiff plugin


> Hello all,
>
> I'm trying to use the jdiff plugin with maven 1.0 RC1
>
> I got it from CVS and done a "maven plugin:install"
>
> now, when I use "maven jdiff" I get this error :
>
> BUILD FAILED
> File...... file:/C:/Documents and
Settings/ndeloof/.maven/plugins/maven-jdiff-plugin-1.1/
> Element... maven:makeRelativePath
> Line...... 44
> Column.... 120
> You must define an attribute called 'path' for this tag.
> Total time: 6 seconds
> Finished at: Thu Dec 18 15:24:09 CET 2003
>
>
> The line 44 in plugin.jelly is for :
>         <maven:makeRelativePath var="mavenRelativeSrcDir"
basedir="${basedir}" path="${maven.build.sourceDirectory}" />
>
> I added some <echo> in plugin.jelly and see that
${maven.build.sourceDirectory} is not set.
>
> What do I miss ?
>
>
> Nico.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org