Generate java code in Eclipse?
Posted
by drozzy
on Stack Overflow
See other posts from Stack Overflow
or by drozzy
Published on 2010-06-02T17:44:47Z
Indexed on
2010/06/02
17:54 UTC
Read the original article
Hit count: 290
Does anyone know what approach one can take to automatically generate Java source code, from for example an xml or json file, in eclipse?
One great example of what I am thinking of doing is what Google Android sdk does: they have an R class generated automatically from the resources.
Every time a resource file is saved in Eclipse R class is automatically regenerated.
Thanks!
© Stack Overflow or respective owner