chucknorris / uppercut

UppercuT - Professional builds in moments, not days!
http://projectuppercut.org
68 stars 17 forks source link

BUG: Specifying multiple settings tokens in one settings value does not replace any but the first one #3

Closed ferventcoder closed 13 years ago

ferventcoder commented 13 years ago

When I put this in my settings file:

    <property name="environment" value="DEV" />
    <property name="server.files" value="appdevserver" />

    <property name="settings.separatedby.text" value="\\${server.files}\Apps-${environment}" />
    <property name="settings.separatedby.slash" value="\\${server.files}\${environment}\Archive" />
    <property name="settings.no.separation" value="${server.files}${environment}" />

I expect it to do this:

    <property name="environment" value="DEV" />
    <property name="server.files" value="appdevserver" />

    <property name="settings.separatedby.text" value="\\appdevserver\Apps-DEV" />
    <property name="settings.separatedby.slash" value="\\appdevserver\DEV\Archive" />
    <property name="settings.no.separation" value="appdevserverDEV" />

but instead I get

    <property name="environment" value="DEV" />
    <property name="server.files" value="appdevserver" />

    <property name="settings.separatedby.text" value="\\appdevserver\Apps-${environment}" />
    <property name="settings.separatedby.slash" value="\\appdevserver\${environment}\Archive" />
    <property name="settings.no.separation" value="appdevserver${environment}" />
ferventcoder commented 13 years ago

Fixed in f3ed9c510eedf84f33002b24ea015f0848261903