[OS-JIRA] Created: (WOL-1101) the <resources> and <swresources> tags should be smarter, take to/from dirs and use if and available

From: Ray Kiddy (JIRA) ("Ray)
Date: Sat Sep 19 2009 - 18:28:00 EDT

  • Next message: David Avendasora: "OOME when building with Ant"

    the <resources> and <swresources> tags should be smarter, take to/from dirs and use if and available
    ----------------------------------------------------------------------------------------------------

                     Key: WOL-1101
                     URL: http://issues.objectstyle.org/jira/browse/WOL-1101
                 Project: WOProject/WOLips
              Issue Type: Bug
             Environment: WOProject ToT
                Reporter: Ray Kiddy

    If the <resources> and <wsresources> tags were smarter and took toDir and fromDir, one would actually not need both tags. Instead of:

                <resources dir="${project.dir}/Resources">
                    <include name="**/*" />
                    <exclude name="*.*~/" />
                </resources>
                <wsresources dir="${project.dir}/WebServerResources">
                    <include name="**/*" />
                </wsresources>

    One could have:

                <resources toDir="${project.root}/Resources" fromDir="${project.dir}/Resources">
                    <include name="**/*" />
                    <exclude name="*.*~/" />
                </resources>
                <resources toDir="${project.root}/WebServerResources" fromDir="${project.dir}/WebServerResources">
                    <include name="**/*" />
                    <exclude name="*.*~/" />
                </resources>

    This would be much more clear. It would also be useful for <resources> and <wsresources> to not have so much hard-coded and to be a bit re-usable.

    In addition, one can add the "if" parameter to the <resources> tag, but it has no effect. It should.

    The "available" tag would merely be useful, but it is as easy to add that as the "if" tag.

    I can include diffs if requested.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Sat Sep 19 2009 - 18:28:40 EDT