Re: Subversion changelog

2003-11-20 Thread Emmanuel Venisse
Your pattern support string that's not use by svn changelog.

I think this pattern is more correct :

"^r(ev\\s(\\d+)\\:|(\\d+)\\s\\|)\\s+" + //revision number

Emmanuel

- Original Message - 
From: "Jörg Schaible" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 20, 2003 5:00 PM
Subject: RE: Subversion changelog


Mikael Lundgren wrote on Thursday, November 20, 2003 4:26 PM:
> It almost does the trick...
>
> However a log line may look like this (only the relevant portion is
> shown):
>
> r15 |  kaz | 2002-08-26 14:33:26 -0400
>
> OR like this:
>
> rev 15:  kaz | 2002-08-26 14:33:26 -0400
>
> Note the spaces around the version number.

It's not only the space, it is also the colon ...

  "^r(ev)?\\s*(\\d+)\\s*(\\:|\\|)\\s+" + // revision
number

Next try ;-)

Regards,
Jörg

-
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: Subversion changelog

2003-11-20 Thread Mikael Lundgren
It's getting more creative ;-)

However... looking further at the source yields stuff like this:

currentRevision = headerRegexp.getParen(1);
currentLogEntry = new ChangeLogEntry();
currentLogEntry.setAuthor(headerRegexp.getParen(2));
currentLogEntry.setDate(parseDate());
where the getParen(1) and similar things probably are the cause for the 
headache. Both my and Jörg's expressions match the svn log -v output... 
but problems arise when the information is later extracted.

Oh well... now it's time for a beer... we have our autumn pub at the 
office tonight ;-)

Cheers!
/Mikael Lundgren
Jörg Schaible wrote:

Mikael Lundgren wrote on Thursday, November 20, 2003 4:26 PM:

It almost does the trick...

However a log line may look like this (only the relevant portion is
shown): 

r15 |  kaz | 2002-08-26 14:33:26 -0400

OR like this:

rev 15:  kaz | 2002-08-26 14:33:26 -0400

Note the spaces around the version number.


It's not only the space, it is also the colon ...

  "^r(ev)?\\s*(\\d+)\\s*(\\:|\\|)\\s+" + // revision number

Next try ;-)

Regards,
Jörg


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


Re: Subversion changelog

2003-11-20 Thread Mikael Lundgren
It's getting more creative ;-)

However... looking further at the source yields stuff like this:

currentRevision = headerRegexp.getParen(1);
currentLogEntry = new ChangeLogEntry();
currentLogEntry.setAuthor(headerRegexp.getParen(2));
currentLogEntry.setDate(parseDate());
where the getParen(1) and similar things probably are the cause for the 
headache. Both my and Jörg's expressions match the svn log -v output... 
but problems arise when the information is later extracted.

Oh well... now it's time for a beer... we have our autumn pub at the 
office tonight ;-)

Cheers!

/Mikael Lundgren

Jörg Schaible wrote:

Mikael Lundgren wrote on Thursday, November 20, 2003 4:26 PM:

It almost does the trick...

However a log line may look like this (only the relevant portion is
shown): 

r15 |  kaz | 2002-08-26 14:33:26 -0400

OR like this:

rev 15:  kaz | 2002-08-26 14:33:26 -0400

Note the spaces around the version number.


It's not only the space, it is also the colon ...

  "^r(ev)?\\s*(\\d+)\\s*(\\:|\\|)\\s+" + // revision number

Next try ;-)

Regards,
Jörg


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


Re: Subversion changelog

2003-11-20 Thread Emmanuel Venisse
No, because if the first string is rev, first separator is ":"  (rev 15:)
and if it's a "r" we have a " |" (r 15 |) with a spas before "|"


- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 20, 2003 5:02 PM
Subject: Re: Subversion changelog


So this should work:
"^r(ev )?(\\d+):\\s+" + // revision number


?--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Mikael Lundgren <[EMAIL PROTECTED]> wrote on 21/11/2003 02:25:49
AM:

> Jörg Schaible wrote:
> >>Now I officially give up :-( This is starting to take way too
> >>much time
> >>for something that someone with better knowledge about regexp probably
> >>can fix in minutes.
> >
> >
> > Should work:
> >  "^r(ev)? (\\d+):\\s+" + // revision number
> >
> > Regards,
> > Jörg
> >
>
> Thanks!
>
> It almost does the trick...
>
> However a log line may look like this (only the relevant portion is
shown):
>
> r15 |  kaz | 2002-08-26 14:33:26 -0400
>
> OR like this:
>
> rev 15:  kaz | 2002-08-26 14:33:26 -0400
>
> Note the spaces around the version number.
>
> Regards
> /Mikael Lundgren
>
>
>
> -
> 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: Subversion changelog

2003-11-20 Thread Jörg Schaible
Mikael Lundgren wrote on Thursday, November 20, 2003 4:26 PM:
> It almost does the trick...
> 
> However a log line may look like this (only the relevant portion is
> shown): 
> 
> r15 |  kaz | 2002-08-26 14:33:26 -0400
> 
> OR like this:
> 
> rev 15:  kaz | 2002-08-26 14:33:26 -0400
> 
> Note the spaces around the version number.

It's not only the space, it is also the colon ...

  "^r(ev)?\\s*(\\d+)\\s*(\\:|\\|)\\s+" + // revision number

Next try ;-)

Regards,
Jörg

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



Re: Subversion changelog

2003-11-20 Thread dion
So this should work: 
"^r(ev )?(\\d+):\\s+" + // revision number


?--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Mikael Lundgren <[EMAIL PROTECTED]> wrote on 21/11/2003 02:25:49 
AM:

> Jörg Schaible wrote:
> >>Now I officially give up :-( This is starting to take way too
> >>much time
> >>for something that someone with better knowledge about regexp probably
> >>can fix in minutes.
> > 
> > 
> > Should work: 
> >  "^r(ev)? (\\d+):\\s+" + // revision number
> > 
> > Regards,
> > Jörg
> > 
> 
> Thanks!
> 
> It almost does the trick...
> 
> However a log line may look like this (only the relevant portion is 
shown):
> 
> r15 |  kaz | 2002-08-26 14:33:26 -0400
> 
> OR like this:
> 
> rev 15:  kaz | 2002-08-26 14:33:26 -0400
> 
> Note the spaces around the version number.
> 
> Regards
> /Mikael Lundgren
> 
> 
> 
> -
> 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: Subversion changelog

2003-11-20 Thread Mikael Lundgren
Jörg Schaible wrote:
Now I officially give up :-( This is starting to take way too
much time
for something that someone with better knowledge about regexp probably
can fix in minutes.


Should work: 
 "^r(ev)? (\\d+):\\s+" + // revision number

Regards,
Jörg
Thanks!

It almost does the trick...

However a log line may look like this (only the relevant portion is shown):

r15 |  kaz | 2002-08-26 14:33:26 -0400

OR like this:

rev 15:  kaz | 2002-08-26 14:33:26 -0400

Note the spaces around the version number.

Regards
/Mikael Lundgren


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


RE: Subversion changelog

2003-11-20 Thread Jörg Schaible
Mikael Lundgren wrote on Thursday, November 20, 2003 3:43 PM:

> [EMAIL PROTECTED] wrote:
> 
>> It'd be good to change the regexp code to match both versions. --
>> dIon Gillard, Multitask Consulting
>> Blog:  http://blogs.codehaus.org/people/dion/
>> 
> 
> Yes, it would I guess. I have tried to create such an expression and
> even got it to work using the ORO package demonstrator at the jakarta
> site. However I can't get it to work with the regexp package.
> 
> Now I officially give up :-( This is starting to take way too
> much time
> for something that someone with better knowledge about regexp probably
> can fix in minutes.

Should work: 
 "^r(ev)? (\\d+):\\s+" + // revision number

Regards,
Jörg

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



Re: Subversion changelog

2003-11-20 Thread Mikael Lundgren
[EMAIL PROTECTED] wrote:

It'd be good to change the regexp code to match both versions.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/
Yes, it would I guess. I have tried to create such an expression and 
even got it to work using the ORO package demonstrator at the jakarta 
site. However I can't get it to work with the regexp package.

Now I officially give up :-( This is starting to take way too much time 
for something that someone with better knowledge about regexp probably 
can fix in minutes.

Regards
/Mikael Lundgren
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Subversion changelog

2003-11-20 Thread dion
> Is Subversion fully supported by the scm now?

If you mean the scm plugin, no. If you mean the scm reporting plugins 
(changelog, activity, developer-activity etc), yes.
--
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: Subversion changelog

2003-11-20 Thread dion
It'd be good to change the regexp code to match both versions.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Mikael Lundgren <[EMAIL PROTECTED]> wrote on 20/11/2003 03:53:56 
AM:

> Hmmm,
> 
> it seems that subversion 0.33.0 changed the format of the data created 
> by running svn log... from http://svn.collab.net/repos/svn/trunk/CHANGES 

> the following line:
> 
> * 'svn log' output headers now say "r | " instead of "rev :  "
> 
> Could this be the problem? I checked the sources for the maven changelog 

> plugin and the regular exception seems to expect "rev " and not 
> "r"...
> 
> Now this would seem trivial to change in the java source code for the 
> plugin, unfortunately I have no idea about how to actually create my own 

> version of the changelog plugin nor how to tell maven how to use a 
> different version of the plugin... surely this is documented somewhere?
> 
> Regards
> 
> /Mikael Lundgren
> 
> 
> -
> 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: Subversion changelog

2003-11-19 Thread Mikael Lundgren
I have no idea about how to put the patch into Jira, it seems I would 
need to log in but I have no login

So... here is a patch... through mail ;-) If anyone wants to put it into 
Jira please do!



*** SvnChangeLogParser.java Wed Nov 19 19:32:53 2003
--- 
/Projekt/maven/src/plugins-build/changelog/src/main/org/apache/maven/svnlib/
SvnChangeLogParser.java Wed Nov 19 19:25:56 2003
***
*** 120,126 

  /** The pattern used to match svn header lines */
  private static final String pattern =
! "^rev (\\d+):\\s+" + // revision number
  "(\\w+)\\s+\\|\\s+" +// author username
  "(\\d+-\\d+-\\d+ " + // date 2002-08-24
  "\\d+:\\d+:\\d+) " + // time 16:01:00
--- 120,126 
  /** The pattern used to match svn header lines */
  private static final String pattern =
! "^r(\\d+) \\|\\s+" + // revision number
  "(\\w+)\\s+\\|\\s+" +// author username
  "(\\d+-\\d+-\\d+ " + // date 2002-08-24
  "\\d+:\\d+:\\d+) " + // time 16:01:00


Regards /Mikael

Emmanuel Venisse wrote:

Could put a patch in Jira? We apply it asap.

Thanks

Emmanuel


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


Re: Subversion changelog

2003-11-19 Thread Emmanuel Venisse
Could put a patch in Jira? We apply it asap.

Thanks

Emmanuel

- Original Message - 
From: "Mikael Lundgren" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 19, 2003 7:39 PM
Subject: Re: Subversion changelog


> Well,
>
> that was it... after some experimenting I now get a working changelog in
> maven! One line of code had to change...
>
> Here is the original code in
> org/apache/maven/svnlib/Attic/SvnChangeLogParser.java:
>
>  /** The pattern used to match svn header lines */
>  private static final String pattern =
>  "^rev (\\d+):\\s+" + // revision number
>  "(\\w+)\\s+\\|\\s+" +// author username
>  "(\\d+-\\d+-\\d+ " + // date 2002-08-24
>  "\\d+:\\d+:\\d+) " + // time 16:01:00
>  "([\\-+])(\\d\\d)(\\d\\d)";  // gmt offset -0400
>
> and here is the code I put in:
>
>  /** The pattern used to match svn header lines */
>  private static final String pattern =
>  "^r(\\d+) \\|\\s+" + // revision number
>  "(\\w+)\\s+\\|\\s+" +// author username
>  "(\\d+-\\d+-\\d+ " + // date 2002-08-24
>  "\\d+:\\d+:\\d+) " + // time 16:01:00
>  "([\\-+])(\\d\\d)(\\d\\d)";  // gmt offset -0400
>
> Note the line with the comment "revision number" which is the only
> change to the plugin code.
>
> Now I made a "dirty" plugin... I checked out a changelog-plugin from
> cvs, made my changes, ran the tests (btw i changed the test file as well
> to look like a current SubVersion log file), created a jar, fooled maven
> to take my version of the plugin and now it works.
>
> Regards
> /Mikael Lundgren
>
> Mikael Lundgren wrote:
>
> > Hmmm,
> >
> > it seems that subversion 0.33.0 changed the format of the data created
> > by running svn log... from http://svn.collab.net/repos/svn/trunk/CHANGES
> > the following line:
> >
> > * 'svn log' output headers now say "r | " instead of "rev :  "
> >
> > Could this be the problem? I checked the sources for the maven changelog
> > plugin and the regular exception seems to expect "rev " and not
> > "r"...
> >
> > Now this would seem trivial to change in the java source code for the
> > plugin, unfortunately I have no idea about how to actually create my own
> > version of the changelog plugin nor how to tell maven how to use a
> > different version of the plugin... surely this is documented somewhere?
> >
> > Regards
> >
> > /Mikael Lundgren
>
>
>
> -
> 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: Subversion changelog

2003-11-19 Thread Mikael Lundgren
Well,

that was it... after some experimenting I now get a working changelog in 
maven! One line of code had to change...

Here is the original code in 
org/apache/maven/svnlib/Attic/SvnChangeLogParser.java:

/** The pattern used to match svn header lines */
private static final String pattern =
"^rev (\\d+):\\s+" + // revision number
"(\\w+)\\s+\\|\\s+" +// author username
"(\\d+-\\d+-\\d+ " + // date 2002-08-24
"\\d+:\\d+:\\d+) " + // time 16:01:00
"([\\-+])(\\d\\d)(\\d\\d)";  // gmt offset -0400
and here is the code I put in:

/** The pattern used to match svn header lines */
private static final String pattern =
"^r(\\d+) \\|\\s+" + // revision number
"(\\w+)\\s+\\|\\s+" +// author username
"(\\d+-\\d+-\\d+ " + // date 2002-08-24
"\\d+:\\d+:\\d+) " + // time 16:01:00
"([\\-+])(\\d\\d)(\\d\\d)";  // gmt offset -0400
Note the line with the comment "revision number" which is the only 
change to the plugin code.

Now I made a "dirty" plugin... I checked out a changelog-plugin from 
cvs, made my changes, ran the tests (btw i changed the test file as well 
to look like a current SubVersion log file), created a jar, fooled maven 
to take my version of the plugin and now it works.

Regards
/Mikael Lundgren
Mikael Lundgren wrote:

Hmmm,

it seems that subversion 0.33.0 changed the format of the data created 
by running svn log... from http://svn.collab.net/repos/svn/trunk/CHANGES 
the following line:

* 'svn log' output headers now say "r | " instead of "rev :  "

Could this be the problem? I checked the sources for the maven changelog 
plugin and the regular exception seems to expect "rev " and not 
"r"...

Now this would seem trivial to change in the java source code for the 
plugin, unfortunately I have no idea about how to actually create my own 
version of the changelog plugin nor how to tell maven how to use a 
different version of the plugin... surely this is documented somewhere?

Regards

/Mikael Lundgren


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


Re: Subversion changelog

2003-11-19 Thread Mikael Lundgren
Hmmm,

it seems that subversion 0.33.0 changed the format of the data created 
by running svn log... from http://svn.collab.net/repos/svn/trunk/CHANGES 
the following line:

* 'svn log' output headers now say "r | " instead of "rev :  "

Could this be the problem? I checked the sources for the maven changelog 
plugin and the regular exception seems to expect "rev " and not 
"r"...

Now this would seem trivial to change in the java source code for the 
plugin, unfortunately I have no idea about how to actually create my own 
version of the changelog plugin nor how to tell maven how to use a 
different version of the plugin... surely this is documented somewhere?

Regards

/Mikael Lundgren

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


Re: Subversion changelog

2003-11-19 Thread Heiko Kundlacz
[EMAIL PROTECTED] wrote:

Heiko Kundlacz <[EMAIL PROTECTED]> wrote on 19/11/2003 07:12:28 
AM:

 

As I know Subversion isn't support. If you want to use subversion you 
should write your own plugin based on:

http://jsvn.alternatecomputing.com/

They provide an ant task you can implement. I tried out the checkout 
command and it works.

Heiko

Mikael Lundgren wrote:

   

FWIW, SubVersion is supported by the scm reporting plugins.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/




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

Is Subversion fully supported by the scm now?

Heiko



--
--
Heiko Kundlacz   | MailTo:   [EMAIL PROTECTED]
Qnamic AG| Tel:  +41 62 209 7056
Fabrikstr. 10| Natel:+41 78 861 4006
4614 Haegendorf  | Fax:  +41 62 209 7044
Switzerland  | Homepage: http://www.qnamic.com
--


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


Re: Subversion changelog

2003-11-19 Thread Mikael Lundgren
Thanks for the replies!

My connection string is set to 
scm:svn:http://127.0.0.1/repos/leanon/leif/trunk I incorrectly copied 
the wrong line from my project.xml file, but I don't think this matters 
much.

When i run svn log -v from the directory I get the expected log output 
which is defintitively NOT empty, here are the first few lines:

= Start svn log -v output

C:\ttt\leanon\leif\trunk>svn log -v

r20 | mikael | 2003-11-18 15:06:15 +0100 (Tue, 18 Nov 2003) | 2 lines
Changed paths:
   M /leanon/leif/trunk/project.xml
Changed to Subversion URL, it "works" in the sense that Maven does not stop
processing a maven site command, however no SCM related information is 
generated
.

r19 | mikael | 2003-11-18 15:04:34 +0100 (Tue, 18 Nov 2003) | 1 line
Changed paths:
   A /leanon/leif/trunk/build.properties

Needed for subversion support

r5 | mikael | 2003-11-17 11:26:36 +0100 (Mon, 17 Nov 2003) | 1 line
Changed paths:
   D /leanon/leif/trunk/offerter
= Stop svn log -v output

I did take a look at the sources for the changelog plugin but I could 
not see any obvious reasons for it not to work. It could be that the log 
format has changed and that the regular expression that is supposed to 
parse the log file is no longer current, however I'm not that good at 
reading regular expressions to be able to tell...

I also checked the latest changes to the plugin but the subversion parts 
have not changed lately so a later version does not seem to be an answer.

--
Mikael Lundgren, LeanOn AB, www.LeanOn.se
Phone: +46 18 146405, Mobile: +46 703 400105
Kontroll på projekt och tid: www.teamplanet.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Subversion changelog

2003-11-18 Thread dion
Mikael Lundgren <[EMAIL PROTECTED]> wrote on 19/11/2003 05:47:28 
AM:

> Hi,
> 
> I'm trying to get Maven to generate changelog reports based on the 
> contents of a Subversion repository, however all I get is empty reports.
> 
> I have found the following information and applied it:
> 
> - I have installed Apache 2.0.48, Subversion 0.33, Java 1.4.2_02, Maven 
> 1.0rc1
> - I have created a build.properties file
> - I have set the maven.changelog.range to the empty string
> - I have set the maven.changelog.factory= 
> org.apache.maven.svnlib.SvnChangeLogFactory
> - I can run svn log -h from the command prompt in the directory where I 
> run "maven site" and the log file shows up as expected (it is not empty)
> - I have set 
> http://127.0.0.1/repos/leanon/leif/trunk in the 

> repository portion of project.xml, I have also tested the url to 
> actually point to the right place, not that it seems to matter much...

The connection string is incorrect. It ALWAYS starts with 'scm' followed 
by a delimiter and then the scm type, so yours should start with
'scm:svn:' where ':' is the delimiter. But I don't think it is used.

> Here is what I get (I only include what I find to be the relevant 
output):
> 
> site:run-reports:
>  [echo] Generating the Change Log...
> maven-changelog-plugin:report:
>  [echo] Generating the changelog report
> SCM Working Directory: C:\ttt\leanon\leif\trunk
> SCM Command Line[0]: svn
> SCM Command Line[1]: log
> SCM Command Line[2]: -v
> ChangeLog found: 0 entries
> 
> That last line... "0 entries" worries me...

What happens when you run

svn log -v

in

C:\ttt\leanon\leif\trunk
?

> I checked the bug tracking system but all I could find was a mention of 
> a problem that seems unrelated - and should be fixed by the range 
> property mentioned above.
> 
> Anyone with any pointer? Is this even supposed to work at all?
Yes, it should work.

Better error messages would be nice too :-)
--
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: Subversion changelog

2003-11-18 Thread dion
Heiko Kundlacz <[EMAIL PROTECTED]> wrote on 19/11/2003 07:12:28 
AM:

> As I know Subversion isn't support. If you want to use subversion you 
> should write your own plugin based on:
> 
> http://jsvn.alternatecomputing.com/
> 
> They provide an ant task you can implement. I tried out the checkout 
> command and it works.
> 
> Heiko
> 
> Mikael Lundgren wrote:
> 
FWIW, SubVersion is supported by the scm reporting plugins.
--
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: Subversion changelog

2003-11-18 Thread Heiko Kundlacz
As I know Subversion isn't support. If you want to use subversion you 
should write your own plugin based on:

http://jsvn.alternatecomputing.com/

They provide an ant task you can implement. I tried out the checkout 
command and it works.

Heiko

Mikael Lundgren wrote:

Hi,

I'm trying to get Maven to generate changelog reports based on the 
contents of a Subversion repository, however all I get is empty reports.

I have found the following information and applied it:

- I have installed Apache 2.0.48, Subversion 0.33, Java 1.4.2_02, 
Maven 1.0rc1
- I have created a build.properties file
- I have set the maven.changelog.range to the empty string
- I have set the maven.changelog.factory= 
org.apache.maven.svnlib.SvnChangeLogFactory
- I can run svn log -h from the command prompt in the directory where 
I run "maven site" and the log file shows up as expected (it is not 
empty)
- I have set 
http://127.0.0.1/repos/leanon/leif/trunk in 
the repository portion of project.xml, I have also tested the url to 
actually point to the right place, not that it seems to matter much...

Here is what I get (I only include what I find to be the relevant 
output):

site:run-reports:
[echo] Generating the Change Log...
maven-changelog-plugin:report:
[echo] Generating the changelog report
SCM Working Directory: C:\ttt\leanon\leif\trunk
SCM Command Line[0]: svn
SCM Command Line[1]: log
SCM Command Line[2]: -v
ChangeLog found: 0 entries
That last line... "0 entries" worries me...

I checked the bug tracking system but all I could find was a mention 
of a problem that seems unrelated - and should be fixed by the range 
property mentioned above.

Anyone with any pointer? Is this even supposed to work at all?

Thanks!!


--
--
Heiko Kundlacz   | MailTo:   [EMAIL PROTECTED]
Qnamic AG| Tel:  +41 62 209 7056
Fabrikstr. 10| Natel:+41 78 861 4006
4614 Haegendorf  | Fax:  +41 62 209 7044
Switzerland  | Homepage: http://www.qnamic.com
--


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