The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Wed, 26 Nov 2003 1:34 AM
       Body:
Hi Archimedes,

Hehe, jelly is a bit hard initially. However you can always have a look in the 
plugin.jelly files that you have on your computer (they are in [user home 
dir]/.maven/plugins.

Here is how you should do the test:

<j:if test="${context.getVariable('maven.jboss.version') == '3.0'}"> 

Ideally you should be able to write:

<j:if test="${maven.jboss.version == '3.0'}"> 

However, Jelly (or rather Jexl) doesn't like dot ('.') in property names. It thinks 
we're asking for maven.getJBoss().getVersion()... Hence the reason for the 
context.getVariable. Another solution is:

<j:set var="version" value="${maven.jboss.version}"/>
j:if test="${version == '3.0'}">


---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJBOSS-3


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJBOSS-3
    Summary: jboss 3.2 JXM deploy/undeploy URL is slightly different from what's in 
jboss plugin project.properties
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jboss-plugin
   Fix Fors:
             1.4
   Versions:
             1.3

   Assignee: 
   Reporter: Dima Berastau

    Created: Tue, 1 Jul 2003 3:53 AM
    Updated: Wed, 26 Nov 2003 1:34 AM

Description:
default maven.jboss.jmx.url.deploy and maven.jboss.jmx.url.undeploy seem to be missing 
0 at the end (should read 'arg0=' rather than 'arg=', tested in jboss 3.2).


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to