maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [maven-bug] Closed: (MAVEN-165) project.xml and forehead.conf refer to different xerces
Date Sat, 30 Nov 2002 02:07:08 GMT

   The following issue has been closed.

   Resolver: dion gillard
       Date: Fri, 29 Nov 2002 8:07 PM

Fixed today by changing forehead.conf to 2.0.2
View the issue:

Here is an overview of the issue:
        Key: MAVEN-165
    Summary: project.xml and forehead.conf refer to different xerces
       Type: Bug

     Status: Closed
   Priority: Blocker
 Resolution: FIXED

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: maven
  Component: core

   Assignee: Jason van Zyl
   Reporter: Aslak Helles√ły

    Created: Fri, 29 Nov 2002 7:31 AM
    Updated: Fri, 29 Nov 2002 8:07 PM

jakarta-turbine-maven/project.xml and
jakarta-turbine-maven/src/bin/forehead.conf refer to a different xerces.
project.xml says 2.0.2 (so 2.0.2 is downloaded), but forehead.conf says
2.2.1 which isn't found, and Forehead tries to make a URL out of it and
crashes on the line where it tries to do a new URL( line ).

    protected void loadFileOrUrl(String line,
                                 ForeheadClassLoader loader) throws
        URL url = null;

        File file = new File( line );

        if ( file.exists() )
            url = file.toURL();
            url = new URL( line );

        loader.addURL( url );

The line variable has the value of a non-existant file (xerces-2.2.1.jar).

Updating project.xml to use xerces 2.2.1 fixes this bug.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message