You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2009/04/21 00:41:45 UTC

[jira] Closed: (MECLIPSE-187) problem when outputDirectory and testOutputDirectory are absolute

     [ http://jira.codehaus.org/browse/MECLIPSE-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier closed MECLIPSE-187.
------------------------------------

    Resolution: Won't Fix

This is a core problem fixed in maven 2.1.0

> problem when outputDirectory and testOutputDirectory are absolute
> -----------------------------------------------------------------
>
>                 Key: MECLIPSE-187
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-187
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Dominique Jean-Prost
>
> When setting outputDirectory to an absolute dir, I get the following exception when eclipse:eclipse
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Can't canonicalize system path: W:\root\sofaxis-common\C:\temp\com.dexia.sofaxis\sofaxis-common\target\classes
> Embedded error: Syntaxe du nom de fichier, de rÚpertoire ou de volume incorrecte
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Can't canonicalize system path: W:\root\sofaxis-common\C:\temp\com.dexia.sofaxis\sofaxis-common\target\classes
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Can't canonicalize system path: W:\root\sofaxis-common\C:\temp\com.dexia.sofaxis\sofaxis-common\target\classes
>         at org.apache.maven.plugin.ide.IdeUtils.getCanonicalPath(IdeUtils.java:60)
>         at org.apache.maven.plugin.ide.IdeUtils.toRelativeAndFixSeparator(IdeUtils.java:72)
>         at org.apache.maven.plugin.eclipse.EclipsePlugin.extractResourceDirs(EclipsePlugin.java:720)
>         at org.apache.maven.plugin.eclipse.EclipsePlugin.buildDirectoryList(EclipsePlugin.java:614)
>         at org.apache.maven.plugin.eclipse.EclipsePlugin.writeConfiguration(EclipsePlugin.java:501)
>         at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:382)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>         ... 16 more
> Caused by: java.io.IOException: Syntaxe du nom de fichier, de rÚpertoire ou de volume incorrecte
>         at java.io.WinNTFileSystem.canonicalize0(Native Method)
>         at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:395)
>         at java.io.File.getCanonicalPath(File.java:531)
>         at org.apache.maven.plugin.ide.IdeUtils.getCanonicalPath(IdeUtils.java:56)
>         ... 23 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Mon Nov 06 16:05:58 CET 2006
> [INFO] Final Memory: 4M/8M
> [INFO] ------------------------------------------------------------------------

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira