Hi,

I'm stuck on some apparently simpe jelly code. I need a pair of external
eyes to help me out! :-). Here's the code:


    <define:tag name="issueurl">
[...]

      <j:useBean var="finder" 
          class="org.apache.maven.issuetracker.IssueFinder"/>

      <it:property var="type" property="maven.issuetracker.type"/>
      <it:property var="template"
property="maven.issuetracker.template.${type}"/>
      <j:set var="issueTrackingUrl" value="${pom.issueTrackingUrl}"/>

<echo>type = ${type}</echo>
<echo>issuetrackingurl = ${issueTrackingUrl}</echo>
<echo>template = ${template}</echo>

<echo>${finder.getIssueURL(issueTrackingUrl,issue,template)}</echo>

where it:property is a tag that looks for the property in the pom
context first and then in the plugin context if not found. 

In any case the first 3 echos give the right value.

However, the call to getIssue is not made (I have some
System.out.println in there). If I change the last echo to:

<echo>${finder.getIssueURL(issueTrackingUrl,issue,'whatever')}</echo>

the call is made correctly...

Any idea?

Thanks
-Vincent


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

Reply via email to