commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@codehaus.org
Subject [jira] Closed: (JELLY-4) import tag with inherit="true" does not inherit properties
Date Mon, 23 Jun 2003 02:26:59 GMT
Message:

   The following issue has been closed.

   Resolver: peter royal
       Date: Sun, 22 Jun 2003 9:25 PM

No response to James' query 8 months ago, closing until further information is available.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=JELLY-4


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-4
    Summary: import tag with inherit="true" does not inherit properties
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: CANNOT REPRODUCE

 Time Spent: Unknown
   Estimate: Unknown

    Project: jelly
 Components: 
             taglib.core

   Assignee: peter royal
   Reporter: Peter Lynch

    Created: Sat, 17 Aug 2002 10:11 PM
    Updated: Sun, 22 Jun 2003 9:25 PM
Environment: Win 2000, JDK 1.4 Jikes 1.5

Description:
Using the following scenario, I could not reference variables in an imported jelly script.

Using maven, my main plugin.jelly contained

  <j:import inherit="true" uri="apache-2.x.jelly" />

my apache-2.x.jelly file contains statements like:

  <goal name="webserver:apache-2.x-reqs">

  <!-- some debug statements -->
  <j:expr value="${maven.webserver.conf.dir}"/>
  ${maven.webserver.conf.dir}
  ${maven.webserver.name}
  ${maven.webserver.version}

    <!-- Check if user has http.conf in a conf dir -->
    <available file="${maven.webserver.conf.dir}/conf/httpd.conf"
      type="file"  property="maven.webserver.apache2x.has.conf"
      value="true" />

    <fail unless="${maven.webserver.apache2x.has.conf}">
To use this webserver, you must have a project specific
configuration file at the following location:
<j:expr value="${maven.webserver.conf.dir}"/>/conf/httpd.conf
    </fail>

</goal>


When call that goal there are no parsing errors but I see the following unexpected result:


aven webserver:install
 __  __
|  \/  |__ Jakarta _ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|   v. 1.0-b5-dev

Appiant Engineering (engweb) 0.1alpha
G:\cygwin\home\plynch\dev\appiant\engweb


Maven has determined your apache-2.x webserver instance is installed in directory [server]
and started on http://localhost:4000/index.html
    
webserver:init:

webserver:install:
webserver:apache-2.x-reqs:

  
  
  
    
    
[ERROR] BUILD FAILED
[ERROR] File...... file:/G:/cygwin/app/maven/home/plugins/maven-webserver-plugin-1.0/apache-2.x.jelly
[ERROR] Element... fail
[ERROR] Line...... 18
[ERROR] Column.... 57
[ERROR] To use this webserver, you must have a project specific
[ERROR] configuration file at the following location:
[ERROR] 
[ERROR] /conf/httpd.conf
Total time: 10 seconds


--------------
Notice no debug statements and in fact I do have that property set in my plugin.properties
and it prints fine from the main jelly script, just not the imported one.







---------------------------------------------------------------------
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/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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message