Re: [Geotools-devel] Unable to reproduce this build failure

2010-07-04 Thread Andrea Aime
Jody Garnett ha scritto:

 [exec]   File 
 /usr/lib/python2.4/site-packages/Sphinx-0.6.1-py2.4.egg/sphinx/environment.py,
  line 537, in warn_and_replace
 [exec] linestart = error.object.rfind('\n', None, error.start)
 [exec] TypeError: slice indices must be integers or None
 [exec] The full traceback has been saved in /tmp/sphinx-err-okc0WH.log, 
 if you want to report the issue to the author.
 [exec] Please also report this if it was a user error, so that a better 
 error message can be provided next time.
 [exec] Send reports to sphinx-...@googlegroups.com. Thanks!

Never seen that error, but a quick Google search provides the following 
(which might be useful, or not ;-) ):
http://groups.google.com/group/sphinx-dev/browse_thread/thread/60db9fcd41816c66/708cf1e53e5ef286
http://www.mail-archive.com/sphinx-...@googlegroups.com/msg01605.html

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] Build failed in Hudson: geotools-trunk #2854

2010-07-04 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geotools-trunk/2854/changes

Changes:

[jive] filter tutorial

--
[...truncated 11712 lines...]
[INFO] [compiler:compile]
[INFO] Compiling 47 source files to 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/classes
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/src/test/resources
[INFO] [compiler:testCompile]
[INFO] Compiling 25 source files to 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/surefire-reports
Jul 4, 2010 5:32:23 AM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background 
/home/tomcat/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml

---
 T E S T S
---
Running org.geotools.caching.grid.spatialindex.RegionNodeIdentifierTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.115 sec
Running org.geotools.caching.spatialindex.store.DiskStorageTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.399 sec
Running org.geotools.caching.grid.spatialindex.GridTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.324 sec
Running org.geotools.caching.grid.spatialindex.GridRootNodeTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Running org.geotools.caching.spatialindex.store.BufferedDiskStorageTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.geotools.caching.util.FilterSplitterTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 sec
Running org.geotools.caching.grid.spatialindex.GridNodeTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geotools.caching.grid.spatialindex.DiskStorageGridTest
#Grid property set
#Sun Jul 04 05:32:24 EDT 2010
Grid.RootMbrMinY=0.0
Grid.RootMbrMinX=0.0
SpatialIndex.Type=org.geotools.caching.grid.spatialindex.GridSpatialIndex
Storage.Type=org.geotools.caching.grid.spatialindex.store.BufferedDiskStorage
DiskStorage.IndexFile=/home/tomcat/.hudson/tmp/storage34724.tmp.idx
DiskStorage.DataFile=/home/tomcat/.hudson/tmp/storage34724.tmp
Grid.GridCapacity=2000
DiskStorage.PageSize=1000
Grid.GridSize=100
Grid.RootMbrMaxY=1.0
BufferedDiskStorage.BufferSize=100
Grid.RootMbrMaxX=1.0
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.372 sec
Running org.geotools.caching.grid.featurecache.DiskGridFeatureCacheTest
Jul 4, 2010 5:32:26 AM org.geotools.caching.featurecache.AbstractFeatureCache 
get
INFO: Adding data to cache : org.geotools.caching.CacheOversizedException: 
Cannot cache collection of size 100 (capacity = 10 )
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.593 sec
Running org.geotools.caching.grid.featurecache.ConcurrentAccessTest
Loading existing filters.
Loading existing filters.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.929 sec
Running org.geotools.caching.grid.featurecache.GridFeatureCacheTest
Jul 4, 2010 5:32:27 AM org.geotools.caching.featurecache.AbstractFeatureCache 
get
INFO: Adding data to cache : org.geotools.caching.CacheOversizedException: 
Cannot cache collection of size 100 (capacity = 10 )
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec
Running org.geotools.caching.util.MarshallerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
Running org.geotools.caching.grid.featurecache.StreamingGridFeatureCacheTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.156 sec

Results :

Tests run: 82, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT-sources.jar
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT.jar
 to 
/home/tomcat/.m2/repository/org/geotools/gt-caching/2.7-SNAPSHOT/gt-caching-2.7-SNAPSHOT.jar
[INFO] Installing 

Re: [Geotools-devel] Question about string concatenation in geotools code

2010-07-04 Thread Mª®k
this being conditionally executed code (specifically the value
java.util.logging.Level.FINE) I think performance is not a relevant
argument for applying this patch; it will only be run by people
actually needing this level of debugging, I'm pretty sure they would
not be concerned with performance..

As for readability, using new  is, I tink, in general bad for readability.

mark

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] Build failed in Hudson: geotools-trunk #2855

2010-07-04 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geotools-trunk/2855/changes

Changes:

[jive] wmslab

[jive] raster tutorial

--
[...truncated 11888 lines...]
[INFO] [compiler:testCompile]
[INFO] Compiling 25 source files to 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/surefire-reports
Jul 4, 2010 11:25:33 AM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background 
/home/tomcat/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml

---
 T E S T S
---
Running org.geotools.caching.grid.spatialindex.RegionNodeIdentifierTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.geotools.caching.spatialindex.store.DiskStorageTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec
Running org.geotools.caching.grid.spatialindex.GridTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.297 sec
Running org.geotools.caching.grid.spatialindex.GridRootNodeTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec
Running org.geotools.caching.spatialindex.store.BufferedDiskStorageTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: -0.003 sec
Running org.geotools.caching.util.FilterSplitterTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 sec
Running org.geotools.caching.grid.spatialindex.GridNodeTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.geotools.caching.grid.spatialindex.DiskStorageGridTest
#Grid property set
#Sun Jul 04 11:25:34 EDT 2010
Grid.RootMbrMinY=0.0
Grid.RootMbrMinX=0.0
SpatialIndex.Type=org.geotools.caching.grid.spatialindex.GridSpatialIndex
Storage.Type=org.geotools.caching.grid.spatialindex.store.BufferedDiskStorage
DiskStorage.IndexFile=/home/tomcat/.hudson/tmp/storage12845.tmp.idx
DiskStorage.DataFile=/home/tomcat/.hudson/tmp/storage12845.tmp
Grid.GridCapacity=2000
DiskStorage.PageSize=1000
Grid.GridSize=100
Grid.RootMbrMaxY=1.0
BufferedDiskStorage.BufferSize=100
Grid.RootMbrMaxX=1.0
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.42 sec
Running org.geotools.caching.grid.featurecache.DiskGridFeatureCacheTest
Jul 4, 2010 11:25:35 AM org.geotools.caching.featurecache.AbstractFeatureCache 
get
INFO: Adding data to cache : org.geotools.caching.CacheOversizedException: 
Cannot cache collection of size 100 (capacity = 10 )
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.536 sec
Running org.geotools.caching.grid.featurecache.ConcurrentAccessTest
Loading existing filters.
Loading existing filters.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.931 sec
Running org.geotools.caching.grid.featurecache.GridFeatureCacheTest
Jul 4, 2010 11:25:36 AM org.geotools.caching.featurecache.AbstractFeatureCache 
get
INFO: Adding data to cache : org.geotools.caching.CacheOversizedException: 
Cannot cache collection of size 100 (capacity = 10 )
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec
Running org.geotools.caching.util.MarshallerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec
Running org.geotools.caching.grid.featurecache.StreamingGridFeatureCacheTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.254 sec

Results :

Tests run: 82, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT-sources.jar
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT.jar
 to 
/home/tomcat/.m2/repository/org/geotools/gt-caching/2.7-SNAPSHOT/gt-caching-2.7-SNAPSHOT.jar
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT-sources.jar
 to 
/home/tomcat/.m2/repository/org/geotools/gt-caching/2.7-SNAPSHOT/gt-caching-2.7-SNAPSHOT-sources.jar
[INFO] 
[INFO] Building SAS Matlab grid coverage readers
[INFO]task-segment: [clean, install]
[INFO] 

[Geotools-devel] [jira] Created: (GEOT-3173) Disabling memory mapping in shapefiles still makes the .shx file to be memory mapped

2010-07-04 Thread Andrea Aime (JIRA)
Disabling memory mapping in shapefiles still makes the .shx file to be memory 
mapped


 Key: GEOT-3173
 URL: http://jira.codehaus.org/browse/GEOT-3173
 Project: GeoTools
  Issue Type: Bug
  Components: data shapefile
Affects Versions: 2.6.4
Reporter: Andrea Aime
Assignee: Andrea Aime
 Fix For: 2.6.5


This is quite bad, especially in server apps.
Plus, memory mapping is pretty much dangerous on windows where the file to 
contain the full file is actually reserved. Switch the factory to _not_ use 
memory mapping by default.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] Build failed in Hudson: geotools-trunk #2856

2010-07-04 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geotools-trunk/2856/changes

Changes:

[jive] style tutorial

--
[...truncated 11680 lines...]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/src/test/resources
[INFO] [compiler:testCompile]
[INFO] Compiling 25 source files to 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/surefire-reports
Jul 4, 2010 1:23:21 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background 
/home/tomcat/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml

---
 T E S T S
---
Running org.geotools.caching.grid.spatialindex.RegionNodeIdentifierTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running org.geotools.caching.spatialindex.store.DiskStorageTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec
Running org.geotools.caching.grid.spatialindex.GridTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.282 sec
Running org.geotools.caching.grid.spatialindex.GridRootNodeTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 sec
Running org.geotools.caching.spatialindex.store.BufferedDiskStorageTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.675 sec
Running org.geotools.caching.util.FilterSplitterTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 sec
Running org.geotools.caching.grid.spatialindex.GridNodeTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.geotools.caching.grid.spatialindex.DiskStorageGridTest
#Grid property set
#Sun Jul 04 13:23:23 EDT 2010
Grid.RootMbrMinY=0.0
Grid.RootMbrMinX=0.0
SpatialIndex.Type=org.geotools.caching.grid.spatialindex.GridSpatialIndex
Storage.Type=org.geotools.caching.grid.spatialindex.store.BufferedDiskStorage
DiskStorage.IndexFile=/home/tomcat/.hudson/tmp/storage65304.tmp.idx
DiskStorage.DataFile=/home/tomcat/.hudson/tmp/storage65304.tmp
Grid.GridCapacity=2000
DiskStorage.PageSize=1000
Grid.GridSize=100
Grid.RootMbrMaxY=1.0
BufferedDiskStorage.BufferSize=100
Grid.RootMbrMaxX=1.0
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.744 sec
Running org.geotools.caching.grid.featurecache.DiskGridFeatureCacheTest
Jul 4, 2010 1:23:27 PM org.geotools.caching.featurecache.AbstractFeatureCache 
get
INFO: Adding data to cache : org.geotools.caching.CacheOversizedException: 
Cannot cache collection of size 100 (capacity = 10 )
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.329 sec
Running org.geotools.caching.grid.featurecache.ConcurrentAccessTest
Loading existing filters.
Loading existing filters.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.266 sec
Running org.geotools.caching.grid.featurecache.GridFeatureCacheTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec
Running org.geotools.caching.util.MarshallerTest
Jul 4, 2010 1:23:28 PM org.geotools.caching.featurecache.AbstractFeatureCache 
get
INFO: Adding data to cache : org.geotools.caching.CacheOversizedException: 
Cannot cache collection of size 100 (capacity = 10 )
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.geotools.caching.grid.featurecache.StreamingGridFeatureCacheTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.952 sec

Results :

Tests run: 82, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT-sources.jar
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT.jar
 to 
/home/tomcat/.m2/repository/org/geotools/gt-caching/2.7-SNAPSHOT/gt-caching-2.7-SNAPSHOT.jar
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT-sources.jar
 to 

[Geotools-devel] Build failed in Hudson: geotools-trunk #2857

2010-07-04 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geotools-trunk/2857/changes

Changes:

[aaime] [GEOT-3173] Disabling memory mapping in shapefiles still makes the .shx 
file to be memory mapped

--
[...truncated 11751 lines...]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/src/test/resources
[INFO] [compiler:testCompile]
[INFO] Compiling 25 source files to 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/surefire-reports
Jul 4, 2010 2:23:35 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background 
/home/tomcat/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml

---
 T E S T S
---
Running org.geotools.caching.grid.spatialindex.RegionNodeIdentifierTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec
Running org.geotools.caching.spatialindex.store.DiskStorageTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec
Running org.geotools.caching.grid.spatialindex.GridTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.297 sec
Running org.geotools.caching.grid.spatialindex.GridRootNodeTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
Running org.geotools.caching.spatialindex.store.BufferedDiskStorageTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.geotools.caching.util.FilterSplitterTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
Running org.geotools.caching.grid.spatialindex.GridNodeTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: -0.015 sec
Running org.geotools.caching.grid.spatialindex.DiskStorageGridTest
#Grid property set
#Sun Jul 04 14:23:36 EDT 2010
Grid.RootMbrMinY=0.0
Grid.RootMbrMinX=0.0
SpatialIndex.Type=org.geotools.caching.grid.spatialindex.GridSpatialIndex
Storage.Type=org.geotools.caching.grid.spatialindex.store.BufferedDiskStorage
DiskStorage.IndexFile=/home/tomcat/.hudson/tmp/storage45858.tmp.idx
DiskStorage.DataFile=/home/tomcat/.hudson/tmp/storage45858.tmp
Grid.GridCapacity=2000
DiskStorage.PageSize=1000
Grid.GridSize=100
Grid.RootMbrMaxY=1.0
BufferedDiskStorage.BufferSize=100
Grid.RootMbrMaxX=1.0
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.421 sec
Running org.geotools.caching.grid.featurecache.DiskGridFeatureCacheTest
Jul 4, 2010 2:23:37 PM org.geotools.caching.featurecache.AbstractFeatureCache 
get
INFO: Adding data to cache : org.geotools.caching.CacheOversizedException: 
Cannot cache collection of size 100 (capacity = 10 )
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.436 sec
Running org.geotools.caching.grid.featurecache.ConcurrentAccessTest
Loading existing filters.
Loading existing filters.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.165 sec
Running org.geotools.caching.grid.featurecache.GridFeatureCacheTest
Jul 4, 2010 2:23:39 PM org.geotools.caching.featurecache.AbstractFeatureCache 
get
INFO: Adding data to cache : org.geotools.caching.CacheOversizedException: 
Cannot cache collection of size 100 (capacity = 10 )
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec
Running org.geotools.caching.util.MarshallerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
Running org.geotools.caching.grid.featurecache.StreamingGridFeatureCacheTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.087 sec

Results :

Tests run: 82, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT-sources.jar
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT.jar
 to 
/home/tomcat/.m2/repository/org/geotools/gt-caching/2.7-SNAPSHOT/gt-caching-2.7-SNAPSHOT.jar
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT-sources.jar
 to 

[Geotools-devel] Build failed in Hudson: geotools-trunk #2858

2010-07-04 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geotools-trunk/2858/changes

Changes:

[aaime] Improving direct buffers cleanups

--
[...truncated 11719 lines...]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/src/test/resources
[INFO] [compiler:testCompile]
[INFO] Compiling 25 source files to 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/surefire-reports
Jul 4, 2010 5:00:48 PM java.util.prefs.FileSystemPreferences$7 run
WARNING: Prefs file removed in background 
/home/tomcat/.java/.userPrefs/org/geotools/referencing/wkt/prefs.xml

---
 T E S T S
---
Running org.geotools.caching.grid.spatialindex.RegionNodeIdentifierTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec
Running org.geotools.caching.spatialindex.store.DiskStorageTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec
Running org.geotools.caching.grid.spatialindex.GridTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 sec
Running org.geotools.caching.grid.spatialindex.GridRootNodeTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
Running org.geotools.caching.spatialindex.store.BufferedDiskStorageTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.geotools.caching.util.FilterSplitterTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 sec
Running org.geotools.caching.grid.spatialindex.GridNodeTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.geotools.caching.grid.spatialindex.DiskStorageGridTest
#Grid property set
#Sun Jul 04 17:00:49 EDT 2010
Grid.RootMbrMinY=0.0
Grid.RootMbrMinX=0.0
SpatialIndex.Type=org.geotools.caching.grid.spatialindex.GridSpatialIndex
Storage.Type=org.geotools.caching.grid.spatialindex.store.BufferedDiskStorage
DiskStorage.IndexFile=/home/tomcat/.hudson/tmp/storage48328.tmp.idx
DiskStorage.DataFile=/home/tomcat/.hudson/tmp/storage48328.tmp
Grid.GridCapacity=2000
DiskStorage.PageSize=1000
Grid.GridSize=100
Grid.RootMbrMaxY=1.0
BufferedDiskStorage.BufferSize=100
Grid.RootMbrMaxX=1.0
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.421 sec
Running org.geotools.caching.grid.featurecache.DiskGridFeatureCacheTest
Jul 4, 2010 5:00:50 PM org.geotools.caching.featurecache.AbstractFeatureCache 
get
INFO: Adding data to cache : org.geotools.caching.CacheOversizedException: 
Cannot cache collection of size 100 (capacity = 10 )
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.795 sec
Running org.geotools.caching.grid.featurecache.ConcurrentAccessTest
Loading existing filters.
Loading existing filters.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.048 sec
Running org.geotools.caching.grid.featurecache.GridFeatureCacheTest
Jul 4, 2010 5:00:52 PM org.geotools.caching.featurecache.AbstractFeatureCache 
get
INFO: Adding data to cache : org.geotools.caching.CacheOversizedException: 
Cannot cache collection of size 100 (capacity = 10 )
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec
Running org.geotools.caching.util.MarshallerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.geotools.caching.grid.featurecache.StreamingGridFeatureCacheTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.028 sec

Results :

Tests run: 82, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT-sources.jar
[INFO] [jar-collector:collect {execution: default}]
[INFO] [install:install]
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT.jar
 to 
/home/tomcat/.m2/repository/org/geotools/gt-caching/2.7-SNAPSHOT/gt-caching-2.7-SNAPSHOT.jar
[INFO] Installing 
http://hudson.opengeo.org/hudson/job/geotools-trunk/ws/gt_trunk/modules/unsupported/caching/target/gt-caching-2.7-SNAPSHOT-sources.jar
 to 

[Geotools-devel] Hudson build is back to normal: geotools-trunk #2859

2010-07-04 Thread Hudson
See http://hudson.opengeo.org/hudson/job/geotools-trunk/2859/changes



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] spike cql

2010-07-04 Thread Ben Caradoc-Davies
Mauricio,

I removed the .project that you committed in this folder 
(spike/mauro/cql), as it causes Eclipse to pick up this module for 
*everyone*. Please do not commit .project files into the repository. I 
have added .project to the svn:ignore as well, for your convenience.

Kind regards,
Ben.

On 03/07/10 16:47, Jody Garnett wrote:
 Hi Mauricio:

 I see you have taken a copy of cql into the spike folder. I expect that is to 
 look into the recent build issues on win32 and mac? Give me a shout if you 
 would like to try a build on osx.

 Once again sorry for having to back out your changes; we could not manage to 
 sort it out on the IRC channel.

 Jody
 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 Geotools-devel mailing list
 Geotools-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geotools-devel



-- 
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] 2.7-M2

2010-07-04 Thread Ben Caradoc-Davies
On 03/07/10 16:53, Jody Garnett wrote:
 As such can I request a 2.7-M2 release.

+1 for me.

-- 
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] [jira] Created: (GEOT-3174) Unable to perform spatial query (BBOX param) on complex features - Axis ordering, transformation of filter failing

2010-07-04 Thread Derrick Wong (JIRA)
Unable to perform spatial query (BBOX param) on complex features - Axis 
ordering, transformation of filter failing
--

 Key: GEOT-3174
 URL: http://jira.codehaus.org/browse/GEOT-3174
 Project: GeoTools
  Issue Type: Bug
  Components: data app-schema
Affects Versions: 2.6.5, 2.7-M3, 2.7-RC1
 Environment: Windows XP, JAVA 1.5
Reporter: Derrick Wong
 Fix For: 2.6.5, 2.7-M3, 2.7-RC1
 Attachments: AxisOrder2.patch, BBoxFitlerTest.patch

Performing spatial query (with BBOX param) on complex features returns 0 
Results.

This is due to the transformation of the filter (which handles the Axis 
ordering) not working for complex features.

In my initial investigation, I have written a test class which extends 
org.geoserver.test.AbstractAppSchemaWfsTestSuport, when trying to obtain a 
org.w3c.dom.Document object by calling the method getAsDom(String path), if I 
specified the param BBOX in my WFS request, my Unit Test would fail. This 
only happens on complex features, which led me to the following 2 classes in 
particular.


org.geotools.filter.expression.SimpleFeaturePropertyAccessor line 67-68:


//if (.equals(xpath)  target == Geometry.class)
if (.equals(xpath))
return DEFAULT_GEOMETRY_ACCESS;

I had a look into the repository and this change was made in geotools-trunk 
revision 26186. (jdeolive 10/07/2007 10:18:59 AM GEOT-1372, feature model api 
changes in preparation for geoapi feature model implementation)

Comparing this with

org.geotools.filter.expression.FeaturePropertyAccessorFactory line 113-114:

   if (.equals(xpath)  target == Geometry.class)
   return DEFAULT_GEOMETRY_ACCESS;


The method createPropertyAccessor for both classes are now different. 

an snippet of the reply I had from Jody:

From: Jody Garnett [mailto:jody.garn...@gmail.com] 
Sent: Monday, 3 May 2010 3:36 PM
To: Wong, Derrick (CESRE, Kensington)
Cc: geotools-devel@lists.sourceforge.net
Subject: Re: [Geotools-devel] Geotool query - Differences in 
SimpleFeaturePropertyAccessor and FeaturePropertyAccessorFactory

The check of target == Geometry.class looks very ill advised (should use 
Geometry.class.isAssignableFrom( target ) for one).

I see no trouble removing the target test in the manner you described; the 
process is to submit a JIRA bug report (with a patch + test case if you want it 
acted on promptly). Chances are you know someone in your organisation who can 
apply the patch :-D



Please find attached the patch for this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] [jira] Reopened: (GEOT-3166) Build failure in docs when building in a path with spaces (if sphinx installed)

2010-07-04 Thread Ben Caradoc-Davies (JIRA)

 [ 
http://jira.codehaus.org/browse/GEOT-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Caradoc-Davies reopened GEOT-3166:
--


Oops, saw your commit log still not tested on Windows.

 Build failure in docs when building in a path with spaces (if sphinx 
 installed)
 ---

 Key: GEOT-3166
 URL: http://jira.codehaus.org/browse/GEOT-3166
 Project: GeoTools
  Issue Type: Bug
  Components: doc
Reporter: Ben Caradoc-Davies
Assignee: Jody Garnett

 Yes, docs breaks the build!
 If sphinx is available, docs are built. Build fails if building in a path 
 with spaces, presumably because of unquoted property substitution.
 {code}
 [INFO] [antrun:run {execution: compile}]
 [INFO] Executing tasks
 build:
 sphinx:
  [exec] Error: Cannot find source directory.
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] An Ant BuildException has occured: The following error occurred while 
 executing this line:
 /home/car605/geoserver/src with spaces/geotools-trunk/docs/build.xml:13: The 
 following error occurred while executing this line:
 /home/car605/geoserver/src with spaces/geotools-trunk/docs/build.xml:28: exec 
 returned: 1
 {code}
 In build.xml, what happens if ${build.directory} contains spaces?
 {code}
 arg line=-D release=${project.version} -b html -d 
 ${build.directory}/${id}/doctrees . ${build.directory}/${id}/html/
 {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel