Skip to content

Instantly share code, notes, and snippets.

@jeremyd
Created January 27, 2011 17:06
Show Gist options
  • Save jeremyd/798807 to your computer and use it in GitHub Desktop.
Save jeremyd/798807 to your computer and use it in GitHub Desktop.
ant compile error, GraphicsView
Buildfile: /home/jeremy/recent_projects/testapp/build.xml
[setup] Android SDK Tools Revision 8
[setup] Project Target: Android 2.2
[setup] API level: 8
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup]
[setup]
[setup] Importing rules file: tools/ant/main_rules.xml
-debug-obfuscation-check:
-set-debug-mode:
-compile-tested-if-test:
-dirs:
[echo] Creating output directories if needed...
-pre-build:
-resource-src:
[echo] Generating R.java / Manifest.java from the resources...
-aidl:
[echo] Compiling aidl files into Java classes...
-pre-compile:
compile:
[javac] /home/jeremy/android-sdk-linux_x86/tools/ant/main_rules.xml:361: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to /home/jeremy/recent_projects/testapp/bin/classes
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:903: <identifier> expected
[javac] public java.util.ArrayList&lt;android.view.View&gt; getFocusables(int direction) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:903: <identifier> expected
[javac] public java.util.ArrayList&lt;android.view.View&gt; getFocusables(int direction) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:903: <identifier> expected
[javac] public java.util.ArrayList&lt;android.view.View&gt; getFocusables(int direction) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:903: <identifier> expected
[javac] public java.util.ArrayList&lt;android.view.View&gt; getFocusables(int direction) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:903: invalid method declaration; return type required
[javac] public java.util.ArrayList&lt;android.view.View&gt; getFocusables(int direction) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:907: ')' expected
[javac] return (java.util.ArrayList<android.view.View>)RuntimeHelpers.invoke(getRuby().getCurrentContext(), callbackProcs[CB_GET_FOCUSABLES], "call" , JavaUtil.convertJavaToRuby(getRuby(), direction)).toJava(java.util.ArrayList&lt;android.view.View&gt;.class);
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:907: not a statement
[javac] return (java.util.ArrayList<android.view.View>)RuntimeHelpers.invoke(getRuby().getCurrentContext(), callbackProcs[CB_GET_FOCUSABLES], "call" , JavaUtil.convertJavaToRuby(getRuby(), direction)).toJava(java.util.ArrayList&lt;android.view.View&gt;.class);
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:907: illegal start of expression
[javac] return (java.util.ArrayList<android.view.View>)RuntimeHelpers.invoke(getRuby().getCurrentContext(), callbackProcs[CB_GET_FOCUSABLES], "call" , JavaUtil.convertJavaToRuby(getRuby(), direction)).toJava(java.util.ArrayList&lt;android.view.View&gt;.class);
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:907: <identifier> expected
[javac] return (java.util.ArrayList<android.view.View>)RuntimeHelpers.invoke(getRuby().getCurrentContext(), callbackProcs[CB_GET_FOCUSABLES], "call" , JavaUtil.convertJavaToRuby(getRuby(), direction)).toJava(java.util.ArrayList&lt;android.view.View&gt;.class);
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:908: 'catch' without 'try'
[javac] } catch (RaiseException re) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:908: ')' expected
[javac] } catch (RaiseException re) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:908: not a statement
[javac] } catch (RaiseException re) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:908: ';' expected
[javac] } catch (RaiseException re) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:906: 'try' without 'catch' or 'finally'
[javac] try {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:912: 'else' without 'if'
[javac] } else {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:917: illegal start of expression
[javac] public void getFocusedRect(android.graphics.Rect r) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:917: illegal start of expression
[javac] public void getFocusedRect(android.graphics.Rect r) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:917: ';' expected
[javac] public void getFocusedRect(android.graphics.Rect r) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:917: ';' expected
[javac] public void getFocusedRect(android.graphics.Rect r) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:930: illegal start of expression
[javac] public boolean getGlobalVisibleRect(android.graphics.Rect r, android.graphics.Point globalOffset) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:930: ';' expected
[javac] public boolean getGlobalVisibleRect(android.graphics.Rect r, android.graphics.Point globalOffset) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:930: ';' expected
[javac] public boolean getGlobalVisibleRect(android.graphics.Rect r, android.graphics.Point globalOffset) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:930: ';' expected
[javac] public boolean getGlobalVisibleRect(android.graphics.Rect r, android.graphics.Point globalOffset) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:944: illegal start of expression
[javac] public android.os.Handler getHandler() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:944: ';' expected
[javac] public android.os.Handler getHandler() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:958: illegal start of expression
[javac] public void getHitRect(android.graphics.Rect outRect) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:958: illegal start of expression
[javac] public void getHitRect(android.graphics.Rect outRect) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:958: ';' expected
[javac] public void getHitRect(android.graphics.Rect outRect) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:958: ';' expected
[javac] public void getHitRect(android.graphics.Rect outRect) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:971: illegal start of expression
[javac] public int getHorizontalFadingEdgeLength() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:971: ';' expected
[javac] public int getHorizontalFadingEdgeLength() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:985: illegal start of expression
[javac] public int getHorizontalScrollbarHeight() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:985: ';' expected
[javac] public int getHorizontalScrollbarHeight() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:999: illegal start of expression
[javac] public int getId() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:999: ';' expected
[javac] public int getId() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1013: illegal start of expression
[javac] public boolean getKeepScreenOn() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1013: ';' expected
[javac] public boolean getKeepScreenOn() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1027: illegal start of expression
[javac] public android.view.ViewGroup.LayoutParams getLayoutParams() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1027: ';' expected
[javac] public android.view.ViewGroup.LayoutParams getLayoutParams() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1041: illegal start of expression
[javac] public float getLeftFadingEdgeStrength() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1041: ';' expected
[javac] public float getLeftFadingEdgeStrength() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1055: illegal start of expression
[javac] public void getLocationInWindow(int[] location) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1055: illegal start of expression
[javac] public void getLocationInWindow(int[] location) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1055: ';' expected
[javac] public void getLocationInWindow(int[] location) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1055: ';' expected
[javac] public void getLocationInWindow(int[] location) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1068: illegal start of expression
[javac] public void getLocationOnScreen(int[] location) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1068: illegal start of expression
[javac] public void getLocationOnScreen(int[] location) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1068: ';' expected
[javac] public void getLocationOnScreen(int[] location) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1068: ';' expected
[javac] public void getLocationOnScreen(int[] location) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1081: illegal start of expression
[javac] public int getNextFocusDownId() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1081: ';' expected
[javac] public int getNextFocusDownId() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1095: illegal start of expression
[javac] public int getNextFocusLeftId() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1095: ';' expected
[javac] public int getNextFocusLeftId() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1109: illegal start of expression
[javac] public int getNextFocusRightId() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1109: ';' expected
[javac] public int getNextFocusRightId() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1123: illegal start of expression
[javac] public int getNextFocusUpId() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1123: ';' expected
[javac] public int getNextFocusUpId() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1137: illegal start of expression
[javac] public android.view.View.OnFocusChangeListener getOnFocusChangeListener() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1137: ';' expected
[javac] public android.view.View.OnFocusChangeListener getOnFocusChangeListener() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1151: illegal start of expression
[javac] public int getPaddingBottom() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1151: ';' expected
[javac] public int getPaddingBottom() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1165: illegal start of expression
[javac] public int getPaddingLeft() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1165: ';' expected
[javac] public int getPaddingLeft() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1179: illegal start of expression
[javac] public int getPaddingRight() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1179: ';' expected
[javac] public int getPaddingRight() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1193: illegal start of expression
[javac] public int getPaddingTop() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1193: ';' expected
[javac] public int getPaddingTop() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1207: illegal start of expression
[javac] public android.content.res.Resources getResources() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1207: ';' expected
[javac] public android.content.res.Resources getResources() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1221: illegal start of expression
[javac] public float getRightFadingEdgeStrength() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1221: ';' expected
[javac] public float getRightFadingEdgeStrength() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1235: illegal start of expression
[javac] public android.view.View getRootView() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1235: ';' expected
[javac] public android.view.View getRootView() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1249: illegal start of expression
[javac] public int getScrollBarStyle() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1249: ';' expected
[javac] public int getScrollBarStyle() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1263: illegal start of expression
[javac] public int getSolidColor() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1263: ';' expected
[javac] public int getSolidColor() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1277: illegal start of expression
[javac] public int getSuggestedMinimumHeight() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1277: ';' expected
[javac] public int getSuggestedMinimumHeight() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1291: illegal start of expression
[javac] public int getSuggestedMinimumWidth() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1291: ';' expected
[javac] public int getSuggestedMinimumWidth() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1305: illegal start of expression
[javac] public java.lang.Object getTag() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1305: ';' expected
[javac] public java.lang.Object getTag() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1319: illegal start of expression
[javac] public float getTopFadingEdgeStrength() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1319: ';' expected
[javac] public float getTopFadingEdgeStrength() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1333: illegal start of expression
[javac] public android.view.TouchDelegate getTouchDelegate() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1333: ';' expected
[javac] public android.view.TouchDelegate getTouchDelegate() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1347: illegal start of expression
[javac] public java.util.ArrayList&lt;android.view.View&gt; getTouchables() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1347: not a statement
[javac] public java.util.ArrayList&lt;android.view.View&gt; getTouchables() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1347: not a statement
[javac] public java.util.ArrayList&lt;android.view.View&gt; getTouchables() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1347: ';' expected
[javac] public java.util.ArrayList&lt;android.view.View&gt; getTouchables() {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1351: ')' expected
[javac] return (java.util.ArrayList<android.view.View>)RuntimeHelpers.invoke(getRuby().getCurrentContext(), callbackProcs[CB_GET_TOUCHABLES], "call" ).toJava(java.util.ArrayList&lt;android.view.View&gt;.class);
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1351: not a statement
[javac] return (java.util.ArrayList<android.view.View>)RuntimeHelpers.invoke(getRuby().getCurrentContext(), callbackProcs[CB_GET_TOUCHABLES], "call" ).toJava(java.util.ArrayList&lt;android.view.View&gt;.class);
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1351: illegal start of expression
[javac] return (java.util.ArrayList<android.view.View>)RuntimeHelpers.invoke(getRuby().getCurrentContext(), callbackProcs[CB_GET_TOUCHABLES], "call" ).toJava(java.util.ArrayList&lt;android.view.View&gt;.class);
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1351: <identifier> expected
[javac] return (java.util.ArrayList<android.view.View>)RuntimeHelpers.invoke(getRuby().getCurrentContext(), callbackProcs[CB_GET_TOUCHABLES], "call" ).toJava(java.util.ArrayList&lt;android.view.View&gt;.class);
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1352: 'catch' without 'try'
[javac] } catch (RaiseException re) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1352: ')' expected
[javac] } catch (RaiseException re) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1352: not a statement
[javac] } catch (RaiseException re) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1352: ';' expected
[javac] } catch (RaiseException re) {
[javac] ^
[javac] /home/jeremy/recent_projects/testapp/src/org/rubyonlinux/testapp/GraphicsView.java:1350: 'try' without 'catch' or 'finally'
[javac] try {
[javac] ^
[javac] 100 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment