MPXDOC-104 : fix jelly check for empty maven.xdoc.distributionUrl

Patch submitted by : Rafal Krzewski
Patch reviewed by : Lukas Theussl


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@279192 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl
2005-09-07 00:16:53 +00:00
parent 5ce8342df7
commit f26fb16cdf
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@
<!-- Only display a "Downloads" menu link if the
maven.xdoc.distributionUrl has been defined -->
<j:if test="${context.getVariable('maven.xdoc.distributionUrl') != null}">
<j:if test="${!empty(context.getVariable('maven.xdoc.distributionUrl'))}">
<item key="navigation.menu.item.downloads"
bundle="plugin-resources.templates.templates"
name="Downloads" href="/downloads.html" />

View File

@@ -39,7 +39,7 @@
property is not defined -->
<j:choose>
<j:when test="${context.getVariable('maven.xdoc.distributionUrl') == null}">
<j:when test="${empty(context.getVariable('maven.xdoc.distributionUrl'))}">
<p>
You must define the <code>maven.xdoc.distributionUrl</code>
property if you wish to generate the download report.