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 
> <connection>http://127.0.0.1/repos/leanon/leif/trunk</connection> 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]

Reply via email to