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 2004/02/06 09:36:12 UTC

[jira] Created: (MPGENAPP-5) genapp throws exception if a project.xml

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPGENAPP-5

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPGENAPP-5
    Summary: genapp throws exception if a project.xml
       Type: Improvement

     Status: Open
   Priority: Trivial

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-genapp-plugin

   Assignee: Jason van Zyl
   Reporter: Alwyn Schoeman

    Created: Fri, 6 Feb 2004 3:35 AM
    Updated: Fri, 6 Feb 2004 3:35 AM

Description:
When you do a genapp in a directory already containing a project.xml file then you get the following exception:

org.xml.sax.SAXParseException: Content is not allowed in prolog.
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.commons.digester.Digester.parse(Digester.java:1527)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:201)
 
<pruned>

It would be nice if the plugin would alert the user to the existing file.




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