Thanks, that works.

But how do I find out which directory is actually my 'conf' dir?

The following does not work:

<j:forEach var="resource" items="${pom.build.resources}">
   <j:if test="${resource.directory}.endsWith('conf')">
      <echo>Conf dir: ${resource.directory}</echo>
   </j:if>
</j:forEach>

Regards,
Gisbert

Kenney Westerhof wrote:
On Thu, 14 Apr 2005, Gisbert Amm wrote:

You would have to iterate over the resources, like so:

    <j:forEach var="resource" items="${pom.build.resources}">
      <echo>Resource dir: ${resource.directory}</echo>
    </j:forEach>

Greetings,

        Kenney Westerhof


Hello list,

I need to reference maven.conf.dir in a jelly script. However, in the
manual I read:

DEPRECATED: Currently unused. Instead, use the <resources>  element of
the POM.

How do I do that? What do I write instead of ${maven.conf.dir} in my
jelly script?

Thanks in advance for your help,
Gisbert

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



--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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


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



Reply via email to