New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ferventcoder opened this Issue Aug 5, 2011 · 1 comment

Comments

Projects
None yet
1 participant
@ferventcoder
Member

ferventcoder commented Aug 5, 2011

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}" />

@ghost ghost assigned ferventcoder Aug 5, 2011

@ferventcoder

This comment has been minimized.

Member

ferventcoder commented Aug 5, 2011

Fixed in f3ed9c5

@ferventcoder ferventcoder added the Bug label Aug 20, 2015

@ferventcoder ferventcoder modified the milestone: 1.4.x Aug 20, 2015

@ferventcoder ferventcoder added 3 - Done and removed v1.4 labels Aug 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment