Although the bug still exists, adding targetPath solved my problem with the idea plugin btw:

            <resource>
                <directory>${basedir}/src/resources</directory>
<targetPath></targetPath><!-- It should be '' instead of null (default) for the idea 1.6 plugin -->
            </resource>

Geoffrey wrote:
Try the following line in jelly:
<echo>0${res.targetPath}0 0${res.targetPath == ''}0</echo>
My output was:
[echo] 00 0false0

So the string is empty but still it's not equal to empty.
Must be a null != empty bug, but is this possible in Jelly?
It wasn't before, because it breaks backwards compability with maven 1.0.2:

For example (partly taken from the idea plugin, which doesn't work properly in m1.1-b2):
<j:forEach var="res" items="${pom.build.resources}">
  <echo>0${res.targetPath}0 0${res.targetPath == ''}0</echo>
  <j:if test="${res.includes.isEmpty() and res.targetPath == ''}">
    <echo>Normally the resources would be have been added here</echo>
    ...
  </j:if>
</j:forEach>



--
With kind regards,
Geoffrey De Smet


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

Reply via email to