commons-dev mailing list archives

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

   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:

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

 Time Spent: Unknown
   Estimate: Unknown

    Project: jelly

   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

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}"/>

    <!-- 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


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

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


[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] /conf/httpd.conf
Total time: 10 seconds

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

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message