You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by An...@nokia.com on 2004/06/25 07:18:36 UTC

comma seperated value in project.properties

Hi,
 
is it possible to have a comma seperated value in the project.properties, and iterate over it in a goal definition, something like j:forEach?

Andreas Ebbert 
   Software Design Engineer - Nokia Networks OSS 
   gsm: +49-177-9413928, fax: +49-211-94123838 
   Heltorfer Straße 1, 40472 Düsseldorf, Germany

 

RE: comma seperated value in project.properties

Posted by Chuck Daniels <cj...@yahoo.com>.
Yes.  Use the util:tokenize jelly tag to create a list from the
comma-separated property value.  Then you can iterate over the list using
j:forEach.  There are plenty of examples throughout the plugins.  Search
your plugin.jelly files.

> -----Original Message-----
> From: Andreas.Ebbert@nokia.com [mailto:Andreas.Ebbert@nokia.com]
> Sent: Friday, June 25, 2004 6:19 AM
> To: users@maven.apache.org
> Subject: comma seperated value in project.properties
>
>
> Hi,
>
> is it possible to have a comma seperated value in the
> project.properties, and iterate over it in a goal definition,
> something like j:forEach?
>
> Andreas Ebbert
>    Software Design Engineer - Nokia Networks OSS
>    gsm: +49-177-9413928, fax: +49-211-94123838
>    Heltorfer Straße 1, 40472 Düsseldorf, Germany
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org