axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yadav, Yogendra \(IT\)" <Yogendra.Ya...@morganstanley.com>
Subject RE: I have problems when setting up the development environment in eclipse
Date Tue, 23 Jan 2007 20:33:49 GMT
Link the axis2 project to your project by editing the project
dependencies (don't link to axis2-kernel*.jar file).
 
Now you can add break point anywhere in axis2 source.
 
 
Alternatively you could have linked your project with axis2-kernel*.jar
and attached axis2's source folder when "Attach Source" button had
popped up while debugging
 
 

________________________________

From: Wang, Hailong (NIH/CIT) [C] [mailto:wangh3@mail.nih.gov] 
Sent: Tuesday, January 23, 2007 3:26 PM
To: axis-dev@ws.apache.org
Subject: RE: I have problems when setting up the development environment
in eclipse



Manoj,

 

Thanks very much for reply, I have worked through that process and I
imported axis2 project into the eclipse. Could you tell me how you debug
the axis2 code?

 

Hailong

 

________________________________

From: Manoj Khangaonkar [mailto:khangaonkar@gmail.com] 
Sent: Tuesday, January 23, 2007 3:22 PM
To: axis-dev@ws.apache.org
Subject: Re: I have problems when setting up the development environment
in eclipse

 

Hailong,

 

see the FAQ http://ws.apache.org/axis2/faq.html#d1

 

Also If you just want to build , this generally works better

 

maven -Dmaven.test.skip=true

 

Mj

 

On 1/23/07, Wang, Hailong (NIH/CIT) [C] <wangh3@mail.nih.gov> wrote: 

Hi,

 

I tried to set up the development environment in eclipse, and I read
http://ws.apache.org/axis2/svn.html#ide and try to follow the steps,but
I am not able to succeed.  The following is what I did:

 

1.	I checked out the source code of Axis2 from
http://svn.apache.org/repos/asf/webservices/axis2/trunk/java 
2.	I downloaded the maven 1.0.2, and create a MAVEN_HOME
environment variable and add MAVEN_HOME/bin to my PATH 
3.	I try to run maven, then following error happened. 

 

multiproject:goal:

build:start:

 

multiproject:install-callback:

    [echo] Running jar:install for Apache Axis 2.0 - Java2WSDL

java:prepare-filesystem:

 

java:compile:

    [echo] Compiling to C:\Documents and Settings\ home
\workspace\axis2\modules\java2wsdl/target/classes

    [javac] Compiling 22 source files to C:\Documents and Settings\ home
\workspace\axis2\modules\java2wsdl\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\home\.maven\cache\maven-multiproject-plugin-1.5-SNAPSHOT\plugin
.jelly

Element... maven:reactor

Line...... 227

Column.... 64

Unable to obtain goal [multiproject:install-callback] -- C:\Documents
and Settings\ home \.maven\cache\maven-java-plugin-1.5\plugin.jel 

ly:63:48: <ant:javac> Compile failed; see the compiler error output for
details.

Total time: 41 seconds

Finished at: Tue Jan 23 10:04:24 EST 2007

Can any of you help me on this?  Thanks in advance.

 

Hailong Wang

National Database for Autism Research(NDAR)

NIH/CIT/DECA

9000 Rockville Pike, Bld 12A/Room 2027

Bethesda, MD 20892

Phone:  301-402-3045

Fax:       301-480-0028

Email:   wangh3@mail.nih.gov 

URL:   http://ndar.nih.gov <http://ndar.nih.gov/>
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to
waive confidentiality or privilege. Use of this email is prohibited when received in error.

Mime
View raw message