Unable to build extensions

54 views
Skip to first unread message

Pavitra

unread,
May 9, 2017, 6:39:40 PM5/9/17
to App Inventor Open Source Development
Hi, today, after syncing with the latest commits, extensions are not being generated.

I get an empty folder upon building.

Buildfile: F:\Thunkable\appinventor-sources\appinventor\build.xml

extensions:

clean:
   [delete] Deleting directory F:\Thunkable\appinventor-sources\appinventor\build\components
   [delete] Deleting directory F:\Thunkable\appinventor-sources\appinventor\components\build
   [delete] Deleting directory F:\Thunkable\appinventor-sources\appinventor\components\reports

init:

common_CommonUtils:

init:

CommonUtils:

common_CommonVersion:

init:

CommonVersion:

CopyToRunLibDir:

components_AndroidRuntime:

init:
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\build\components
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\classes
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\reports
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\reports\raw
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\reports\html

CommonConstants:
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\classes\CommonConstants
    [javac] Compiling 6 source files to F:\Thunkable\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 F:\Thunkable\appinventor-sources\appinventor\components\build\classes\CommonConstants\com\google\appinventor\components\common\package-info.class
      [jar] Building jar: F:\Thunkable\appinventor-sources\appinventor\build\components\CommonConstants.jar
      [jar] Building jar: F:\Thunkable\appinventor-sources\appinventor\build\components\CommonConstants-gwt.jar

HtmlEntities:
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\classes\HtmlEntities
    [javac] Compiling 1 source file to F:\Thunkable\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: F:\Thunkable\appinventor-sources\appinventor\components\build\HtmlEntities.jar

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\classes\AndroidRuntime
    [javac] Compiling 222 source files to F:\Thunkable\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] 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] 4 warnings
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\util\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\collect\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\errors\package-info.class
      [jar] Building jar: F:\Thunkable\appinventor-sources\appinventor\build\components\AndroidRuntime.jar

components_Barcode:

Barcode:
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\classes\Barcode
    [javac] Compiling 40 source files to F:\Thunkable\appinventor-sources\appinventor\components\build\classes\Barcode
    [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] 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] 4 warnings
      [jar] Building jar: F:\Thunkable\appinventor-sources\appinventor\build\components\Barcode.jar

components_ComponentList:

init:

CommonConstants:

ComponentProcessingLib:
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ComponentProcessingLib
    [javac] Compiling 25 source files to F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ComponentProcessingLib
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: F:\Thunkable\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 F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ComponentProcessingLib\com\google\appinventor\components\annotations\androidmanifest\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ComponentProcessingLib\com\google\appinventor\components\annotations\package-info.class
      [jar] Building jar: F:\Thunkable\appinventor-sources\appinventor\components\build\ComponentProcessingLib.jar

HtmlEntities:

common_CommonUtils:

init:

CommonUtils:

AnnotationProcessors:
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
    [javac] Compiling 7 source files to F:\Thunkable\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
    [javac] Note: F:\Thunkable\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 F:\Thunkable\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\scripts\package-info.class
     [copy] Copying 22 files to F:\Thunkable\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors
      [jar] Building jar: F:\Thunkable\appinventor-sources\appinventor\components\build\AnnotationProcessors.jar

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:
    [javac] Compiling 2 source files to F:\Thunkable\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] Note: F:\Thunkable\appinventor-sources\appinventor\components\src\pavitra\Fab.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 4 warnings
      [jar] Building jar: F:\Thunkable\appinventor-sources\appinventor\build\components\AndroidRuntime.jar

Barcode:

ComponentList:
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ComponentList
    [javac] Compiling 198 source files to F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ComponentList
    [javac] Number of elements = 182
    [javac] warning: No SupportedSourceVersion annotation found on com.google.appinventor.components.scripts.ComponentListGenerator, returning RELEASE_6.
    [javac] warning: Supported source version 'RELEASE_6' from annotation processor 'com.google.appinventor.components.scripts.ComponentListGenerator' less than -source '1.8'
    [javac] warning: In component NearField, event TagWritten is missing a description.
    [javac] warning: In component Pedometer, event StartedMoving is missing a description.
    [javac] warning: In component Pedometer, event StoppedMoving is missing a description.
    [javac] warning: In component Pedometer, event CalibrationFailed is missing a description.
    [javac] warning: In component Pedometer, event GPSAvailable is missing a description.
    [javac] warning: In component Pedometer, event GPSLost is missing a description.
    [javac] Note: Wrote file file:/F:/Thunkable/appinventor-sources/appinventor/components/build/classes/ComponentList/simple_components.txt
    [javac] Note: Wrote file file:/F:/Thunkable/appinventor-sources/appinventor/components/build/classes/ComponentList/simple_components_build_info.json
    [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] 8 warnings
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ComponentList\com\google\appinventor\components\runtime\util\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ComponentList\com\google\appinventor\components\runtime\collect\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ComponentList\com\google\appinventor\components\runtime\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ComponentList\com\google\appinventor\components\runtime\errors\package-info.class
     [copy] Copying 1 file to F:\Thunkable\appinventor-sources\appinventor\build\components
     [copy] Copying 1 file to F:\Thunkable\appinventor-sources\appinventor\build\components

BuildServer:
     [copy] Copying 4 files to F:\Thunkable\appinventor-sources\appinventor\buildserver\build\classes\BuildServer\files
      [jar] Building jar: F:\Thunkable\appinventor-sources\appinventor\buildserver\build\run\lib\BuildServer.jar

init:

CommonConstants:

HtmlEntities:

common_CommonVersion:

init:

CommonVersion:

AndroidRuntime:
    [javac] Compiling 2 source files to F:\Thunkable\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] Note: F:\Thunkable\appinventor-sources\appinventor\components\src\pavitra\Fab.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 4 warnings
      [jar] Building jar: F:\Thunkable\appinventor-sources\appinventor\build\components\AndroidRuntime.jar

ComponentProcessingLib:

common_CommonUtils:

init:

CommonUtils:

AnnotationProcessors:

JsonComponentDescription:
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\classes\JsonComponentDescription
    [javac] Compiling 198 source files to F:\Thunkable\appinventor-sources\appinventor\components\build\classes\JsonComponentDescription
    [javac] Number of elements = 182
    [javac] warning: No SupportedSourceVersion annotation found on com.google.appinventor.components.scripts.ComponentDescriptorGenerator, returning RELEASE_6.
    [javac] warning: Supported source version 'RELEASE_6' from annotation processor 'com.google.appinventor.components.scripts.ComponentDescriptorGenerator' less than -source '1.8'
    [javac] warning: In component NearField, event TagWritten is missing a description.
    [javac] warning: In component Pedometer, event StartedMoving is missing a description.
    [javac] warning: In component Pedometer, event StoppedMoving is missing a description.
    [javac] warning: In component Pedometer, event CalibrationFailed is missing a description.
    [javac] warning: In component Pedometer, event GPSAvailable is missing a description.
    [javac] warning: In component Pedometer, event GPSLost is missing a description.
    [javac] Note: Wrote file file:/F:/Thunkable/appinventor-sources/appinventor/components/build/classes/JsonComponentDescription/simple_components.json
    [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] 8 warnings
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\JsonComponentDescription\com\google\appinventor\components\runtime\util\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\JsonComponentDescription\com\google\appinventor\components\runtime\collect\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\JsonComponentDescription\com\google\appinventor\components\runtime\package-info.class
    [javac] Creating empty F:\Thunkable\appinventor-sources\appinventor\components\build\classes\JsonComponentDescription\com\google\appinventor\components\runtime\errors\package-info.class
     [copy] Copying 1 file to F:\Thunkable\appinventor-sources\appinventor\build\components

Barcode:

ComponentList:
    [javac] Compiling 2 source files to F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ComponentList
    [javac] Number of elements = 0
    [javac] warning: No SupportedSourceVersion annotation found on com.google.appinventor.components.scripts.ComponentListGenerator, returning RELEASE_6.
    [javac] warning: Supported source version 'RELEASE_6' from annotation processor 'com.google.appinventor.components.scripts.ComponentListGenerator' less than -source '1.8'
    [javac] Note: Wrote file file:/F:/Thunkable/appinventor-sources/appinventor/components/build/classes/ComponentList/simple_components.txt
    [javac] Note: Wrote file file:/F:/Thunkable/appinventor-sources/appinventor/components/build/classes/ComponentList/simple_components_build_info.json
    [javac] Note: F:\Thunkable\appinventor-sources\appinventor\components\src\pavitra\Fab.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 2 warnings
     [copy] Copying 1 file to F:\Thunkable\appinventor-sources\appinventor\build\components
     [copy] Copying 1 file to F:\Thunkable\appinventor-sources\appinventor\build\components

ExternalComponentGenerator:
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ExternalComponentGenerator
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\externalComponents
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\externalComponents-class
    [javac] Compiling 1 source file to F:\Thunkable\appinventor-sources\appinventor\components\build\classes\ExternalComponentGenerator
    [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
     [java]
     [java] Extensions : Generating extensions

unjarAllExtensionLibraries:

jarAllExtensions:

dexAllExtensions:

extensions:
    [mkdir] Created dir: F:\Thunkable\appinventor-sources\appinventor\components\build\extensions

BUILD SUCCESSFUL
Total time: 53 seconds



Evan Patton

unread,
May 9, 2017, 7:04:28 PM5/9/17
to App Inventor Open Source Development
Hi Pavitra,

This is a known issue as we are in the process of upgrading the extensions system. You will have to temporarily roll back to commit 409fc9cc in order to build extensions that will work with App Inventor production and its derivatives. We will be sending an announcement out soon with details about the upgraded extensions mechanism once we are finished. Expect more updates over the next few days.

Regards,
Evan

Evan Patton

unread,
May 25, 2017, 1:58:22 PM5/25/17
to App Inventor Open Source Development
This should be fixed on the latest master.

Evan
Reply all
Reply to author
Forward
0 new messages