click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian A." <>
Subject Re: [clickclick] Build.xml fails ...
Date Sat, 16 May 2009 18:16:31 GMT
> Yes ClickClick isn't compatible with Click-2.0.1 anymore and the docs 
> are out of date.
> A major feature in ClickClick is Ajax support. Click 2.0.1 didn't have 
> all the necessary infrastructure to support it properly though. The main 
> features needed were getHeadElements and a more flexible 
> ControlRegistry. These features are in 2.1.0, so with 2.1.0 released 
> things should be more stable and an alpha release of ClickClick can be cut.
I updated the build.xml to use Click 2.1.0(and built the latest Click 
from trunk),
but ClickClick still does not compile :(.

Is it possible that you are using locally for ClickClick an intermediary 
  Click version (so not the latest from trunk)?

I'm getting the following error:
c:\work\clickclick>ant build-all
Buildfile: build.xml

    [delete] Deleting directory c:\work\clickclick\dist
     [mkdir] Created dir: c:\work\clickclick\dist

    [delete] Deleting directory c:\work\clickclick\core\classes
     [mkdir] Created dir: c:\work\clickclick\core\classes
      [copy] Copying 49 files to c:\work\clickclick\core\classes
     [javac] Compiling 40 source files to c:\work\clickclick\core\classes
getThreadLocalRegistry() in net.sf.clickclick.AjaxControlRegistry cannot 
override getThreadLocalRegistry() in; 
attempting to use incompatible return type
     [javac] found   : net.sf.clickclick.AjaxControlRegistry
     [javac] required:
     [javac]     protected static AjaxControlRegistry 
getThreadLocalRegistry() {
     [javac]                                          ^
     [javac] Note: 
  or overrides a deprecated API.
     [javac] Note: Recompile with -Xlint:deprecation for details.
     [javac] 1 error

c:\work\clickclick\build.xml:243: The following error occurred while 
executing this line:
c:\work\clickclick\build.xml:61: Compile failed; see the compiler error 
output for details.

View raw message