-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
java -jar hoc2js*.jar
a=b
b=${a}
Exception in thread "main" com.typesafe.config.ConfigException$UnresolvedSubstitution: Reader: 2: Could not resolve substitution to a value: ${a}
at com.typesafe.config.impl.ConfigReference.resolveSubstitutions(ConfigReference.java:87)
at com.typesafe.config.impl.ResolveSource.resolveCheckingReplacement(ResolveSource.java:110)
at com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:114)
at com.typesafe.config.impl.SimpleConfigObject$1.modifyChildMayThrow(SimpleConfigObject.java:340)
at com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(SimpleConfigObject.java:279)
at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:320)
at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:24)
at com.typesafe.config.impl.ResolveSource.resolveCheckingReplacement(ResolveSource.java:110)
at com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:114)
at com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:149)
at com.typesafe.config.impl.SimpleConfig.resolveWith(SimpleConfig.java:70)
at com.typesafe.config.impl.SimpleConfig.resolveWith(SimpleConfig.java:33)
at com.github.okapies.hoc2js.Hoc2Js.main(Hoc2Js.java:33)
Works fine when referencing existing built in conf
java ...
a=${hoc2js.render}
{"a":{"comments":false,"formatted":false,"originComments":false,"json":true}}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels