Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1817

Reversi and tic tac toe plugins failed to build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0, 2.8.3
    • Fix Version/s: 2.9.0
    • Component/s: Plugins
    • Labels:

      Description

      Reversi and tic tac toe plugins have been commented out in the build.xml for a while. At some point it would be nice to have them fixed.

      Eclipse throws this when trying to build Reversi (similar errors shows for tic tac toe):
      Compiling 7 source files to N:\Git\Spark\src\plugins\reversi\build\classes
      [javac] N:\Git\Spark\src\plugins\reversi\src\java\org\jivesoftware\game\reversi\GameOffer.java:33: error: GameOffer is not abstract and does not override abstract method getIQChildElementBuilder(IQChildElementXmlStringBuilder) in IQ
      [javac] public class GameOffer extends IQ {
      [javac] ^
      [javac] N:\Git\Spark\src\plugins\reversi\src\java\org\jivesoftware\game\reversi\GameOffer.java:47: error: no suitable constructor found for IQ(no arguments)
      [javac] super();
      [javac] ^
      [javac] constructor IQ.IQ(IQ) is not applicable
      [javac] (actual and formal argument lists differ in length)
      [javac] constructor IQ.IQ(String) is not applicable
      [javac] (actual and formal argument lists differ in length)
      [javac] constructor IQ.IQ(String,String) is not applicable
      [javac] (actual and formal argument lists differ in length)
      [javac] N:\Git\Spark\src\plugins\reversi\src\java\org\jivesoftware\game\reversi\GameOffer.java:89: error: getChildElementXML() in GameOffer cannot override getChildElementXML() in IQ
      [javac] public String getChildElementXML() {
      [javac] ^
      [javac] overridden method is final
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.
      [javac] 3 errors

        Attachments

          Activity

            People

            Assignee:
            guus Guus der Kinderen
            Reporter:
            wroot wroot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: