You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/10/06 20:57:22 UTC

[jira] Created: (MAVEN-897) Not very informative error message on xdoc template error

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-897


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-897
    Summary: Not very informative error message on xdoc template error
       Type: Improvement

     Status: Unassigned
   Priority: Trivial

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-xdoc
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: Per Olesen

    Created: Mon, 6 Oct 2003 1:56 PM
    Updated: Mon, 6 Oct 2003 1:56 PM

Description:
Hi,

Had a problem where a wrong value inside the project.xml <repository><connection>.... element gave me a not very informative error message:

File...... file:/home/polesen/.maven/plugins/maven-xdoc-plugin-1.4/
Element... velocity:merge
Line...... 399
Column.... 9
Invocation of method 'getCvsRoot' in  class org.apache.maven.project.Repository threw exception class java.lang.IllegalArgumentException : repository connection string contains more than six tokens

It took me some time, and some searching around inside the xdoc plugin files, to find out what my problem was.

I do not know if it is easy to give a better message, or if it is a result of the use of velocity templates!? Anyways, I think a newcomer will have some problems finding out what's wrong!

/Per


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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