[OS-JIRA] Created: (WOL-357) ant build fails when directories don't exist (rather than ignoring them)

From: Lachlan Deck (JIRA) ("Lachlan)
Date: Wed Jan 10 2007 - 21:43:42 EST

  • Next message: Lachlan Deck (JIRA): "[OS-JIRA] Created: (WOL-358) build.xml syntax error for WonderFramework template"

    ant build fails when directories don't exist (rather than ignoring them)
    ------------------------------------------------------------------------

                     Key: WOL-357
                     URL: http://issues.objectstyle.org/jira/browse/WOL-357
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: wolips
        Affects Versions: 2.0.0.* (unreleased please specify)
             Environment: Mac OS X 10.4.8, Eclipse 3.2.1, WOLips 2.0.0.3723
                Reporter: Lachlan Deck
                Priority: Trivial

    Add to setProps target...
    <available file="WebServerResources" property="WebServerResources.exists"/>
    <available file="Resources" property="Resources.exists"/>
    <available file="Components" property="Components.exists"/>

    Adjust build.woframework target...
    <wsresources dir="WebServerResources" if="WebServerResources.exists">
    ...
    <resources dir="Resources" if="Resources.exists">
    ...
    <resources dir="Components" if="Components.exists">

    And Libraries may not exist... so this also fails the build:
    <lib dir="Libraries">
            <include name="*.jar"/>
            <exclude name="**/*.framework/**"/>
    </lib>

    -- 
    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 : Wed Jan 10 2007 - 21:43:45 EST