I'm still trying to buid axis2 (I know sometime I'll attain it :-) ).
Now the problem is the way maven builds diferent modules. That is, axis is in the folder "C:\Documents and Settings\Loreno Oliveira\My Documents\Projetos\axis2". When I start a complete build (for all the modules), the first module (Common) is built without any issue.
But in the following module (XML) I got the error below:

    [javac] Compiling 134 source files to C:\Documents and Settings\Loreno Oliveira\My Documents\Projetos\axis2\modules\xml\ta
rget\classes
    [javac] javac: invalid flag: C:\Documents
    [javac] Usage: javac <options> <source files>
    [javac] where possible options include:
    [javac]   -g                         Generate all debugging info
    [javac]   -g:none                    Generate no debugging info
    [javac]   -g:{lines,vars,source}     Generate only some debugging info
    [javac]   -nowarn                    Generate no warnings
    [javac]   -verbose                   Output messages about what the compiler is doing
    [javac]   -deprecation               Output source locations where deprecated APIs are used
    [javac]   -classpath <path>          Specify where to find user class files
    [javac]   -cp <path>                 Specify where to find user class files
    [javac]   -sourcepath <path>         Specify where to find input source files
    [javac]   -bootclasspath <path>      Override location of bootstrap class files
    [javac]   -extdirs <dirs>            Override location of installed extensions
    [javac]   -endorseddirs <dirs>       Override location of endorsed standards path
    [javac]   -d <directory>             Specify where to place generated class files
    [javac]   -encoding <encoding>       Specify character encoding used by source files
    [javac]   -source <release>          Provide source compatibility with specified release
    [javac]   -target <release>          Generate class files for specific VM version
    [javac]   -version                   Version information
    [javac]   -help                      Print a synopsis of standard options
    [javac]   -X                         Print a synopsis of nonstandard options
    [javac]   -J<flag>                   Pass <flag> directly to the runtime system
    [javac]

BUILD FAILED
File...... C:\Documents and Settings\Loreno Oliveira\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and Settings\Loreno Oliveira\.maven\cache\maven-java-plu
gin-1.5\plugin.jelly:63:48: <ant:javac> Compile failed; see the compiler error output for details.
Total time: 9 seconds
Finished at: Thu Mar 16 17:16:30 BRT 2006

The line "    [javac] javac: invalid flag: C:\Documents" makes me believe the path is being splited into tokens. My questions are:
1- am I doing something wrong??
2- why does the build works fine for the Common module and doesn't for the XML module??

Thanks for any help!

[]'s

Loreno

Reply via email to