You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Graham Leggett <mi...@sharp.fm> on 2006/04/24 15:42:36 UTC

multiproject: The filename, directory name, or volume label syntax is incorrect

Hi all,

I am trying to build a multiproject under WinXP, but I am getting the
error below in the maven:reactor tag in the multiproject plugin. This same
project works 100% under MacOSX.

Using -e and -X, it reveals that the real error is "The filename,
directory name, or volume label syntax is incorrect". Unfortunately the
person writing the code didn't feel the end user would ever be interested
in _which_ file is incorrect, and so I am stuck. :(

Is there any way (apart from the -e and -X flags) for maven to reveal what
it resolved the maven:reactor tag to? Or an I doomed to install maven
under eclipse and step through it in a debugger?

      <maven:reactor
        basedir="${maven.multiproject.basedir}"
        banner="Gathering project list"
        includes="${maven.multiproject.includes}"
        excludes="${maven.multiproject.excludes}"
        postProcessing="true"
        collectOnly="true"
        collectionVar="multiprojects"
        ignoreFailures="${maven.multiproject.ignoreFailures}"
      />

The error when run looks like this:

C:\Java\continuum-1.0.3-20060414-bin\continuum-1.0.3-SNAPSHOT\apps\continuum\wor
king-directory\10>maven multiproject:clean multiproject:install
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

multiproject:clean:
multiproject:projects-init:
    [echo] Gathering project list
Starting the reactor...

BUILD FAILED
File......
C:\WINNT\profiles\leggettg\.maven\cache\maven-multiproject-plugin-1.3
.1\plugin.jelly
Element... maven:reactor
Line...... 63
Column.... 9
Error reading XML or initializing
Total time: 2 seconds
Finished at: Mon Apr 24 14:40:37 CAT 2006

Regards,
Graham
--



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


Re: multiproject: The filename, directory name, or volume label syntax is incorrect

Posted by Lukas Theussl <lt...@apache.org>.
I think there is an issue on Windows when there are whitespaces in 
file-/pathnames. Could that be the problem?

You might also have more luck asking on the users list.

Cheers,
-Lukas


Graham Leggett wrote:
> Hi all,
> 
> I am trying to build a multiproject under WinXP, but I am getting the
> error below in the maven:reactor tag in the multiproject plugin. This same
> project works 100% under MacOSX.
> 
> Using -e and -X, it reveals that the real error is "The filename,
> directory name, or volume label syntax is incorrect". Unfortunately the
> person writing the code didn't feel the end user would ever be interested
> in _which_ file is incorrect, and so I am stuck. :(
> 
> Is there any way (apart from the -e and -X flags) for maven to reveal what
> it resolved the maven:reactor tag to? Or an I doomed to install maven
> under eclipse and step through it in a debugger?
> 
>       <maven:reactor
>         basedir="${maven.multiproject.basedir}"
>         banner="Gathering project list"
>         includes="${maven.multiproject.includes}"
>         excludes="${maven.multiproject.excludes}"
>         postProcessing="true"
>         collectOnly="true"
>         collectionVar="multiprojects"
>         ignoreFailures="${maven.multiproject.ignoreFailures}"
>       />
> 
> The error when run looks like this:
> 
> C:\Java\continuum-1.0.3-20060414-bin\continuum-1.0.3-SNAPSHOT\apps\continuum\wor
> king-directory\10>maven multiproject:clean multiproject:install
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> 
> build:start:
> 
> multiproject:clean:
> multiproject:projects-init:
>     [echo] Gathering project list
> Starting the reactor...
> 
> BUILD FAILED
> File......
> C:\WINNT\profiles\leggettg\.maven\cache\maven-multiproject-plugin-1.3
> .1\plugin.jelly
> Element... maven:reactor
> Line...... 63
> Column.... 9
> Error reading XML or initializing
> Total time: 2 seconds
> Finished at: Mon Apr 24 14:40:37 CAT 2006
> 
> Regards,
> Graham
> --
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

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