davidmoten / xsd-forms

Generates web forms from xml schema documents (xsd)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

update scala-library version to 2.10.1 or later

davidmoten opened this issue · comments

Using 2.10.1 with scalaxb 0.6.8 results in below. Suggest upgrade to scalaxb 1.0.2 or latest before upgrade to scala 2.10.1.

[INFO] ------------------------------------------------------------------------
[INFO] Building xsd-scalaxb 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------

[WARNING] /home/dave/Development/ide/eclipse/workspace-3.6/xsd-forms/xsd-scalaxb/target/generated-sources/scalaxb/scalaxb/scalaxb.scala:402: warning: fruitless type test: a value of type scala.xml.Node cannot also be a scala.xml.UnprefixedAttribute
[INFO] case attr: UnprefixedAttribute =>
[INFO] ^
[WARNING] /home/dave/Development/ide/eclipse/workspace-3.6/xsd-forms/xsd-scalaxb/target/generated-sources/scalaxb/scalaxb/scalaxb.scala:405: warning: fruitless type test: a value of type scala.xml.Node cannot also be a scala.xml.PrefixedAttribute
[INFO] case attr: PrefixedAttribute =>
[INFO] ^
[ERROR] /home/dave/Development/ide/eclipse/workspace-3.6/xsd-forms/xsd-scalaxb/target/generated-sources/scalaxb/scalaxb/scalaxb.scala:718: error: overriding method toIndexedSeq in trait TraversableOnce of type => scala.collection.immutable.IndexedSeq[Byte];
[INFO] method toIndexedSeq needs override' modifier [INFO] def toIndexedSeq: IndexedSeq[Byte] = vector [INFO] ^ [ERROR] /home/dave/Development/ide/eclipse/workspace-3.6/xsd-forms/xsd-scalaxb/target/generated-sources/scalaxb/scalaxb/scalaxb.scala:745: error: overriding method toIndexedSeq in trait TraversableOnce of type => scala.collection.immutable.IndexedSeq[Byte]; [INFO] method toIndexedSeq needsoverride' modifier
[INFO] def toIndexedSeq: IndexedSeq[Byte] = vector
[INFO] ^
[WARNING] two warnings found
[ERROR] two errors found
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] xsd-forms ......................................... SUCCESS [0.400s]
[INFO] xsd-scalaxb ....................................... FAILURE [31.445s]
[INFO] demo-scalaxb ...................................... SKIPPED
[INFO] xsd-forms-generator ............................... SKIPPED
[INFO] xsd-forms-maven-plugin ............................ SKIPPED
[INFO] ------------------------------------------------------------------------

done