hi i use the archetye that maven provides.presently i'm using basic struts
and modular struts archetypes.

yes if we run mvn appguse:gen without any pojo name.it will ask us to enter 
the specific pojo name.
it iterates and find the annotated pojos but does gun gen goal on it.
correct me if i'm wrong...


Jeff MAURY wrote:
> 
> 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
> 
> 
> -----
> http://riadiscuss.blogspot.com 
> 

-- 
View this message in context: 
http://www.nabble.com/Iterating-through-a-files-using-maven-plugin-tp21598334p21617922.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to