I have seen errors like this and have ignored them, since I am not using the
WebMacro service. Are you making sure to remove old class files before
recompiling? Maybe this is handled by the makefile, I do not know, I use an
IDE.
----- Original Message -----
From: James Conley <[EMAIL PROTECTED]>
To: 'Turbine' <[EMAIL PROTECTED]>
Sent: Monday, March 27, 2000 9:35 AM
Subject: RE: Webmacro breaking build?
> Sorry, I tried this both ways (on the office chance the webmacro jar files
> where backwards) and it seems to fail either way.
>
> Here is what I'm trying now and what I get:
>
> -------------------------------------------------------------
>
> JAVAMAIL=../lib/mail-1.1.2.jar
> JAF=../lib/activation-1.0.1.jar
> NAMING=../lib/jndi-1.2.1.jar
> VILLAGE=../lib/village-1.1.jar
> ECS=../lib/ecs-1.2.jar
> XERCES=../lib/xerces-1.0.3.jar
>
> WEBMACRO=../lib/webmacro-jdk1.2.jar
> #WEBMACRO=../lib/webmacro-jdk1.1.jar
>
> FREEMARKER=../lib/freemarker-jdk1.2.jar
> #FREEMARKER=../lib/freemarker-jdk1.1.jar
>
> # This is the path to the .jar file that has the javac compiler
> # in it. It is /jdk/lib/classes.zip with JDK 1.1.x and
> # /jdk/lib/tools.jar with JDK 1.2.x
> #TOOLS=/jdk/tools.jar
> TOOLS=/usr/java1.2/lib/tools.jar
>
> #JSDK=/classes/JSDK2.0/lib/jsdk.jar
> JSDK=/usr/local/JSDK2.0/lib/jsdk.jar
>
> -------------------------------------------------------------
>
>
> # sh build-turbine.sh
> Buildfile: build-turbine.xml
> Project base dir set to: /var/local/builds/Apache-Turbine-20000324/build
> Executing Target: init
> Executing Target: prepare
> Executing Target: compile
> Compiling 1 source files to
> /var/local/builds/Apache-Turbine-20000324/bin/classes
>
>
/var/local/builds/Apache-Turbine-20000324/bin/src/org/apache/turbine/service
> s/webmacro/TurbineWebMacroService.java:184: Method
> getTemplate(java.lang.String) not found in class
> org.apache.turbine.services.webmacro.WebMacro.
> return webmacro.getTemplate(filename);
> ^
>
/var/local/builds/Apache-Turbine-20000324/bin/src/org/apache/turbine/service
> s/webmacro/TurbineWebMacroService.java:197: Incompatible type for =. Can't
> convert org.webmacro.WM to org.apache.turbine.services.webmacro.WebMacro.
> webmacro = new WM();
> ^
>
/var/local/builds/Apache-Turbine-20000324/bin/src/org/apache/turbine/service
> s/webmacro/TurbineWebMacroService.java:198: Method getBroker() not found
in
> class org.apache.turbine.services.webmacro.WebMacro.
> broker = webmacro.getBroker();
> ^
> 3 errors
> BUILD FATAL ERROR: Compile failed, messages should have been provided.
>
>
>
> -----Original Message-----
> From: jon * [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 24, 2000 1:28 PM
> To: Turbine
> Subject: Re: Webmacro breaking build?
>
>
> on 3/24/00 12:56 PM, James Conley <[EMAIL PROTECTED]> wrote:
>
> > #WEBMACRO=../lib/webmacro-jdk1.2.jar
> > WEBMACRO=../lib/webmacro-jdk1.1.jar
> > TOOLS=/usr/java1.2/lib/tools.jar
>
> why are you trying to link against WM 1.1 when you are obviously using JDK
> 1.2?
>
> -jon
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]