Re: [Simple-support] xjc created jaxb source from XML schema to simpleframework
Brought to you by:
niallg
|
From: Dennis B. <bij...@gm...> - 2012-12-06 10:51:32
|
Dear moonlightcheese,
The script still works, just tested on Ubuntu precise.
You may need to change the path to sed in the first line of the script.
> > #!/bin/sed -f
Change the path to where sed is on your system, or call the script with
sed (e.g. /usr/bin/sed -f ../jaxb2simple.sed [filename] > simple/[filename]).
I am not aware of other tools to generate simple-xml java from xsd either.
I get inquiries about my SED script once in a while.
Kind regards,
Dennis
* moonlightcheese <moo...@gm...> [700101 01:00]:
> did you actually test this? running:
> ../jaxb2simple.sed [filename] > simple/[filename]
> from 'generated' dir on Ubuntu Linux generates:
> : No such file or directorye
> this doesn't work at all. seems like sed is failing? no clue.
> (i know this thread is old, but there are no tools at all built for this
> purpose that i could find. you would think someone would have written
> something for Simple by now that generates classes from .xsd files, but it
> hasn't happened yet.)
|