commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felipe Leme (JIRA)" <>
Subject [jira] Updated: (JELLY-194) New tag that copy text files replacing Jelly properties
Date Wed, 02 Mar 2005 18:04:50 GMT
     [ ]

Felipe Leme updated JELLY-194:

    Attachment: JELLY-194.patch2

Full patch, where the new tag (CopyTextTag) and the existing LoadTextTag now
derives from AbstractTextTag.
The patch also contains the cumulative fixes for JELLY-203 and JELLY-205 (although neither

this patch nor the patches for these other issues include changes to xdocs/changes.xml).

-- Felipe

> New tag that copy text files replacing Jelly properties
> -------------------------------------------------------
>          Key: JELLY-194
>          URL:
>      Project: jelly
>         Type: New Feature
>   Components: taglib.util
>     Versions: 1.0
>     Reporter: Felipe Leme
>  Attachments: JELLY-194.patch1, JELLY-194.patch2
> Hi,
> It would be nice if there was a Jelly tag similar to <ant:copy> that would copy
text files replacing the Jelly properties.
> For instance, I need to copy a datasource XML definition to JBoss before running Cactus
(on maven), but each developer in my project has its own database schema. So, I could have
a XML file like this:
> <datasource>
>       <username>${ds.username}</username>
>       <password>${ds.password}</password>
> </datasource>
> And then something like this on maven.xml:
> <preGoal name="cactus:test">
>    <util:copyAndReplace file="datasource.xml" 
>          toFile="${env.JBOSS_HOME}/server/default/deploy"/> 
> </preGoal>
> If you think such tag is useful (and hence would be incorporated on Jelly), I could write
the tag and test cases and then submit a patch (I'm just not sure what's the best name for
> -- Felipe

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