Please Help Me what Mistake I have done in Extension

Buildfile: /home/Makeroid/appinventor/build.xml

extensions:

clean:

init:
[mkdir] Created dir: /home/Makeroid/appinventor/build/buildserver
[mkdir] Created dir: /home/Makeroid/appinventor/buildserver/build
[mkdir] Created dir: /home/Makeroid/appinventor/buildserver/build/classes
[mkdir] Created dir: /home/Makeroid/appinventor/buildserver/reports
[mkdir] Created dir: /home/Makeroid/appinventor/buildserver/reports/raw
[mkdir] Created dir: /home/Makeroid/appinventor/buildserver/reports/html

common_CommonUtils:

init:
[mkdir] Created dir: /home/Makeroid/appinventor/build/common
[mkdir] Created dir: /home/Makeroid/appinventor/common/build
[mkdir] Created dir: /home/Makeroid/appinventor/common/build/classes
[mkdir] Created dir: /home/Makeroid/appinventor/common/reports
[mkdir] Created dir: /home/Makeroid/appinventor/common/reports/raw
[mkdir] Created dir: /home/Makeroid/appinventor/common/reports/html

CommonUtils:
[mkdir] Created dir: /home/Makeroid/appinventor/common/build/classes/CommonUtils
[javac] Compiling 3 source files to /home/Makeroid/appinventor/common/build/classes/CommonUtils
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] 1 warning
[javac] Creating empty /home/Makeroid/appinventor/common/build/classes/CommonUtils/com/google/appinventor/common/utils/package-info.class
[jar] Building jar: /home/Makeroid/appinventor/build/common/CommonUtils.jar
[jar] Building jar: /home/Makeroid/appinventor/build/common/CommonUtils-gwt.jar

common_CommonVersion:

init:

CommonVersion:
[mkdir] Created dir: /home/Makeroid/appinventor/common/build/classes/CommonVersion
[mkdir] Created dir: /home/Makeroid/appinventor/common/build/src/com/google/appinventor/common/version
[copy] Copying 1 file to /home/Makeroid/appinventor/common/build/src/com/google/appinventor/common/version
[javac] Compiling 3 source files to /home/Makeroid/appinventor/common/build/classes/CommonVersion
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] 1 warning
[javac] Creating empty /home/Makeroid/appinventor/common/build/classes/CommonVersion/com/google/appinventor/common/version/package-info.class
[jar] Building jar: /home/Makeroid/appinventor/build/common/CommonVersion.jar
[jar] Building jar: /home/Makeroid/appinventor/build/common/CommonVersion-gwt.jar

CopyToRunLibDir:
[mkdir] Created dir: /home/Makeroid/appinventor/buildserver/build/run/lib
[copy] Copying 36 files to /home/Makeroid/appinventor/buildserver/build/run/lib

components_AndroidRuntime:

init:
[mkdir] Created dir: /home/Makeroid/appinventor/build/components
[mkdir] Created dir: /home/Makeroid/appinventor/components/build
[mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes
[mkdir] Created dir: /home/Makeroid/appinventor/components/reports
[mkdir] Created dir: /home/Makeroid/appinventor/components/reports/raw
[mkdir] Created dir: /home/Makeroid/appinventor/components/reports/html

CommonConstants:
[mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/CommonConstants
[javac] Compiling 7 source files to /home/Makeroid/appinventor/components/build/classes/CommonConstants
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] 1 warning
[javac] Creating empty /home/Makeroid/appinventor/components/build/classes/CommonConstants/com/google/appinventor/components/common/package-info.class
[jar] Building jar: /home/Makeroid/appinventor/build/components/CommonConstants.jar
[jar] Building jar: /home/Makeroid/appinventor/build/components/CommonConstants-gwt.jar

HtmlEntities:
[mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/HtmlEntities
[javac] Compiling 1 source file to /home/Makeroid/appinventor/components/build/classes/HtmlEntities
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] 1 warning
[jar] Building jar: /home/Makeroid/appinventor/components/build/HtmlEntities.jar

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:
[mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
[javac] Compiling 362 source files to /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:39: error: illegal start of expression
[javac] public void showPalindrome(String s) {
[javac] ^
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:39: error: illegal start of expression
[javac] public void showPalindrome(String s) {
[javac] ^
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:39: error: ‘;’ expected
[javac] public void showPalindrome(String s) {
[javac] ^
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:39: error: ‘;’ expected
[javac] public void showPalindrome(String s) {
[javac] ^
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:47: error: illegal start of expression
[javac] public boolean isPalindrome(String s){
[javac] ^
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:47: error: ‘;’ expected
[javac] public boolean isPalindrome(String s){
[javac] ^
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:47: error: ‘;’ expected
[javac] public boolean isPalindrome(String s){
[javac] ^
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:51: error: illegal start of expression
[javac] public boolean isPalindrome2(String s) {
[javac] ^
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:51: error: ‘;’ expected
[javac] public boolean isPalindrome2(String s) {
[javac] ^
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:51: error: ‘;’ expected
[javac] public boolean isPalindrome2(String s) {
[javac] ^
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/NewExtension.java:57: error: reached end of file while parsing
[javac] }
[javac] ^
[javac] 11 errors
[javac] 1 warning

2 Likes

You are missing a } on one of your classes

The first error hints you have a problem just before it.

illegal start of expression

5 Likes