Hi,

Using a maven filter file I set the symbol tapestry.application-version and want to show it in a page:

AppModule.java
    public static void contributeSymbolSource(OrderedConfiguration<SymbolProvider> config) {
        config.add("AppVersion", new ClasspathResourceSymbolProvider("appversion.properties"));
    }

appversion.properties
    tapestry.application-version=${project.version}

Index.java
    public String getVersion() {
        return symbolSource.valueForSymbol(SymbolConstants.APPLICATION_VERSION);
    }

Index.tml
    ${version}


So if I put in my filter file project.version=1.2.3, it shows 1.2.3. But sometimes it shows some random characters like: 620e73a4ab76d66.
Any idea what could be causing this?
--

Een klare kijk op aanvullende pensioenen

Nathan Quirynen
03 340 04 60 | 0494 28 45 15
nat...@pensionarchitects.be

Follow us on Web | Twitter | LinkedIn | RSS | YouTube

Reply via email to