History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-2359
Type: Bug Bug
Status: Verified Verified
Resolution: Fixed
Priority: -- --
Assignee: Frisco Del Rosario
Reporter: Amy Muntz
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Improve Build.Properties Mechanism for doc Draft mode

Created: 19/Jul/06 05:15 PM   Updated: 28/Jul/06 08:59 PM
Component/s: Build System
Affects Version/s: 3.4
Fix Version/s: 3.4

Time Tracking:
Not Specified

Severity: Major
Fixed in Change#: 1,361
Runtime: N/A
Fix in hand: False


 Description  « Hide
It should ignore white space when comparing the release keyword. This will prevent this same problem from happening when we start using trunk.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
P T Withington - 19/Jul/06 05:23 PM
Awaiting review from ben

P T Withington - 19/Jul/06 06:32 PM
r1361 | ptw | 2006-07-19 18:30:46 -0400 (Wed, 19 Jul 2006) | 28 lines
Changed paths:
   M /openlaszlo/trunk/docs/src/build.xml

Change change.GBZCWxpHb.txt by ptw@tin-woodsman.local /Users/ptw/pending-changes/ on 2006-07-19 17:15:19 EDT

Summary: Ignore whitespace when comparing build.properties.release for
documentation draft.mode

Bugs Fixed:
LPP-2359 Improve Build.Properties Mechanism for doc Draft mode

Technical Reviewer: ben (Message-Id: <45F7FA13-D0C1-499B-9F34-3C6F9999819E@laszlosystems.com>)
QA Reviewer: mdavis (pending)
Doc Reviewer: jsundman (Message-Id: <B38E2381-7B5E-4D47-A8F7-18B7BA238EF7@laszlosystems.com>)

Details:
    Use trim="true" in the ant equals clause, echo the draft.mode setting

Tests:
    Edit build.properties to say "release = Production "
    cd docs/src
    [ptw@tin-woodsman src 17:18:31]$ ant init
    Buildfile: build.xml

    build-opt:

    init:
         [echo] draft.mode=no

    BUILD SUCCESSFUL
    Total time: 3 seconds