[SoapRMI] error compiling xsoap (again...)

Aleksander Slominski aslom_at_cs.indiana.edu
Thu, 28 Nov 2002 09:32:58 -0500


Mark Swanson wrote:

> On November 27, 2002 08:18 pm, Aleksander Slominski wrote:
> > Mark Swanson wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > I need to use ./build.sh and it builds perfectly.
> > > build all doesn't for for me either.
> >
> > build all only works on windows (as it call build.bat)
> > on UNIX you have to use  ./build.sh all unless
> > you add current directory (.) to path and rename build.sh to build :-)
>
> Ha!
>
> Let me try again. ./build.sh works perfectly. `ant jar` does not. I'm not
> saying it should (though that would be standard) I was just attempting (and
> failing) to be helpful.
>
> When I use `ant jar` I get errors like this:
>
> jsse:
>     [javac] Compiling 5 source files to
> /mnt/freeb1/downloads/java/soap/xsoap_1_2_19/build/classes
>     [javac]
> /mnt/freeb1/downloads/java/soap/xsoap_1_2_19/src/java/security/soaprmi/security/jsse/JsseClientSocketFactory.java:23:
> package org.globus.security does not exist
>     [javac] import org.globus.security.GlobusProxy;

hi,

there are two separate problems:
1) JSSE security depends on CoG but it was not declared in build.xml
    i have fixed it now in CVS
2) if you want to compile using your ANT directly you need to set CLASSPATH
as you need to have COG related jar files. try to do run ./classspath.sh and it will print what
classpath you need (or you can source classpath.sh or classpath.csh to set CLASSPATH).

thanks,

alek
--
The ancestor of every action is a thought. - Ralph Waldo Emerson