You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Loreno Oliveira <lo...@gmail.com> on 2006/03/16 21:37:37 UTC

frenzy trying to build axis2

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

Re: frenzy trying to build axis2

Posted by Loreno Oliveira <lo...@gmail.com>.
This is bad...

Anyway, I've downloaded the code from svn and tried to build it. One more
time I got the same problem, now for the WSDL module (see erro below).

multiproject:install-callback:
    [echo] Running jar:install for Apache Axis 2.0 - WSDL
java:prepare-filesystem:
    [mkdir] Created dir: C:\Documents and Settings\Loreno Oliveira\My
Documents\Projetos\axis2\axis2\modules\wsdl\target\class
es

java:compile:
    [echo] Compiling to C:\Documents and Settings\Loreno Oliveira\My
Documents\Projetos\axis2\axis2\modules\wsdl/target/classe
s
    [javac] Compiling 89 source files to C:\Documents and Settings\Loreno
Oliveira\My Documents\Projetos\axis2\axis2\modules\w
sdl\target\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: 11 seconds
Finished at: Fri Mar 17 10:34:35 BRT 2006

Of course, this is easy to fix. I've only moved the project folder to the
root (c:\axis2). However, I'm still curious to know what is the problem.
That is, why does some modules are built normaly and others doesn't??

In time, one more question. Is it safe to use and change do code downloaded
from svn?? That is, I understand it's a code under constant changes. Thus,
it may be possible to have some inconsistency on it??

[]'s

Loreno

On 3/17/06, robert <ro...@gmail.com> wrote:
>
> The .94 sources don't build :-(
>
> http://marc.theaimsgroup.com/?l=axis-dev&m=113936664324887&w=2
>
> HTH,
> Robert
> http://www.braziloutsource.com/
>
> Em Sexta 17 Março 2006 09:48, o Loreno Oliveira escreveu:
> > The version I'm trying to build is the standard 0.94, downloaded as a
> zip
> > from http://ws.apache.org/axis2/download.cgi
> >
> > Loreno
> >
> > On 3/17/06, Ajith Ranabahu <aj...@gmail.com> wrote:
> > > Hmm...
> > > We no longer have the XML Module and it seems that you are using a
> > > pretty old codebase. Have a go with the latest codebase!
> > >
> > > Ajith
> > >
> > > On 3/17/06, Loreno Oliveira <lo...@gmail.com> wrote:
> > > > 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
> > >
> > > --
> > > Ajith Ranabahu
>
> --
>

Re: frenzy trying to build axis2

Posted by robert <ro...@gmail.com>.
The .94 sources don't build :-( 

http://marc.theaimsgroup.com/?l=axis-dev&m=113936664324887&w=2

HTH,
Robert
http://www.braziloutsource.com/

Em Sexta 17 Março 2006 09:48, o Loreno Oliveira escreveu:
> The version I'm trying to build is the standard 0.94, downloaded as a zip
> from http://ws.apache.org/axis2/download.cgi
>
> Loreno
>
> On 3/17/06, Ajith Ranabahu <aj...@gmail.com> wrote:
> > Hmm...
> > We no longer have the XML Module and it seems that you are using a
> > pretty old codebase. Have a go with the latest codebase!
> >
> > Ajith
> >
> > On 3/17/06, Loreno Oliveira <lo...@gmail.com> wrote:
> > > 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
> >
> > --
> > Ajith Ranabahu

-- 

Re: frenzy trying to build axis2

Posted by Loreno Oliveira <lo...@gmail.com>.
The version I'm trying to build is the standard 0.94, downloaded as a zip
from http://ws.apache.org/axis2/download.cgi

Loreno

On 3/17/06, Ajith Ranabahu <aj...@gmail.com> wrote:
>
> Hmm...
> We no longer have the XML Module and it seems that you are using a
> pretty old codebase. Have a go with the latest codebase!
>
> Ajith
>
> On 3/17/06, Loreno Oliveira <lo...@gmail.com> wrote:
> > 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
> >
>
>
> --
> Ajith Ranabahu
>

Re: frenzy trying to build axis2

Posted by Ajith Ranabahu <aj...@gmail.com>.
Hmm...
We no longer have the XML Module and it seems that you are using a
pretty old codebase. Have a go with the latest codebase!

Ajith

On 3/17/06, Loreno Oliveira <lo...@gmail.com> wrote:
> 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
>


--
Ajith Ranabahu