[Geoserver-devel] What's the status of OWS bindings?

Hi,
today I was setting up to generate once again the WCS bindings
for WCS 1.1 but I find myself a little in trouble due to lack
of information.

The plan is that I should try to reuse the OWS model and bindings
and only generate an WCS 1.1 model and bindings. Now, the OWS bindings
are in gt2 trunk, extension/xsd/ows, but I can't find the model.
The dependency is against a net.opengis/ows module which looks like
the one on geoserver trunk, but has been put in a different groupId
and possibly updated somhow to cope with ows 1.1. I say possibly
because I don't see it source anywhere (and judging from the
groupId it's not part of either geoserver or geotools)... soo,
since I need the EMF model, and that one is not included in
the jar itself, where can I locate it?

Second question is about reflective EMF bindings. I see that the
bindings in the OWS module do use that support: cool, less
code to write :slight_smile: I also noticed more changes to the binding
generator so I was wondering if there is anything I could
use that makes binding generation (and their tests) easier,
faster or anyways better.

In the meantime, I'm back bug fixing rc2.

Cheers
Andrea

Andrea Aime wrote:

Hi,
today I was setting up to generate once again the WCS bindings
for WCS 1.1 but I find myself a little in trouble due to lack
of information.

The plan is that I should try to reuse the OWS model and bindings
and only generate an WCS 1.1 model and bindings. Now, the OWS bindings
are in gt2 trunk, extension/xsd/ows, but I can't find the model.
The dependency is against a net.opengis/ows module which looks like
the one on geoserver trunk, but has been put in a different groupId
and possibly updated somhow to cope with ows 1.1. I say possibly
because I don't see it source anywhere (and judging from the
groupId it's not part of either geoserver or geotools)... soo,
since I need the EMF model, and that one is not included in
the jar itself, where can I locate it?

This is me trying to get around storing the model in geotools svn as i
did not have permission for that yet. I also wanted to avoid a
dependency from geotools on geoserver. So what I did was I took the
geoserver model and changed the pom to specify a different artifact and
group id. And then deployed that model to the refractions maven
repository. I have the modified pom in my workspace, its commed
pom-distrib.xml. I should commit it. Then if you want the ows bindings
to work against source you should be able to set it up as so.

Second question is about reflective EMF bindings. I see that the
bindings in the OWS module do use that support: cool, less
code to write :slight_smile: I also noticed more changes to the binding
generator so I was wondering if there is anything I could
use that makes binding generation (and their tests) easier,
faster or anyways better.

Well actually i recently added support for generating test cases for
bindings as well as the binding classes themselves. There is now an
option called "generateTests" which if set to true will generate binding
tests cases.

In the meantime, I'm back bug fixing rc2.

Cheers
Andrea

!DSPAM:4007,47455cc4178293668746562!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Justin Deoliveira ha scritto:

Andrea Aime wrote:

Hi,
today I was setting up to generate once again the WCS bindings
for WCS 1.1 but I find myself a little in trouble due to lack
of information.

The plan is that I should try to reuse the OWS model and bindings
and only generate an WCS 1.1 model and bindings. Now, the OWS bindings
are in gt2 trunk, extension/xsd/ows, but I can't find the model.
The dependency is against a net.opengis/ows module which looks like
the one on geoserver trunk, but has been put in a different groupId
and possibly updated somhow to cope with ows 1.1. I say possibly
because I don't see it source anywhere (and judging from the
groupId it's not part of either geoserver or geotools)... soo,
since I need the EMF model, and that one is not included in
the jar itself, where can I locate it?

This is me trying to get around storing the model in geotools svn as i
did not have permission for that yet. I also wanted to avoid a
dependency from geotools on geoserver. So what I did was I took the
geoserver model and changed the pom to specify a different artifact and
group id. And then deployed that model to the refractions maven
repository. I have the modified pom in my workspace, its commed
pom-distrib.xml. I should commit it. Then if you want the ows bindings
to work against source you should be able to set it up as so.

Ah ha, so if I take the net.opengis.ows module in geoserver
I'm good. Nice to know.

Second question is about reflective EMF bindings. I see that the
bindings in the OWS module do use that support: cool, less
code to write :slight_smile: I also noticed more changes to the binding
generator so I was wondering if there is anything I could
use that makes binding generation (and their tests) easier,
faster or anyways better.

Well actually i recently added support for generating test cases for
bindings as well as the binding classes themselves. There is now an
option called "generateTests" which if set to true will generate binding
tests cases.

Nice. Have you used it anywhere? (curious to see how the unit tests
are implemented for good).

Cheers
Andrea

Nice. Have you used it anywhere? (curious to see how the unit tests
are implemented for good).

Yeah... although i am not 100% sure where :). I think it was in the
xsd/wfs module.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:4007,4745981a254821431913854!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org