Isn't the appfuse maven plugin supposed to loop over all annotated POJOs when included in a POM ?
Regards Jeff MAURY On Thu, Jan 22, 2009 at 1:55 PM, Martin Höller <[email protected]> wrote: > On Thursday 22 January 2009 arve wrote: > > hi, > > I run a maven task mvn appfuse:gen -Dentity=Pojo name. > > if i have 100 pojos in a folder i have to run the same command 100 times. > > Instead is there some plugin/trick whcih could iterate the same command > > with different pojo names with a single command? > > Use the shell! For example in bash it would be something like > > for POJO in $ALL_POJOs; do > mvn appfuse:gen -Dentity=$POJO; > done > > hth, > - martin > -- La mélancolie c'est communiste Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.lastfm.fr/listen/user/jeffmaury/personal Mes CDs à récupérer: http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTA&hl=en
