I updated it; it works now.

Do we have an example with EMF?

-- 
Jody Garnett

On Monday, 11 April 2011 at 5:19 AM, Justin Deoliveira wrote: 
> Yeah I am wondering if this documentation is even worth keeping... that 
> tutorial is quite out of date now and it's not like it is a common task. And 
> when people do generate bindings it seems that going with emf is the norm.
> 
> On Sun, Apr 10, 2011 at 2:19 AM, Jody Garnett <[email protected]> wrote:
> > Hi Justin:
> > 
> > The xml docs are up on the website now; I have going through your binding 
> > tutorial and having a hard time updating it to use any version of jaxb to 
> > generate beans. In my research I also note that they link to 
> > http://java.net/projects/ogc/ as a worst case scenario; I was not aware 
> > someone had thrown jaxb at the OGC schemas yet. 
> > 
> > I am making a bit of progress; got jaxb to generate java beans; and have 
> > even managed to get the code generator to turn over. It is throwing up a 
> > warning problem copying the po.xsd file over, it seems to have applied the 
> > target package name (probably a change that was applied to allow us to ship 
> > the schema with the schema file?) 
> > 
> > Apr 10, 2011 6:13:10 PM org.geotools.maven.xmlcodegen.BindingGenerator 
> > generate
> > WARNING: Could not copy file 
> > /Users/jody/java/geotools/xml-po/src/main/resources/po.xsd
> > java.io.FileNotFoundException: 
> > /Users/jody/java/geotools/xml-po/src/main/resources/org/geotools/po/bindings/po.xsd
> >  (No such file or directory)
> > at java.io.FileOutputStream.open(Native Method)
> > at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> > at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
> > at 
> > org.geotools.maven.xmlcodegen.AbstractGenerator.copy(AbstractGenerator.java:223)
> > at 
> > org.geotools.maven.xmlcodegen.BindingGenerator.generate(BindingGenerator.java:214)
> > at 
> > org.geotools.maven.xmlcodegen.BindingGeneratorMojo.execute(BindingGeneratorMojo.java:223)
> > 
> > Can I ignore this warning? I cannot seem to make it go away using the 
> > connection parameters...
> > 
> > -- 
> > Jody Garnett
> > 
> > 
> 
> 
> -- 
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
> 
> 
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to