[Geoserver-devel] Help with compile/debug setup of Geoserver with ARCSDE data store

Hi Developers,

I am having a go at setting up a Geoserver compile/debug setup with Jetty
and Eclipse in order to investigate this bug
http://jira.codehaus.org/browse/GEOS-3692.

I need to set up with the ARCSDE data store extension and debug both
the Geoserver and Geotools sources.

I have followed the developers manual steps here
http://docs.geoserver.org/latest/en/developer/quickstart/index.html
and managed to get the base Geoserver (no ARCSDE extension) running
with Jetty. However here I am stuck as I don't know how build in the
ARCSDE geotools jars i.e gt-arcsde-X.jar and gt-arcsde-common-X.jar ?
I have the 2 closed source esri
jars already and I guess I just copy these to WEB-INF/lib after the build?

Also how do I configure my Eclipse Geoserver projects so that the
Geotools sources are accessible for debugging and not just the the
.jars?

FYI here is my software set up thus far:

* Maven 3.0.3
* Eclipse Helios Service Release with Maven integration
* Downloaded Geoserver trunk on 20110920(*1)
* Geotools 2.7.x source downloaded on 20110919 (*2)

(*1)I tried compiling 2.1.1 earlier but I wouldn't complile with my
Maven 3.0.3 so
I have ended up using trunk. I wanted intially to set up same sources as our
production environment with 2.1.1 and geotools 2.7.2.

(*2) I built eclipse projects and ran 'Build from Eclipse' making *.class files

Any advice would be greatly appreciated.

Andrew

Hi,

1)Register ESRI JAVA API Version 9.3 in maven repository:

mvn install:install-file -DgroupId=com.esri -DartifactId=jsde_sdk\
-Dversion=9.3 -Dfile=jsde_sdk.jar -Dpackaging=jar -DgeneratePom=true

mvn install:install-file -DgroupId=com.esri -DartifactId=jpe_sdk\
-Dversion=9.3 -Dfile=jpe_sdk.jar -Dpackaging=jar -DgeneratePom=true

2)Prepare ArcSDE plugin for eclipse import:

mvn eclipse:eclipse -Parcsde -Dsde.version=9.3

3)Build ArcSDE plugin from commandline with maven:

mvn clean install -DhaveSDEJars=true -Parcsde -Dsde.version=9.3
-Dmaven.test.skip=true -o

...this steps should also work for ESRI JAVA API 9.2 and 9.4

Mfg,
Rudi

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Help-with-compile-debug-setup-of-Geoserver-with-ARCSDE-data-store-tp6818452p6819300.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

On Thu, Sep 22, 2011 at 2:29 AM, Andrew Walsh <walsh65@anonymised.com> wrote:

Hi Developers,

I am having a go at setting up a Geoserver compile/debug setup with Jetty
and Eclipse in order to investigate this bug
http://jira.codehaus.org/browse/GEOS-3692.

I need to set up with the ARCSDE data store extension and debug both
the Geoserver and Geotools sources.

I have followed the developers manual steps here
http://docs.geoserver.org/latest/en/developer/quickstart/index.html
and managed to get the base Geoserver (no ARCSDE extension) running
with Jetty. However here I am stuck as I don't know how build in the
ARCSDE geotools jars i.e gt-arcsde-X.jar and gt-arcsde-common-X.jar ?
I have the 2 closed source esri
jars already and I guess I just copy these to WEB-INF/lib after the build?

Also how do I configure my Eclipse Geoserver projects so that the
Geotools sources are accessible for debugging and not just the the
.jars?

FYI here is my software set up thus far:

* Maven 3.0.3
* Eclipse Helios Service Release with Maven integration
* Downloaded Geoserver trunk on 20110920(*1)
* Geotools 2.7.x source downloaded on 20110919 (*2)

Two quick notes:
- the officially supported maven version is still 2.1.x, there
  was some work towards compatibility with maven 3 but
  that never concluded in an official change proposal
- GeoServer trunk uses GeoTools trunk, not 2.7.x

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

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

Hi all,

I have a dataset that is currently in GDA94, with the following bounds:
<BoundingBox CRS="EPSG:4283" minx="-16.0" miny="126.0" maxx="-11.095" maxy="129.0"/>

When trying for a getMap request with EPSG:4326, all I get is a black box.

If I reproject this using GDAL to 4326, it displays fine.

I have tested it with other 4283 datasets and they reproject fine.

Could someone kindly assist?

Thank you in advance.

Derrick Wong
Senior Programmer / Software Engineer | CSIRO

+61 8 6436 8945
derrick.wong@anonymised.com | www.csiro.au
26 Dick Perry Avenue, Kensington WA 6151, Australia

PLEASE NOTE
The information contained in this email may be confidential or privileged. Any unauthorised use or disclosure is prohibited. If you have received this email in error, please delete it immediately and notify the sender by return email. Thank you. To the extent permitted by law, CSIRO does not represent, warrant and/or guarantee that the integrity of this communication has been maintained or that the communication is free of errors, virus, interception or interference.
Please consider the environment before printing this email.

On Thu, Sep 22, 2011 at 11:10 AM, <Derrick.Wong@anonymised.com> wrote:

Hi all,

I have a dataset that is currently in GDA94, with the following bounds:
<BoundingBox CRS="EPSG:4283" minx="-16.0" miny="126.0" maxx="-11.095" maxy="129.0"/>

When trying for a getMap request with EPSG:4326, all I get is a black box.

If I reproject this using GDAL to 4326, it displays fine.

I have tested it with other 4283 datasets and they reproject fine.

Could someone kindly assist?

First off, try out the latest 2.1.x nightly build and see if the
problem is still there:
http://gridlock.opengeo.org/geoserver/2.1.x/

If it is, open a bug report on jira.codehaus.org, attaching the data
(or linking to a
location where it can be downloaded) and including the WMS request that fails

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

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

Hello Rudi/Developers,

Thank you for your instructions. I had finally got a chance to try
this but its not working yet.
I manage to get a geoserver 2.1.1 source tagged
version running from with Eclipse/Jetty but which I click new data
store no ARCSDE
vector stores showed up.

Here were my environment and steps I followed:

Windows 7 64bit with jdk 1.6.0_23
Maven 2.2.1 and Eclipse Helios service release 2
This PC isn't connected to an Oracle-SDE-ARCSDE instance but that shouldn't
stop the arcSDE store from presenting itself in the browser.

Steps:

1) Check out
svn co http://svn.codehaus.org/geoserver/tags/2.1.1 geoserver
(got revison no. 16465)

2) Install the esri jars to the maven .m2/repository/com/esri/* and
make the poms
mvn install:install-file -DgroupId=com.esri -DartifactId=jsde_sdk
-Dversion=9.3 -Dfile=jsde_sdk.jar -Dpackaging=jar -DgeneratePom=true

mvn install:install-file -DgroupId=com.esri -DartifactId=jpe_sdk
-Dversion=9.3 -Dfile=jpe_sdk.jar -Dpackaging=jar -DgeneratePom=true

3) Was missing config-2.1.1.jar so installed into the maven repository

mvn install:install-file -DgroupId=org.geoserver.maven
-DartifactId=config -Dversion=2.1.1 -Dpackaging=maven-plugin
-Dfile=config-2.1.1.jar

4) Build Geoserver + ArcSDE plugin from command line with maven:

from geoserver/src I run:

*mvn clean install -DhaveSDEJars=true -Parcsde -Dsde.version=9.3
-Dmaven.test.skip=true > geoserver_build.log 2>&1

(Don't understand what the '-DhaveSDEjars' parameter does?, can't see
'haveSDEjars'
in any of the pom.xml files)

5) Build eclipse project files and add ArcSDE plugin project specify
the sde version

from geoserver/src I run:

mvn eclipse:eclipse -Parcsde -Dsde.version=9.3 > eclipse_build.log 2>&1

6) Import modules into Eclipse (*Note except wcs1_1)
Right-click in the Package Explorer and click Import...

*Note: wcs1_1 - had several Java problems on import
There were several errors in
/wcs1_1/src/main/java/org/geoserver/wcs/kvp/RangeSubsetKvpParser.java
saying that
'ASTAxisId, ASTAxisSubset etc. etc. cannot be resolved to a type.
Geoserver wouldn't start properly with this module so I left it out of
the import in order
to get Geoserver running.

There were there still some error on importing and some projects did
not build properly but these project seem unrelated to core geoserver
app. See file attached eclipseConsoleErr.xls.

Above steps seemed to do the right thing arcsde wise, making arcsde-2.1.1.jar
and gt-arcsde-2.7.2.jar, gt-arcsde-common-2.7.2.jar

7) Finally copy esri jars from maven repository to
/src/web/app/target/geoserver/WEB-INF/lib

copy jpe_sdk-9.3.jar, jsde_sdk_9.3.jar /src/web/app/target/geoserver/WEB-INF/lib

I then should have all the necessary jars to run the arcSDE extension.

8) Ran GeoServer from Eclipse

From package explorer select web-app/src/test/java/org.geoserver/Start.java

Right-click the Start.java and navigate to Run as-> Java Application

9) Check if ARCSDE store comes up

Geoserver started (with some errors but basics working)
Logged in as admin->Stores->Add a new Store and "arcSDE 9.2+ Vector Store"
not on list, sigh -:slight_smile:

Am I missing something or something wrong with commands/typing?

Thanks and Regards,

Andrew

PS: I do notice there is a sdeLibs profile in the arcsde module
pom.xml. That profile
depends on the 2 ersi .jars and a ${sde.version}. Are we supposed to
specify that
profile in the build or are we doing that already by specifying:

-DhaveSDEJars=true -Parcsde -Dsde.version=9.3

in the main geoserver or eclipse project builds?

On 9/22/11, Rudolf <rudolf.hochmeister@anonymised.com> wrote:

Hi,

1)Register ESRI JAVA API Version 9.3 in maven repository:

mvn install:install-file -DgroupId=com.esri -DartifactId=jsde_sdk\
-Dversion=9.3 -Dfile=jsde_sdk.jar -Dpackaging=jar -DgeneratePom=true

mvn install:install-file -DgroupId=com.esri -DartifactId=jpe_sdk\
-Dversion=9.3 -Dfile=jpe_sdk.jar -Dpackaging=jar -DgeneratePom=true

2)Prepare ArcSDE plugin for eclipse import:

mvn eclipse:eclipse -Parcsde -Dsde.version=9.3

3)Build ArcSDE plugin from commandline with maven:

mvn clean install -DhaveSDEJars=true -Parcsde -Dsde.version=9.3
-Dmaven.test.skip=true -o

...this steps should also work for ESRI JAVA API 9.2 and 9.4

Mfg,
Rudi

--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Help-with-compile-debug-setup-of-Geoserver-with-ARCSDE-data-store-tp6818452p6819300.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

(attachments)

eclipseConsoleErr.xls (14.5 KB)

To build geoserver with arcsde support you don't need the haveSDEJars
flag nor need to copy the esri jars to targe/gesoserver/WEB-INF/lib.

Just do:
mvn eclipse:eclipse -Parcsde,sdeLibs -Dsde.version=9.3

Then refresh your eclipse workspace. If you don't have the geoserver
arcsde extension loaded you'll get a missing dependency error on the
web-app module. Import extensions/arcsde to eclipse and that should be
it.

Hope that helps,
Gabriel

On Mon, Oct 24, 2011 at 8:16 AM, Andrew Walsh <walsh65@anonymised.com> wrote:

Hello Rudi/Developers,

Thank you for your instructions. I had finally got a chance to try
this but its not working yet.
I manage to get a geoserver 2.1.1 source tagged
version running from with Eclipse/Jetty but which I click new data
store no ARCSDE
vector stores showed up.

Here were my environment and steps I followed:

Windows 7 64bit with jdk 1.6.0_23
Maven 2.2.1 and Eclipse Helios service release 2
This PC isn't connected to an Oracle-SDE-ARCSDE instance but that shouldn't
stop the arcSDE store from presenting itself in the browser.

Steps:

1) Check out
svn co http://svn.codehaus.org/geoserver/tags/2.1.1 geoserver
(got revison no. 16465)

2) Install the esri jars to the maven .m2/repository/com/esri/* and
make the poms
mvn install:install-file -DgroupId=com.esri -DartifactId=jsde_sdk
-Dversion=9.3 -Dfile=jsde_sdk.jar -Dpackaging=jar -DgeneratePom=true

mvn install:install-file -DgroupId=com.esri -DartifactId=jpe_sdk
-Dversion=9.3 -Dfile=jpe_sdk.jar -Dpackaging=jar -DgeneratePom=true

3) Was missing config-2.1.1.jar so installed into the maven repository

mvn install:install-file -DgroupId=org.geoserver.maven
-DartifactId=config -Dversion=2.1.1 -Dpackaging=maven-plugin
-Dfile=config-2.1.1.jar

4) Build Geoserver + ArcSDE plugin from command line with maven:

from geoserver/src I run:

*mvn clean install -DhaveSDEJars=true -Parcsde -Dsde.version=9.3
-Dmaven.test.skip=true > geoserver_build.log 2>&1

(Don't understand what the '-DhaveSDEjars' parameter does?, can't see
'haveSDEjars'
in any of the pom.xml files)

5) Build eclipse project files and add ArcSDE plugin project specify
the sde version

from geoserver/src I run:

mvn eclipse:eclipse -Parcsde -Dsde.version=9.3 > eclipse_build.log 2>&1

6) Import modules into Eclipse (*Note except wcs1_1)
Right-click in the Package Explorer and click Import...

*Note: wcs1_1 - had several Java problems on import
There were several errors in
/wcs1_1/src/main/java/org/geoserver/wcs/kvp/RangeSubsetKvpParser.java
saying that
'ASTAxisId, ASTAxisSubset etc. etc. cannot be resolved to a type.
Geoserver wouldn't start properly with this module so I left it out of
the import in order
to get Geoserver running.

There were there still some error on importing and some projects did
not build properly but these project seem unrelated to core geoserver
app. See file attached eclipseConsoleErr.xls.

Above steps seemed to do the right thing arcsde wise, making arcsde-2.1.1.jar
and gt-arcsde-2.7.2.jar, gt-arcsde-common-2.7.2.jar

7) Finally copy esri jars from maven repository to
/src/web/app/target/geoserver/WEB-INF/lib

copy jpe_sdk-9.3.jar, jsde_sdk_9.3.jar /src/web/app/target/geoserver/WEB-INF/lib

I then should have all the necessary jars to run the arcSDE extension.

8) Ran GeoServer from Eclipse

>From package explorer select web-app/src/test/java/org.geoserver/Start.java
Right-click the Start.java and navigate to Run as-> Java Application

9) Check if ARCSDE store comes up

Geoserver started (with some errors but basics working)
Logged in as admin->Stores->Add a new Store and "arcSDE 9.2+ Vector Store"
not on list, sigh -:slight_smile:

Am I missing something or something wrong with commands/typing?

Thanks and Regards,

Andrew

PS: I do notice there is a sdeLibs profile in the arcsde module
pom.xml. That profile
depends on the 2 ersi .jars and a ${sde.version}. Are we supposed to
specify that
profile in the build or are we doing that already by specifying:

-DhaveSDEJars=true -Parcsde -Dsde.version=9.3

in the main geoserver or eclipse project builds?

On 9/22/11, Rudolf <rudolf.hochmeister@anonymised.com> wrote:

Hi,

1)Register ESRI JAVA API Version 9.3 in maven repository:

mvn install:install-file -DgroupId=com.esri -DartifactId=jsde_sdk\
-Dversion=9.3 -Dfile=jsde_sdk.jar -Dpackaging=jar -DgeneratePom=true

mvn install:install-file -DgroupId=com.esri -DartifactId=jpe_sdk\
-Dversion=9.3 -Dfile=jpe_sdk.jar -Dpackaging=jar -DgeneratePom=true

2)Prepare ArcSDE plugin for eclipse import:

mvn eclipse:eclipse -Parcsde -Dsde.version=9.3

3)Build ArcSDE plugin from commandline with maven:

mvn clean install -DhaveSDEJars=true -Parcsde -Dsde.version=9.3
-Dmaven.test.skip=true -o

...this steps should also work for ESRI JAVA API 9.2 and 9.4

Mfg,
Rudi

--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Help-with-compile-debug-setup-of-Geoserver-with-ARCSDE-data-store-tp6818452p6819300.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@anonymised.com Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi,

wow that's very much info in one single message :wink:

1) The -DhaveSDEJars=true switch tells maven to not use the sde-dummy-libs,
but use the real SDE java-libs
2) If maven compiles the arcsde-libs without errors, then they should be ok.
Does it compile without errors?
3) Your Dependency-Errors occur outside of the arcsde-plugin, maybe they
have some side effects on arcsde-plugin
4) Running/debugging geoserver in eclipse. Try to add the arcsde-plugins and
sde-jars to the classpath of geoserver web-app project with "Configure Build
Path". If you can see them in 'Referenced Libraries', Arcsde Datastore
should also be visible in geoserver.
5)I always declare -Dsde.version=9.x in maven eclipse:eclipse AND maven
install, just to be sure to use the right version. Maybe it falls back to a
default value, if omited - but I don't know.
6)incr3ase geoserver log level for more infos.

cheers,
Rudi

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Help-with-compile-debug-setup-of-Geoserver-with-ARCSDE-data-store-tp6818452p6924849.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

In addition to Gabriel’s post I’d like to add, that the dependencies have to be deployed (deploy:deploy-file to your local or your remote maven repository by using the following groupId’s and artifactId’s

com.esri jsde_sdk ${sde.version} com.esri jpe_sdk ${sde.version}

In case you are working with service packs (9.3. SP1) I would recommend to deploy these under version 9.3.0.1 for SP1 and 9.0.3.2 for SP2 don’t, this because of the official 9.3.1 release, which can be patched as well :wink:

-Frank

2011/10/24 Gabriel Roldan <groldan@anonymised.com>:

To build geoserver with arcsde support you don’t need the haveSDEJars
flag nor need to copy the esri jars to targe/gesoserver/WEB-INF/lib.

Just do:
mvn eclipse:eclipse -Parcsde,sdeLibs -Dsde.version=9.3

Then refresh your eclipse workspace. If you don’t have the geoserver
arcsde extension loaded you’ll get a missing dependency error on the
web-app module. Import extensions/arcsde to eclipse and that should be
it.

Hope that helps,
Gabriel

On Mon, Oct 24, 2011 at 8:16 AM, Andrew Walsh <walsh65@anonymised.com> wrote:

Hello Rudi/Developers,

Thank you for your instructions. I had finally got a chance to try
this but its not working yet.
I manage to get a geoserver 2.1.1 source tagged
version running from with Eclipse/Jetty but which I click new data
store no ARCSDE
vector stores showed up.

Here were my environment and steps I followed:

Windows 7 64bit with jdk 1.6.0_23
Maven 2.2.1 and Eclipse Helios service release 2
This PC isn’t connected to an Oracle-SDE-ARCSDE instance but that shouldn’t
stop the arcSDE store from presenting itself in the browser.

Steps:

  1. Check out
    svn co http://svn.codehaus.org/geoserver/tags/2.1.1 geoserver
    (got revison no. 16465)

  2. Install the esri jars to the maven .m2/repository/com/esri/* and
    make the poms
    mvn install:install-file -DgroupId=com.esri -DartifactId=jsde_sdk
    -Dversion=9.3 -Dfile=jsde_sdk.jar -Dpackaging=jar -DgeneratePom=true

mvn install:install-file -DgroupId=com.esri -DartifactId=jpe_sdk
-Dversion=9.3 -Dfile=jpe_sdk.jar -Dpackaging=jar -DgeneratePom=true

  1. Was missing config-2.1.1.jar so installed into the maven repository

mvn install:install-file -DgroupId=org.geoserver.maven
-DartifactId=config -Dversion=2.1.1 -Dpackaging=maven-plugin
-Dfile=config-2.1.1.jar

  1. Build Geoserver + ArcSDE plugin from command line with maven:

from geoserver/src I run:

*mvn clean install -DhaveSDEJars=true -Parcsde -Dsde.version=9.3
-Dmaven.test.skip=true > geoserver_build.log 2>&1

(Don’t understand what the ‘-DhaveSDEjars’ parameter does?, can’t see
‘haveSDEjars’
in any of the pom.xml files)

  1. Build eclipse project files and add ArcSDE plugin project specify
    the sde version

from geoserver/src I run:

mvn eclipse:eclipse -Parcsde -Dsde.version=9.3 > eclipse_build.log 2>&1

  1. Import modules into Eclipse (*Note except wcs1_1)
    Right-click in the Package Explorer and click Import…

*Note: wcs1_1 - had several Java problems on import
There were several errors in
/wcs1_1/src/main/java/org/geoserver/wcs/kvp/RangeSubsetKvpParser.java
saying that
'ASTAxisId, ASTAxisSubset etc. etc. cannot be resolved to a type.
Geoserver wouldn’t start properly with this module so I left it out of
the import in order
to get Geoserver running.

There were there still some error on importing and some projects did
not build properly but these project seem unrelated to core geoserver
app. See file attached eclipseConsoleErr.xls.

Above steps seemed to do the right thing arcsde wise, making arcsde-2.1.1.jar
and gt-arcsde-2.7.2.jar, gt-arcsde-common-2.7.2.jar

  1. Finally copy esri jars from maven repository to
    /src/web/app/target/geoserver/WEB-INF/lib

copy jpe_sdk-9.3.jar, jsde_sdk_9.3.jar /src/web/app/target/geoserver/WEB-INF/lib

I then should have all the necessary jars to run the arcSDE extension.

  1. Ran GeoServer from Eclipse

From package explorer select web-app/src/test/java/org.geoserver/Start.java
Right-click the Start.java and navigate to Run as-> Java Application

  1. Check if ARCSDE store comes up

Geoserver started (with some errors but basics working)
Logged in as admin->Stores->Add a new Store and “arcSDE 9.2+ Vector Store”
not on list, sigh -:slight_smile:

Am I missing something or something wrong with commands/typing?

Thanks and Regards,

Andrew

PS: I do notice there is a sdeLibs profile in the arcsde module
pom.xml. That profile
depends on the 2 ersi .jars and a ${sde.version}. Are we supposed to
specify that
profile in the build or are we doing that already by specifying:

-DhaveSDEJars=true -Parcsde -Dsde.version=9.3

in the main geoserver or eclipse project builds?

On 9/22/11, Rudolf <rudolf.hochmeister@anonymised.com> wrote:

Hi,

1)Register ESRI JAVA API Version 9.3 in maven repository:

mvn install:install-file -DgroupId=com.esri -DartifactId=jsde_sdk
-Dversion=9.3 -Dfile=jsde_sdk.jar -Dpackaging=jar -DgeneratePom=true

mvn install:install-file -DgroupId=com.esri -DartifactId=jpe_sdk
-Dversion=9.3 -Dfile=jpe_sdk.jar -Dpackaging=jar -DgeneratePom=true

2)Prepare ArcSDE plugin for eclipse import:

mvn eclipse:eclipse -Parcsde -Dsde.version=9.3

3)Build ArcSDE plugin from commandline with maven:

mvn clean install -DhaveSDEJars=true -Parcsde -Dsde.version=9.3
-Dmaven.test.skip=true -o

…this steps should also work for ESRI JAVA API 9.2 and 9.4

Mfg,
Rudi


View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Help-with-compile-debug-setup-of-Geoserver-with-ARCSDE-data-store-tp6818452p6819300.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.


All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1


Geoserver-devel mailing list
Geoserver-devel@anonymised.comists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@anonymised.com Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.


The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@anonymised.com Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel