On Sun, Jun 19, 2011 at 2:58 AM, Jose Macchi <[email protected]> wrote:
> I guess the easiest approach is to follow the  imageio-ext lead:
> you just have to find some site that would host your files.
> Sourceforge could be a hosting platform for the natives for example.
>
>
> About sourceforge, i'm agree to use it as a place where to place
> native/compiled files. Do you have currently any other place you usually use
> ?

imageio-ext is here: http://java.net/projects/imageio-ext/
The native libraries are here:
http://java.net/projects/imageio-ext/downloads/directory/Releases/Dependencies/GDAL/NativeLibraries/1.7.3

> About testing data, i'm agree that it's not nice to upload big files into
> SVN. In that case we can manage an initialization process  when executing
> maven tests, that would generate testing databases for comparation using
> data located at data folder.
> My question was related to let us know how do you manage that, and if you
> can clarify what is the way you currently manage that
> If you have some documented guide or reference that defines it under
> geoserver environment, it will be welcomed.

I don't think we have documentation on this.
I also pretty much explained what we do testing wise in my previous mail.
"manage" is a very generic term, can you provide an example of what is not
clear?

> I understand this, and i'm totally agree.
> Dont worry....we are not going to upload 1GB of testing data :-).
> Data folder is where we would check for example information ? (so, we can
> use those example files in order to generate our own databases, without need
> to add more testing data).

The testing data set is here:
http://svn.codehaus.org/geoserver/trunk/src/main/src/test/java/org/geoserver/data/test/

The data is already available in the catalog during tests if you
extend the GeoServerTestSupport
class.  The many property files are a clone of the official OGC test
data and are already
used by many modules, when doing tests try to use them, and if you
really cannot find
a data set that suits your need, you can create a new one, possibly
again as a property file,
possibly with only 5-10 features in it.

All tests that requires specific context, such as a database, a remote server,
a specific native library first check if the context is available, if
it is they run,
otherwise they exit immediately warning that the test was not run
because of lack of some necessary component.
Have a look at the tests in the wfsv extension module for example.

> Main reason when you use a SVN is to have a complete, replicable and
> versionable way to allow developers/team to access easily artifacts related
> to development and project (that includes documentation, tests, databases,
> necessary binary files, like images,excels files if used, docs, etc etc
> etc).

Yep, I've seen places doing that in the past, the svn server eventually became
slow/un-manageable and people eventually drop out of that scheme.
It also works fine just in a mostly local development setup where everybody has
access to a fast connection to the server, and people can coordinate on who
works on this or that binary file (ever had a conflict on a binary
one? not pleasant).

GeoServer is developed across also all time zones (we just miss someone in
Hawaii I guess) so that kind of coordination is not possible, and not everybody
develops from a high speed connection (even those in western countries having
good connection at work will flip trying to download those 50MB
from a UMTS dongle on a train or over a airport Wifi)

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to