From: Keats K. <ke...@xa...> - 2005-04-18 03:35:08
|
Mea culpa. I had neglected to commit a change to Broker. (I added a convenience method for adding global functions.) I just committed it, so it should be OK now. Sorry. Keats Lane Sharman wrote: > Keats, > > I think you need to look at this because I __think__ you may be > responsible here. I would really like to try out the new code. > > A unit test no longer compiles and therefore the test set cannot be run. > > unit-compile: > [javac] Compiling 49 source files to > E:\deploy\n2\webmacro\test\unit-classes > > [javac] > E:\deploy\n2\webmacro\test\unit\org\webmacro\template\TestFunction.j > ava:42: > putFunction(java.lang.String,org.webmacro.engine.MethodWrapper) in org.w > ebmacro.Broker cannot be applied to > (java.lang.String,java.lang.Class,java.lang. > String) > [javac] context.getBroker().putFunction("escape", > org.webmacro.util. > HTMLEscaper.class, "escape"); > [javac] ^ > [javac] > E:\deploy\n2\webmacro\test\unit\org\webmacro\template\TestFunction.j > ava:43: > putFunction(java.lang.String,org.webmacro.engine.MethodWrapper) in org.w > ebmacro.Broker cannot be applied to > (java.lang.String,org.webmacro.template.Test > Function,java.lang.String) > [javac] context.getBroker().putFunction("mod", this, > "modFunc"); > [javac] ^ > [javac] Note: > E:\deploy\n2\webmacro\test\unit\org\webmacro\template\TestShar > edOutputStream.java uses or overrides a deprecated API. > [javac] Note: Recompile with -deprecation for details. > [javac] 2 errors > > |