Saturday 15 August 2015

eclipse - Using util.parsing in Scala 2.11 -



eclipse - Using util.parsing in Scala 2.11 -

i have written scala programme eclipse scala ide uses scala.util.parsing.json , transform back upwards scala 2.11 version. in scala 2.11 error: error: object parsing not fellow member of bundle util. have found out parsing library not anymore in util bundle default, has downloaded separately here.

i have downloaded , tried add together eclipse project new source folder, didn't work out. instructions adding sbt, don't think relevant me if want utilize in eclipse.

should seek find jar file somewhere?

should seek find jar file somewhere?

yes, should. :)

and specifically, should utilize 1 (in sbt syntax):

librarydependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.2"

the above line should need add together build.sbt if you're using sbt. if want manually add together project downloading it, can find on maven central.

the scala-parser-combinators library removed in 2.11 people don't utilize don't have pay cost having in scala runtime library. consequently, people want utilize have explicitly include in build. note xml library removed in 2.11 own library.

eclipse scala import

No comments:

Post a Comment