You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Rick Moynihan (JIRA)" <ji...@apache.org> on 2007/01/29 13:05:49 UTC

[jira] Updated: (LAUNCHER-6) Launcher support for multiple config files.

     [ https://issues.apache.org/jira/browse/LAUNCHER-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Moynihan updated LAUNCHER-6:
---------------------------------

    Attachment: launcher-tasks.patch

Patch to enable the ImportTask and the EchoTask.  This allows launcher to make use of multiple launch files (allowing greater reuse of configuration code):

<import file="base-launcher.xml"/>


Enabling echo allows launcher scripts to output information to the user through the use of:

<echo message="hello"/>



> Launcher support for multiple config files.
> -------------------------------------------
>
>                 Key: LAUNCHER-6
>                 URL: https://issues.apache.org/jira/browse/LAUNCHER-6
>             Project: Commons Launcher
>          Issue Type: Improvement
>    Affects Versions: Nightly Builds, 1.0 Alpha
>         Environment: All platforms
>            Reporter: Rick Moynihan
>            Priority: Minor
>         Attachments: launcher-tasks.patch
>
>
> Hi.  I have a requirement to support multiple launcher xml files for managing services using launcher.  To do this requires a minor 2 line change in the Launcher.java file.
> The fix basically just involves enabling the ant ImportTask, allowing you to import other launcher files, allowing partitioning of launcher scripts etc, thus enabling greater reuse of code between them.
> Also the echo task is not available.  This is useful as it allows the launcher script to display information to the user prior to instantiating the application.
> I'll try and attach the required (trivial) patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org