You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/09/29 03:28:08 UTC

[jira] Commented: (MAVEN-228) Importing a jelly script used to expose goals definied in it.

The following comment has been added to this issue:

     Author: dion gillard
    Created: Sun, 28 Sep 2003 8:26 PM
       Body:
This is because the plugin cache manager parses files before they are loaded and doesn't parse the <include>'d files.

I doubt this will change for 1.0.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-228


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-228
    Summary: Importing a jelly script used to expose goals definied in it.
       Type: Bug

     Status: Unassigned
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             jelly-integ
   Fix Fors:
             1.0-final
   Versions:
             1.0-beta-8

   Assignee: 
   Reporter: David Eric Pugh

    Created: Wed, 29 Jan 2003 5:43 PM
    Updated: Sun, 3 Aug 2003 11:45 PM
Environment: W2k with CVS Head

Description:
Previously, you could import a jelly script and expose the goals.  This was crucially import in the cactus plugin for dynamically importing the scripts for various app servers.  At this point, this functionality doesn't work.  Should I edit the touchstone code to demonstrate this?  

Here is what used to work:
  <!-- Import all the jelly scripts found in the maven.cactus.conf.dir
       directory. They are jelly scripts to start/stop the different
       containers. -->
  <fileScanner var="scanner">
    <fileset dir="${maven.cactus.scripts.dir}" includes="*.jelly"/>
  </fileScanner>

  <j:forEach var="script" items="${scanner.iterator()}">
    <j:import inherit="true" uri="${script.toURL().toString()}"/>
  </j:forEach>


if you do a maven -g you will see all the included file's goals are not available.


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