Bah; I think I got it figured. Using Maven 3 - and since this is a snapshot I 
needed to remove ~/.m2/org/geowebcache 

Please move along nothing to see here... 

-- 
Jody Garnett


On Friday, 26 August 2011 at 2:53 PM, Jody Garnett wrote:

>  I am having a bad build day with the following: 
> 
> 15735 groldan  /**
> 16262 groldan * Overrides to return {@link WMS#getJPEGNativeAcceleration()} 
> if the requested response format
> 16262 groldan * is image/jpeg, otherwise if it's set to false and native JAI 
> is available JPEGMapResponse
> 16262 groldan * will assume the WMS setting and create repeated tiles because 
> it will not get a
> 16262 groldan * BufferedImage.
> 16262 groldan * 
> 16262 groldan * @see org.geowebcache.layer.MetaTile#nativeAccelAvailable()
> 16262 groldan */
> 16262 groldan  @Override
> 16262 groldan  protected boolean nativeAccelAvailable() {
> 16262 groldan  boolean useNativeAccel = super.nativeAccelAvailable();
> 16262 groldan  if (useNativeAccel && ImageMime.jpeg.equals(responseFormat)) {
> 16262 groldan  useNativeAccel = WMS.get().getJPEGNativeAcceleration();
> 16262 groldan  }
> 16262 groldan  return useNativeAccel;
> 16262 groldan  }
> 
> 
> 
> The @Override is failing with:
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile 
> (default-compile) on project gwc: Compilation failure: Compilation failure:
> [ERROR] 
> /Users/jody/java/geoserver/trunk/src/gwc/src/main/java/org/geoserver/gwc/layer/GeoServerMetaTile.java:[60,38]
>  cannot find symbol
> [ERROR] symbol : method nativeAccelAvailable()
> [ERROR] location: class org.geowebcache.layer.MetaTile
> [ERROR] 
> /Users/jody/java/geoserver/trunk/src/gwc/src/main/java/org/geoserver/gwc/layer/GeoServerMetaTile.java:[58,4]
>  method does not override or implement a method from a supertype
> [ERROR] -> [Help 1]
> 
> 
> What is the correct procedure to fix this? I assume the GWC jars need to be 
> redeployed? 
> 
> -- 
> Jody Garnett
> 

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to