Skip to content

appJar variable is not expanded correctly. #19

Description

I am using 1.0.0

When I inspect the izpack.xml I see the appJar variable expanded incorrectly:

<variable name="appJar" value="C:\scm\incubator\scala-daemon-example\target\scala-2.11\scaladaemonexample_2.11.5-sbt.SettingKey$$anon$4@4cbfa888.jar"/>

It looks like the version property is being incorrectly substituted with the property name itself instead of name.value.

Indeed this looks to be the case in Izpack.scala:

val jarName = "%s_%s-%s.jar" format (normalizedName.value,
                                       scalaVersion.value,
                                       version)
val appJar = FileUtil.joinPath(classesParent, jarName)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions