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/06/09 17:29:07 UTC

[jira] Commented: (MAVEN-1315) Error reading XML or initializing

The following comment has been added to this issue:

     Author: Archimedes Trajano
    Created: Wed, 9 Jun 2004 11:28 AM
       Body:
Use c:\\workspace (note the double backslash)
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MAVEN-1315?page=comments#action_20491

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1315

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1315
    Summary:  Error reading XML or initializing
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Versions:
             1.0-rc3

   Assignee: 
   Reporter: Andreas Frei

    Created: Wed, 9 Jun 2004 3:41 AM
    Updated: Wed, 9 Jun 2004 11:28 AM
Environment: Windows XP, j2sdk 1.4.2_03-b02

Description:
When setting a absolute path in project.properties leads to  Error reading XML or initializing:

eclipse.workspace = c:\workspace

regards,
Andreas Frei

---- Error message---->
C:\workspace\jadabs>maven -e
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3

org.apache.maven.MavenException: Error reading XML or initializing
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:156)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
        at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java
:235)
        at org.apache.maven.MavenSession.initialize(MavenSession.java:175)
        at org.apache.maven.cli.App.doMain(App.java:472)
        at org.apache.maven.cli.App.main(App.java:1214)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
--- Nested Exception ---
java.io.IOException: The filename, directory name, or volume label syntax is inc
orrect
        at java.io.WinNTFileSystem.canonicalize0(Native Method)
        at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:354)
        at java.io.File.getCanonicalPath(File.java:513)
        at org.apache.maven.MavenUtils.makeAbsolutePath(MavenUtils.java:1031)
        at org.apache.maven.project.Resource.resolveDirectory(Resource.java:163)

        at org.apache.maven.project.Build.resolveDirectories(Build.java:283)
        at org.apache.maven.project.Project.initialize(Project.java:1336)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:148)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
        at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java
:235)
        at org.apache.maven.MavenSession.initialize(MavenSession.java:175)
        at org.apache.maven.cli.App.doMain(App.java:472)
        at org.apache.maven.cli.App.main(App.java:1214)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)



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