I'm working through building a Roo project, using only the hints to guide me.
By and large this is working out OK, although there are a couple of places where I think the hints could be a little clearer.
Part of this is muddied by the fact that I'm using ctrl-space for everything, since tab-completion isn't quite working inside STS (per the Jira I filed mentioning the same).
So the instructions say:
So, I type field, and hit ctrl-space. I see --fieldName, and pick that. I type in a name for the field, and hit ctrl-space again, nothing. So I type -- and then ctrl-space, and see various field mods.To add a new field, type 'field' and then hit TAB. Be sure to select
your entity and provide a legal Java field name. Use TAB to find an entity
name, and '~' to refer to the top level package. Also remember to use TAB
to access each mandatory argument for the command.
But I don't see any option to pick my entity...no --entity flag, which is what I would expect based on how the other commands (e.g. webflow controllers) work.
I noticed that if I type entity --name XX first, before I type 'field' it seems to select the entity...but it also says "Entity XX already exists", which is a little odd....as opposed to that + "Entity XX now selected" or something like that.
From the tutorials, it looks like that is indeed the trick, but it's definitely not clear just from the hints.
Thanks! This is a lot of fun!