Skip to content
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
Assignees
Milestone

Comments

@ferventcoder
Copy link
Member

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
Copy link
Member Author

Fixed in f3ed9c5

@ferventcoder ferventcoder modified the milestone: 1.4.x Aug 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant