Hi,
My advice is to first try it with the command-line tools. If that
works you can try to use the Eclipse plugin stuff.
So for check-out, this would be:
$ svn checkout
http://www.hibernatespatial.org/svn/hibernate-spatial/
trunk/hibernate-spatial hibernate-spatial
$ svn checkout
http://www.hibernatespatial.org/svn/hibernate-spatial/
trunk/hibernate-spatial-maven hibernate-spatial-maven
$ svn checkout
http://www.hibernatespatial.org/svn/hibernate-spatial/
trunk/hibernate-spatial-postgis hibernate-spatial-postgis
$ svn checkout
http://www.hibernatespatial.org/svn/hibernate-spatial/
trunk/hibernate-spatial-oracle hibernate-spatial-oracle
$ svn checkout
http://www.hibernatespatial.org/svn/hibernate-spatial/
trunk/hibernate-spatial-mysql hibernate-spatial-mysql
The second line here is crucial: it downloads the maven parent project.
To compile everything using maven
$ cd hibernate-spatial-maven
$ mvn compile
With maven you can create Eclipse projects for the modules:
$ mvn eclipse:eclipse
These can now be imported in Eclipse (File -> Import -> General ->
Existing Projects into workspace).
Hope this helps,
Karel Maesen
On 29 Sep 2008, at 15:52, Fonseca Hespanha de Oliveira, Joao da wrote:
> Dear HS users:
>
> I am doing PhD research on MDA transformations on a spatial domain
> data model, and plan to use Hibernate Spatial as part of the
> required libraries for a M2T (Model to Text) transformation. My
> research has been alternating with periods of lecturing; this is
> not good for continuity. Last year I managed to run the Tutorial
> example within Eclipse, with a connection to a PostGIS database.
> The available Ant file suffered a lot of changes in order to build
> successfully.
>
> Now I have more time to dedicate to research on this field, so I
> want to compile the binaries from source (as anonymous user). I am
> using Subclipse to connect to the repository; this works OK. Then I
> generate a new project from the repository, but the build does not
> work. Then I installed the Maven2 Integration plugin, so the
> binaries could be compiled from the POM file, but this is also not
> working; obvious reason is that I am not properly configuring the
> POM under Maven2 for Eclipse. The required jar's (Hibernate3,
> postgreSQL and PostGIS) were included in a User Library. These are
> not being recognized by Maven2.
>
> If somebody already compiled from sources under the same (overall)
> configuration, please let me know.
>
> This is my (current) platform:
>
> Windows XP Pro SP3
> Eclipse Ganymede 3.4.0 (this is the modeling bundle)
> Subclipse 1.4.4
> Maven2 Integration 0.9.7
>
> Kind Regards,
> João Paulo Hespanha
> Technical University Delft
> OTB Research Institute
> PhD Student - GiST & GIGB Sections
>
> _______________________________________________
> hibernatespatial-users mailing list
>
hibernatespatial-users@...
>
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/
> hibernatespatial-users
_______________________________________________
hibernatespatial-users mailing list
hibernatespatial-users@...
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users