Skip to content

Bug: missing include support #35

@Andrei-Pozolotin

Description

@Andrei-Pozolotin

here:
https://github.com/akka-js/shocon#shocon
it says drop-in replacement but that that is not true :-)

drop-in replacement wherever the Java implementation is not available

example:

    val text = """
    include "main.conf"
    """
    val config = ConfigFactory.parseString( text )

execution result:

java.lang.Error: (keyValueSeparator ~/ jsonExpr | obj.rep(1, sep = nlspace) ~ space):4:24 ..."\n    "
        at java.lang.StackTrace$.currentStackTrace(Unknown Source)
        at java.lang.Throwable.fillInStackTrace(Unknown Source)
        at java.lang.Throwable.init(Unknown Source)
        at java.lang.Error.init(Unknown Source)
        at java.lang.Error.init(Unknown Source)
        at eu.unicredit.shocon.package$Config$.apply(Unknown Source)
        at com.typesafe.config.ConfigFactory$.parseString(Unknown Source)
        at com.carrotgarden.scalor.test.Main$.main(Unknown Source)
        at <none>.main(Unknown Source)
        at <none>.__libc_start_main(Unknown Source)
        at <none>._start(Unknown Source)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions