joelmoniz / REPLmode

This repository will hold a new mode for Processing- the REPL mode
Other
34 stars 5 forks source link

build fails (Linux, Processing build 244) #1

Closed ciaron closed 9 years ago

ciaron commented 9 years ago

I get the following error at compile-time:

linstead@lt065:~/src/REPLmode/resources$ ant build
Buildfile: /home/linstead/src/REPLmode/resources/build.xml

build:
[propertyfile] Updating property file: /home/linstead/src/REPLmode/build.number
    [javac] Compiling 4 source files to /home/linstead/src/REPLmode/build
    [javac] /home/linstead/src/REPLmode/src/jm/mode/replmode/REPLEditor.java:104: error: cannot find symbol
    [javac]       untitledFolderLocation = Base.createTempFolder("untitled", "repl", null);
    [javac]                                    ^
    [javac]   symbol:   method createTempFolder(String,String,<null>)
    [javac]   location: class Base
    [javac] /home/linstead/src/REPLmode/src/jm/mode/replmode/REPLEditor.java:355: error: cannot find symbol
    [javac]         Base.openURL("https://github.com/joelmoniz/REPLmode/issues/new");
    [javac]             ^
    [javac]   symbol:   method openURL(String)
    [javac]   location: class Base
    [javac] /home/linstead/src/REPLmode/src/jm/mode/replmode/REPLRunner.java:210: error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] /home/linstead/src/REPLmode/src/jm/mode/replmode/REPLRunner.java:215: error: incompatible types: StringList cannot be converted to String[]
    [javac]     String[] vmParams = getMachineParams();
    [javac]                                         ^
    [javac] /home/linstead/src/REPLmode/src/jm/mode/replmode/REPLRunner.java:216: error: method getSketchParams in class Runner cannot be applied to given types;
    [javac]     String[] sketchParams = getSketchParams(presenting);    
    [javac]                             ^
    [javac]   required: boolean,String[]
    [javac]   found: boolean
    [javac]   reason: actual and formal argument lists differ in length
    [javac] /home/linstead/src/REPLmode/src/jm/mode/replmode/REPLRunner.java:243: error: cannot find symbol
    [javac]         new String[] { Base.getJavaPath(), jdwpArg,hotSwapArg };
    [javac]                            ^
    [javac]   symbol:   method getJavaPath()
    [javac]   location: class Base
    [javac] /home/linstead/src/REPLmode/src/jm/mode/replmode/REPLMode.java:81: error: cannot find symbol
    [javac]     File javamodeFolder = Base.getContentFile("modes/java");
    [javac]                               ^
    [javac]   symbol:   method getContentFile(String)
    [javac]   location: class Base
    [javac] /home/linstead/src/REPLmode/src/jm/mode/replmode/REPLMode.java:193: error: incompatible types: boolean cannot be converted to String[]
    [javac]           runtime.launch(present);  // this blocks until finished
    [javac]                          ^
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 8 errors

BUILD FAILED
/home/linstead/src/REPLmode/resources/build.xml:43: Compile failed; see the compiler error output for details.

I modified build.properties as per the instructions, but I'm stuck with this error.

joelmoniz commented 9 years ago

Thanks for the bug report, and sorry for the delayed response. The issue was that the Base class was broken down in 3.0b4 (build version 0242), which breaks the REPL Mode's compatibility with any release after that. I've updated everything now, and it ought to build fine. Could you please check out the latest source on the master branch, and re-open this issue if everything does not build properly?