Sorry the virus scanner complained...

setcp.bat:

@echo off
set _CLASSPATHCOMPONENT=%1
:argCheck
if %2a==a goto gotAllArgs
shift
set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1
goto argCheck
:gotAllArgs
set CLASSPATH=%_CLASSPATHCOMPONENT%;%CLASSPATH%

setenv.bat:

@echo off
for %%i in ("lib\*.jar") do call setcp.bat %%i
set CLASSPATH=.;build;%CLASSPATH%

Execute setenv.bat - which will setup your classpath...

Arijit

>-----Original Message-----
>From: Arijit Mukherjee 
>Sent: 07 December 2004 17:06
>To: '[EMAIL PROTECTED]'
>Subject: RE: Cant find AdminClient class
>
>Yup - but you need to set it up according to your needs. I'm 
>attaching three files which we have used successfully (you can 
>get this application from http://www.ogsadai.org.uk)
>
> Arijit
>
>
>>-----Original Message-----
>>From: Suzy Fynes [mailto:[EMAIL PROTECTED]
>>Sent: 07 December 2004 17:03
>>To: [EMAIL PROTECTED]
>>Subject: RE: Cant find AdminClient class
>>
>>Will this hard code the classpath?
>>
>>-----Original Message-----
>>From: Arijit Mukherjee [mailto:[EMAIL PROTECTED]
>>Sent: 07 December 2004 17:01
>>To: [EMAIL PROTECTED]
>>Subject: RE: Cant find AdminClient class
>>
>>Setup the classpath using a batch file or .sh file (if on linux or 
>>unix)...
>>
>>Something like:
>>
>>set
>>classpath=.;%AXIS_HOME%\lib\jaxrpc.jar;%AXIS_HOME%\lib\saaj.jar
>>;%AXIS_HO
>>ME%\lib\axis.jar;%AXIS_HOME%\lib\commons-logging.jar;%AXIS_HOME
>>%\lib\log
>>4j-core.jar;%AXIS_HOME%\lib\tt-bytecode.jar;%AXIS_HOME%\lib\ws
>dl4j.jar;
>>
>>Cheers
>>Arijit
>>
>>>-----Original Message-----
>>>From: Suzy Fynes [mailto:[EMAIL PROTECTED]
>>>Sent: 07 December 2004 16:47
>>>To: [EMAIL PROTECTED]
>>>Subject: RE: Cant find AdminClient class
>>>
>>>Stand alone
>>>
>>>-----Original Message-----
>>>From: Koney, Satish [mailto:[EMAIL PROTECTED]
>>>Sent: 07 December 2004 16:44
>>>To: [EMAIL PROTECTED]
>>>Subject: RE: Cant find AdminClient class
>>>
>>>how are u running? as a standalone or as a task in ant?
>>>
>>>> -----Original Message-----
>>>> From:      Suzy Fynes [SMTP:[EMAIL PROTECTED]
>>>> Sent:      Tuesday, December 07, 2004 9:54 PM
>>>> To:        [EMAIL PROTECTED]
>>>> Subject:   Cant find AdminClient class
>>>> 
>>>>  
>>>> Hi,
>>>>  
>>>>  
>>>> When I try to the Admin Client I'm getting the following error
>>>>  
>>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>>> org/apache/axis/client/AdminClient
>>>>  
>>>> Can anyone tell me how to setup my classpaths so that axis can find
>>>the
>>>> class....I have all the axis jars in the axis lib folder as
>>>should be.
>>>>  
>>>> Thanks
>>>> Suzy
>>>> 
>>>____________________________________________
>>>Confidential:  This electronic message and all contents contain 
>>>information from Syntel, Inc. which may be privileged,
>>confidential or
>>>otherwise protected from disclosure. The information is
>>intended to be
>>>for the addressee only. If you are not the addressee, any 
>disclosure, 
>>>copy, distribution or use of the contents of this message is 
>>>prohibited.  If you have received this electronic message in error, 
>>>please notify the sender immediately and destroy the 
>original message 
>>>and all copies.
>>>
>>>
>>>
>>
>>
>>

Reply via email to