i do not remember changing anything in particular - i have just ran cvs update -dP
you can see actual JAR files with versions that i use in CLASSPATH below
i nave never had BSF explicitly there so i am surprised too to see this error
message now . anyway i have excluded MessageCompiler from compilation
for 'compiler' target and WSIF builds now OK.
alek
Anthony Elder wrote:
Hi Alek, you've been quiet recently.--
You're right we shouldn't need BSF. It was originally used by the message
compiler, which we don't use now. I should have deleted all the code when
we stopped using it. Nothing in this area has changed for many months
though so I don't know why you're seeing this now, something to do with BSF
recently moving to Apache? I'll look at tiding this up tomorrow now you've
brought it up. I still think compiled messages could offer performance
improvements one day, if we can find a way to implement it right
...ant
Anthony Elder
[EMAIL PROTECTED]
Web Services Development
IBM UK Laboratories, Hursley Park
(+44) 01962 818320, x248320, MP208.
Aleksander Slominski <[EMAIL PROTECTED]> on 03/12/2002 20:32:51
Please respond to [EMAIL PROTECTED]
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
cc:
Subject: [wsif] build failed: references com.ibm.bsf.util.CodeBuffer
hi,
i am not sure when this dependency was introduced but build fails now
as there is no com.ibm.bsf.util.CodeBuffer in source tree
do we really need another jar file?
thanks,
alek
ps. here is an example:
C:\Forge\xml-axis-wsif\java>build all
c:\jdk1.4\bin\java.exe -classpath
lib\ant\optional-151-20011026.jar;lib\ant\ant-151-20011026.jar;bui
ld\classes;build\samples;build\tests;lib\soaprmi11\soaprmi11.jar;lib\saaj\saaj_1_1.jar;lib\jaxrpc\ja
xrpc_1_1.jar;lib\commons_logging\commons-logging.jar;lib\commons_discovery\commons-discovery.jar;lib
\axis\axis_1_0.jar;lib\axis\axis_1_0-ant.jar;lib\activation\activation-1.0.1.jar;lib\javamail\mail.j
ar;lib\apache_soap\soap.jar;lib\jms_api\jms_1_1.jar;lib\xerces2\xmlParserAPIs_2_2_0.jar;lib\xerces2\
xercesImpl_2_2_0.jar;lib\log4j\log4j.jar-;lib\log4j\log4j-1.2.4.jar;lib\wsdl4j\wsdl4j-20021124.jar;l
ib\wsdl4j\qname-from-wsdl4j-20021124.jar;lib\junit\junit-3.8.1.jar;;c:
\jdk1.4\lib\tools.jar
org.apac
he.tools.ant.Main -buildfile build.xml all
Buildfile: build.xml
init:
clean:
[delete] Deleting directory C:\Forge\xml-axis-wsif\java\build
prepare:
[mkdir] Created dir: C:\Forge\xml-axis-wsif\java\build
checkDependencies:
checkSoapRMI:
checkJMS:
checkEJB:
[echo] Warning: EJB dependencies were not resolved.
checkApacheSOAP:
checkApacheAxis:
checkJ2C:
[echo] Warning: J2C dependencies were not resolved.
dynamic:
[mkdir] Created dir: C:\Forge\xml-axis-wsif\java\build\classes
[javac] Compiling 128 source files to
C:\Forge\xml-axis-wsif\java\build\classes
[javac] Note: sun.tools.javac.Main has been deprecated.
[javac] Note:
C:
\Forge\xml-axis-wsif\java\src\org\apache\wsif\compiler\schema\tools\Conventions.
java uses or overrides a deprecated API. Recompile with "-deprecation"
for details.
[javac] 2 warnings
samples:
[mkdir] Created dir: C:\Forge\xml-axis-wsif\java\build\samples
[javac] Compiling 23 source files to
C:\Forge\xml-axis-wsif\java\build\samples
[javac] Note: sun.tools.javac.Main has been deprecated.
[javac] 1 warning
[copy] Copying 37 files to C:\Forge\xml-axis-wsif\java\build\samples
compile:
compiler:
[javac] Compiling 1 source file to
C:\Forge\xml-axis-wsif\java\build\classes
[javac] Note: sun.tools.javac.Main has been deprecated.
[javac]
C:
\Forge\xml-axis-wsif\java\src\org\apache\wsif\compiler\MessageCompiler.java:83:
Class
com.ibm.bsf.util.CodeBuffer not found in import.
[javac] import com.ibm.bsf.util.CodeBuffer;
[javac] ^
[javac] 1 error, 1 warning
BUILD FAILED
C:\Forge\xml-axis-wsif\java\build.xml:222: Compile failed, messages
should have been provided.
Total time: 59 seconds
--
The ancestor of every action is a thought. - Ralph Waldo Emerson
The ancestor of every action is a thought. - Ralph Waldo Emerson