From: Tim P. <ti...@pa...> - 2004-02-24 00:20:02
|
On Monday 23 February 2004 11:08 pm, Lane Sharman wrote: > Tim, > > Now that you have read this thread,=20 Yes, thanks everyone.=20 > can you recompile with 2.0 classic? > > let me know. 8 files are affected, but I am sure that we should keep up with=20 WebMacro and remove some code which is beginning to rot. I am not sure when I will have time, but I will try to get out a clean=20 snapshot so that work could start.=20 Then as Brian said: use the constructors.=20 yours Tim Pizey [javac]=20 /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalo ne.java:72: cannot resolve symbol [javac] symbol : constructor WebContext (org.webmacro.Broker) [javac] location: class org.webmacro.servlet.WebContext [javac] _webContext =3D new WebContext(_wm.getBroker()); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalo ne.java:87: cannot resolve symbol [javac] symbol : method destroy () [javac] location: interface org.webmacro.WebMacro [javac] _wm.destroy(); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalo ne.java:126: cannot resolve symbol [javac] symbol : method newInstance=20 (javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) [javac] location: class org.webmacro.servlet.WebContext [javac] WebContext c =3D _webContext.newInstance(req,resp= ); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/test/WebmacroStandalo ne.java:151: cannot resolve symbol [javac] symbol : method write=20 (org.webmacro.FastWriter,org.webmacro.servlet =2EWebContext) [javac] location: interface org.webmacro.Template [javac] t.write(fw, c); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/test/WebmacroMelatiSe rvletTest.java:92: cannot resolve symbol [javac] symbol : method write=20 (org.webmacro.FastWriter,org.webmacro.Context ) [javac] location: interface org.webmacro.Template [javac] template.write(fmw.getPeer(), context2); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/template/webmacro/Web macroTemplate.java:79: cannot resolve symbol [javac] symbol : method write=20 (org.webmacro.FastWriter,org.webmacro.servlet =2EWebContext) [javac] location: interface org.webmacro.Template [javac] template.write(fw,=20 (WebContext)templateContext.getContext()); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/template/webmacro/Web = =20 macroTemplateEngine.java:91: cannot resolve symbol [javac] symbol : constructor WebContext (org.webmacro.Broker) [javac] location: class org.webmacro.servlet.WebContext [javac] _webContext =3D new WebContext(wm.getBroker()); [javac] ^ [javac]=20 /usr/local/packages/dist/melati/src/org/melati/template/webmacro/Web = =20 macroTemplateEngine.java:105: cannot resolve symbol [javac] symbol : method newInstance=20 (javax.servlet.http.HttpServletRequest, = =20 javax.servlet.http.HttpServletResponse) [javac] location: class org.webmacro.servlet.WebContext [javac] WebContext wc =3D _webContext.newInstance(melati.getReque= st(), [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 8 errors |