Can't compile app inventor source using ant

482 views
Skip to first unread message

Marzooq Moosa

unread,
Jun 26, 2017, 10:31:38 PM6/26/17
to App Inventor Open Source Development

I followed all the instructions given in MITofficial site but cant seem to build app inventor using ant. when i ant clean i got build succesiful. but when i try ant or ant extensions i always get build failed. I set JAVA_HOME a well as ANT_HOME. Im using windows 8 64 bit with JDK 7

Moliata

unread,
Jun 27, 2017, 5:09:31 AM6/27/17
to App Inventor Open Source Development
What does an error say? We need more details.

Pavitra

unread,
Jun 27, 2017, 12:22:30 PM6/27/17
to App Inventor Open Source Development
You can JDK 8 latest version and try again

Evan Patton

unread,
Jun 27, 2017, 6:09:59 PM6/27/17
to App Inventor Open Source Development
You may not have checked out all of the necessary dependencies. According to README.md, you will also need to run git submodule update --init to get additional dependencies checked out, especially if you are seeing errors related to either blockly or closure-compiler.

Evan

Marzooq Moosa

unread,
Jun 28, 2017, 10:57:16 AM6/28/17
to App Inventor Open Source Development


marzukulgumali@Marzuk MINGW64 ~/Documents/GitHub/appinventor-sources/appinventor (master)
$ ant clean
Buildfile: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build.xml

clean:

clean:
   [delete] Deleting directory C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\appengine
   [delete] Deleting directory C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build
   [delete] Deleting directory C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\reports

clean:

clean:

clean:

clean:
   [delete] Deleting directory C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\common
   [delete] Deleting directory C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build
   [delete] Deleting directory C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\reports

clean:
   [delete] Deleting directory C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\components
   [delete] Deleting directory C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build
   [delete] Deleting directory C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\reports
   [delete] Deleting directory C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build

BUILD SUCCESSFUL
Total time: 2 seconds
Picked up _JAVA_OPTIONS: -Xmx1024M

marzukulgumali@Marzuk MINGW64 ~/Documents/GitHub/appinventor-sources/appinventor (master)
$ ant
Buildfile: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build.xml

all:

init:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\appengine
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\classes
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\reports
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\reports\raw
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\reports\html

MakeWarLibsDir:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib

common_BlocksEditorHttpConstants:

init:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\common
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build\classes
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\reports
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\reports\raw
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\reports\html

BlocksEditorHttpConstants:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build\classes\BlocksEditorHttpConstants
    [javac] Compiling 1 source file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build\classes\BlocksEditorHttpConstants
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 4 warnings
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\common\BlocksEditorHttpConstants.jar
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\common\BlocksEditorHttpConstants-gwt.jar

common_CommonUtils:

init:

CommonUtils:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build\classes\CommonUtils
    [javac] Compiling 3 source files to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\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 C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build\classes\CommonUtils\com\google\appinventor\common\utils\package-info.class
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\common\CommonUtils.jar
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\common\CommonUtils-gwt.jar

common_CommonVersion:

init:

CommonVersion:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build\classes\CommonVersion
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build\src\com\google\appinventor\common\version
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build\src\com\google\appinventor\common\version
    [javac] Compiling 3 source files to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build\classes\CommonVersion
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 4 warnings
    [javac] Creating empty C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\common\build\classes\CommonVersion\com\google\appinventor\common\version\package-info.class
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\common\CommonVersion.jar
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\common\CommonVersion-gwt.jar

components_CommonConstants:

init:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\components
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\reports
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\reports\raw
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\reports\html

CommonConstants:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\CommonConstants
    [javac] Compiling 6 source files to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\CommonConstants
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 4 warnings
    [javac] Creating empty C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\CommonConstants\com\google\appinventor\components\common\package-info.class
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\components\CommonConstants.jar
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build\components\CommonConstants-gwt.jar

WarLibs:
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib
     [copy] Copying 11 files to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib

AiSharedLib:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\classes\AiSharedLib
    [javac] Compiling 87 source files to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\classes\AiSharedLib
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\AiSharedLib.jar
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib

AiServerLib:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\classes\AiServerLib
     [copy] Copying 2 files to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\classes\AiServerLib\com\google\appinventor\server
    [javac] Compiling 85 source files to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\classes\AiServerLib
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\src\com\google\appinventor\server\Whitelist.java:97: warning: unreachable catch clause
    [javac]     } catch (IOException e) {
    [javac]       ^
    [javac]   thrown type FileNotFoundException has already been caught
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\AiServerLib.jar
     [copy] Copying 1 file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib

components_JsonComponentDescription:

init:

CommonConstants:

ComponentProcessingLib:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\ComponentProcessingLib
    [javac] Compiling 25 source files to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\ComponentProcessingLib
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\src\com\google\appinventor\components\scripts\ComponentProcessor.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 warning
    [javac] Creating empty C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\ComponentProcessingLib\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\ComponentProcessingLib\com\google\appinventor\components\annotations\package-info.class
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\ComponentProcessingLib.jar

HtmlEntities:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\HtmlEntities
    [javac] Compiling 1 source file to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\HtmlEntities
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 4 warnings
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\HtmlEntities.jar

common_CommonUtils:

init:

CommonUtils:

AnnotationProcessors:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
    [javac] Compiling 7 source files to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\src\com\google\appinventor\components\scripts\ComponentProcessor.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 warning
    [javac] Creating empty C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\scripts\package-info.class
     [copy] Copying 22 files to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
      [jar] Building jar: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\AnnotationProcessors.jar

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:
    [mkdir] Created dir: C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\AndroidRuntime
    [javac] Compiling 221 source files to C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build\classes\AndroidRuntime
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\src\com\google\appinventor\components\runtime\VectorArithmetic.java:22: error: cannot find symbol
    [javac] @DesignerComponent(version = YaVersion.VECTORARITHMETIC_COMPONENT_VERSION,
    [javac]                                       ^
    [javac]   symbol:   variable VECTORARITHMETIC_COMPONENT_VERSION
    [javac]   location: class YaVersion
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 4 warnings

BUILD FAILED
C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build.xml:16: The following error occurred while executing this line:
C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build-common.xml:409: The following error occurred while executing this line:
C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\components\build.xml:122: The following error occurred while executing this line:
C:\Users\Abu Ammar\Documents\GitHub\appinventor-sources\appinventor\build-common.xml:118: Compile failed; see the compiler error output for details.

Total time: 25 seconds
Picked up _JAVA_OPTIONS: -Xmx1024M

marzukulgumali@Marzuk MINGW64 ~/Documents/GitHub/appinventor-sources/appinventor (master)
$

Evan Patton

unread,
Jun 28, 2017, 11:58:04 AM6/28/17
to App Inventor Open Source Development
The error is indicating that you are using this new field VECTORARITHMETIC_COMPONENT_VERSION but haven't actually defined it in YaVersion. If you are just doing this for an extension, you can supply an integer value, e.g., 1, for the version and see if the compilation succeeds. If this is not for an extension (e.g. ,as a PR to App Inventor core), add the appropriate definition to YaVersion and then update YA_VERSION by one to indicate the change in the language.

Evan

Baseer Ahmad

unread,
Jan 31, 2018, 5:01:16 AM1/31/18
to App Inventor Open Source Development
 
ihave the same problem

$ ant extensions
Buildfile: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\build.xml

extensions:

clean:

init:
    [mkdir] Created dir: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\build\buildserver
    [mkdir] Created dir: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\buildserver\build
    [mkdir] Created dir: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\buildserver\build\classes
    [mkdir] Created dir: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\buildserver\reports
    [mkdir] Created dir: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\buildserver\reports\raw
    [mkdir] Created dir: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\buildserver\reports\html

common_CommonUtils:

init:

CommonUtils:
    [mkdir] Created dir: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\common\build\classes\CommonUtils
    [javac] Compiling 3 source files to C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\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 C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\common\build\classes\CommonUtils\com\google\appinventor\common\utils\package-info.class
      [jar] Building jar: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\build\common\CommonUtils.jar
      [jar] Building jar: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\build\common\CommonUtils-gwt.jar

common_CommonVersion:

init:

CommonVersion:
    [mkdir] Created dir: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\common\build\classes\CommonVersion
     [exec] Result: 128
     [exec] Result: 128
    [mkdir] Created dir: C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\common\build\src\com\google\appinventor\common\version
     [copy] Copying 1 file to C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\common\build\src\com\google\appinventor\common\version
    [javac] Compiling 3 source files to C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\common\build\classes\CommonVersion

    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED
C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\build.xml:35: The following error occurred while executing this line:
C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\build-common.xml:360: The following error occurred while executing this line:
C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\common\build.xml:136: The following error occurred while executing this line:
C:\mit-cml-appinventor-sources-nls-1153-g7e4e6e0\mit-cml-appinventor-sources-7e4e6e0\appinventor\build-common.xml:125: Compile failed; see the compiler error output for details.

Baseer Ahmad

unread,
Jan 31, 2018, 5:02:10 AM1/31/18
to App Inventor Open Source Development
i have this problem please help me

Evan Patton

unread,
Feb 6, 2018, 4:57:55 PM2/6/18
to App Inventor Open Source Development
Hi Baseer,

We do not currently support building App Inventor with Java 9. You will need to install JDK 8 in order to build App Inventor until we can update.

Regards,
Evan
Reply all
Reply to author
Forward
0 new messages