ecj.jar isn't found properly
Hey there,
So I just wanted to open a new issue for the bug that I encountered here: #49 I'm getting the following error when trying to run any sketches:
BUILD FAILED
/tmp/android4821277577212454137sketch/build.xml:15: The following error occurred while executing this line:
/tmp/android4821277577212454137sketch/build.xml:28: Class not found: org.eclipse.jdt.core.JDTCompilerAdapter
Seems to me like ant is trying to eclipse's compiler (which I don't have). Not that it should matter, but I'm on Linux.
I'm on the latest master atm, but I'm going to be gradually working my way backwards through the commits until I find a point at which I can run stuff.
works on a5db02596255a0a169853030e1bbdab8ccf1631a
And just like I thought 8acee9926f9047903507585099558765fdd5a75c caused this issue. Let me know if I can help in some way.
ecj.jar is bundled with Processing: https://github.com/processing/processing/tree/master/java/mode, ant should be able to find it. Are you using up-to-date version of the processing repo?
If I remember correctly, I had the problem with both 2.2.1, 3.0a2. Later, I'll nuke my working directory for processing and processing-android and start over, then let cha know what happens.
Same problem with:
processing: 5fa16c255cb7622e0bbf89796a27988cd4421b9b processing-android: 07e03839a0677ac155c5d259bdbe48c42c66ae22 with the following sketch:
void setup(){}
void draw(){
background( 25);
noStroke();
fill( 200, 120, 120, 180);
rect( 10, 10, 100, 100);}
public int sketchWidth(){
return displayWidth;}
public int sketchHeight(){
return displayHeight;}
Okay, so I'm just gonna post how I've got my dev environment of processing set up, and hopefully somebody will find a problem. -> is a symbolic link.
local processing repo: ~/p/processing local processing-android repo ~/p/processing-android /opt/processing-dev -> ~/p/processing/build/linux/work /opt/processing-android-dev -> ~/p/processing-android-dev /opt/processing-2.2.1 (not relevant) /opt/processing-android-217 (not relevant) /opt/processing -> /opt/processing-dev /opt/processing-android -> /opt/processing-android-dev /usr/local/bin/processing -> /opt/processing/processing /usr/local/bin/processing-java -> /opt/processing/processing-java
I do the whole symbolic linking thing so that I can more easily switch versions of processing. If any of you are developing processing on linux, I'd appreciate hearing how you're set up, but I guess none of you are writing libraries, so maybe it wouldn't be so useful :S.
Same here with: (32bit) Ubuntu 14.04, Processing 2.0.3 and 3.0a4, Oracle Java jdk 1.7.0_67 and Android SDK 23.0.2.
BUILD FAILED
/tmp/android3032197194748914589sketch/build.xml:15: The following error occurred while executing this line:
/tmp/android3032197194748914589sketch/build.xml:28: Class not found: org.eclipse.jdt.core.JDTCompilerAdapter