Hi Jelly Folks,

I want to get a java classpath into a long string sepearted by ;.
The path consists of all maven dependencies. Is there a easier/better way to
concatenate the string than this:

<j:set var="path" value="default.jar;"/>
<j:forEach var="dep" items="${pom.dependencies}">
  <j:set var="path" trim="true">                         
    ${path}${dep.artifactId};
  </j:set>                        
</j:forEach>
<echo>${path}</echo>

I just want to write good jelly code. :-)

Bye
Toby

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to