[Resolved] Problem making a tool extension

yoplalala

  • *
  • Posts: 1511
When I compile on ubuntu 18.04  the sample game extension https://github.com/Stencyl/toolset-extension-sample


I modify  build-helper.properties  to my values
I have this error

Code: [Select]
Buildfile: /home/c/stencylworks/extensions/toolset-extension-sample-master/build.xml

dist:

helper.compile:
   [delete] Deleting directory /home/c/stencylworks/extensions/toolset-extension-sample-master/build
    [mkdir] Created dir: /home/c/stencylworks/extensions/toolset-extension-sample-master/build
     [echo] Compiling sources -> ./src
     [echo] Using classpath -> /home/consonne/Work/Stencyl/Stencyl-41/sw.jar
    [javac] /home/c/stencylworks/extensions/toolset-extension-sample-master/build-helper.xml:76: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 3 source files to /home/consonne/stencylworks/extensions/toolset-extension-sample-master/build
    [javac] /home/c/stencylworks/extensions/toolset-extension-sample-master/src/com/mysite/example/SampleGameExtension.java:12: error: SampleGameExtension is not abstract and does not override abstract method updateFromVersion(int,WorkerPriorityQueue) in GameExtension
    [javac] public class SampleGameExtension extends GameExtension
    [javac]        ^
    [javac] /home/c/stencylworks/extensions/toolset-extension-sample-master/src/com/mysite/example/SampleGameExtension.java:112: error: method does not override or implement a method from a supertype
    [javac] @Override
    [javac] ^
    [javac] 2 errors

BUILD FAILED

« Last Edit: July 30, 2019, 01:35:48 am by yoplalala »