How to change block color of own appinventor?
I open blockcolor.js and edit color for blocks but when I open localhost I do not see changes in any blocks even If I remove all codes from blockcolor.js then still nothing happen
Hello @Faraz_Firoz,
Changes to any of the Appinventor modules requires rebuilding to take place, if you only edit the files, the developer server will not automatically change to apply the new changes, you will need to recompile the modified module first.
You can recompile the sources by running the: ant
command, if your changes affects the components method signatures or the buildserver, you will additionally need to run ant clean
first, and recompile all the modules again.
Notice: Don't remove the complete code of any source files unless you are absolutely sure it's not being used anywhere else, this could cause the sources to break!
Getting this error I am getting error in mutator.js but I do not edit anything in mutator.js
BlocklyCompile:
[java] Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\..\lib\blockly\core\mutator.js (The system cannot find the path specified)
[java] at org.plovr.JsSourceFile.getCode(JsSourceFile.java:24)
[java] at org.plovr.AbstractJsInput.processProvidesAndRequires(AbstractJsInput.java:113)
[java] at org.plovr.AbstractJsInput.getProvides(AbstractJsInput.java:83)
[java] at org.plovr.Manifest.getProvideToSource(Manifest.java:214)
[java] at org.plovr.Manifest.getInputsInCompilationOrder(Manifest.java:196)
[java] at org.plovr.Manifest.getCompilerArguments(Manifest.java:177)
[java] at org.plovr.CompileRequestHandler.compile(CompileRequestHandler.java:94)
[java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:58)
[java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:31)
[java] at org.plovr.cli.AbstractCommandRunner.runCommand(AbstractCommandRunner.java:41)
[java] at org.plovr.cli.Command.execute(Command.java:47)
[java] at org.plovr.cli.Main.mainWithExitCode(Main.java:56)
[java] at org.plovr.cli.Main.main(Main.java:30)
[java] Caused by: java.io.FileNotFoundException: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\..\lib\blockly\core\mutator.js (The system cannot find the path specified)
[java] at java.io.FileInputStream.open0(Native Method)
[java] at java.io.FileInputStream.open(FileInputStream.java:195)
[java] at java.io.FileInputStream.<init>(FileInputStream.java:138)
[java] at com.google.common.io.Files$1.getInput(Files.java:105)
[java] at com.google.common.io.Files$1.getInput(Files.java:102)
[java] at com.google.common.io.ByteStreams.toByteArray(ByteStreams.java:249)
[java] at com.google.common.io.Files.toByteArray(Files.java:197)
[java] at com.google.common.io.Files.toString(Files.java:223)
[java] at org.plovr.io.Files.toString(Files.java:12)
[java] at org.plovr.JsSourceFile.getCode(JsSourceFile.java:22)
[java] ... 12 more
BUILD FAILED
C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml:16: The following error occurred while executing this line:
C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build-common.xml:299: The following error occurred while executing this line:
C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build.xml:120: Java returned: 1
Total time: 1 minute 4 seconds
But what is the need of mutator.js ?
Idk, I do not know
then what do you want to chage there?
See my message properly, I do not change anything in mutator.js but I am getting error in mutator.js
Were you able to build App Inventor prior to making any modifications? mutator.js is part of the Blockly library, which is set up when you run the git submodule update --init
command. Normally, your build would fall flat for other reasons before this point, so I expect that either you ran git submodule deinit .
at some point or the mutator.js file has been removed from your file system for whatever reason. What does the output of git status
say?
@ewpatton sir See this
Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources (master)
$ git status
Refresh index: 100% (5713/5713), done.
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: appinventor/appengine/war/login.jsp
modified: appinventor/blocklyeditor/build.xml
modified: appinventor/blocklyeditor/src/blockColors.js
modified: appinventor/blocklyeditor/src/demos/yail/index.html
modified: appinventor/build-common.xml
modified: appinventor/docs/markdown/reference/components/animation.md
modified: appinventor/docs/markdown/reference/components/connectivity.md
modified: appinventor/docs/markdown/reference/components/experimental.md
modified: appinventor/docs/markdown/reference/components/layout.md
modified: appinventor/docs/markdown/reference/components/legomindstorms.md
modified: appinventor/docs/markdown/reference/components/maps.md
modified: appinventor/docs/markdown/reference/components/media.md
modified: appinventor/docs/markdown/reference/components/sensors.md
modified: appinventor/docs/markdown/reference/components/social.md
modified: appinventor/docs/markdown/reference/components/storage.md
modified: appinventor/docs/markdown/reference/components/userinterface.md
modified: appinventor/lib/closure-library (modified content, untracked content)
no changes added to commit (use "git add" and/or "git commit -a")
Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources (master)
$ git pull origin master
From https://github.com/mit-cml/appinventor-sources
* branch master -> FETCH_HEAD
Already up to date.
Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources (master)
$ git submodule deinit --all
warning: Could not unset core.worktree setting in submodule 'appinventor/lib/blockly'
Cleared directory 'appinventor/lib/blockly'
error: the following file has local modifications:
appinventor/lib/closure-library
(use --cached to keep the file, or -f to force removal)
fatal: Submodule work tree 'appinventor/lib/closure-library' contains local modifications; use '-f' to discard them
Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources (master)
$ git submodule update --init
Submodule 'appinventor/lib/blockly' (https://github.com/mit-cml/blockly.git) registered for path 'appinventor/lib/blockly'
Submodule path 'appinventor/lib/blockly': checked out '5d60450d9804327b37e5c99d6cb294d085579358'
You should never need to do git submodule deinit --all
during normal development. This step is only necessary when switching to a branch that forked from before we switched to using submodules.
So what I need to do sir
Pleease anyone tell me what I need to do
You can stop spamming and wait for an answer.
I'd suggest running git submodule update --init
again just to be safe and then try ant clean all
.
Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources (master) $ git submodule update --init Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources (master) $
Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources/appinventor (master) $ ant clean all Buildfile: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml clean: clean: [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\appengine [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\reports clean: [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\blocklyeditor [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\reports clean: clean: clean: [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\reports clean: [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\reports [delete] Deleting directory C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build all: init: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\appengine [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\classes [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\reports [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\reports\raw [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\reports\html MakeWarLibsDir: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib common_CommonUtils: init: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\reports [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\reports\raw [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\reports\html CommonUtils: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes\CommonUtils [javac] Compiling 3 source files to C:\Users\Afroz Ahmad\Desktop\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\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes\CommonUtils\com\google\appinventor\common\utils\package-info.class [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common\CommonUtils.jar [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common\CommonUtils-gwt.jar common_CommonVersion: init: CommonVersion: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes\CommonVersion [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\src\com\google\appinventor\common\version [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\src\com\google\appinventor\common\version [javac] Compiling 3 source files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\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 C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\common\build\classes\CommonVersion\com\google\appinventor\common\version\package-info.class [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common\CommonVersion.jar [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\common\CommonVersion-gwt.jar components_CommonConstants: init: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\reports [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\reports\raw [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\reports\html CommonConstants: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\CommonConstants [javac] Compiling 35 source files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\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 C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\CommonConstants\com\google\appinventor\components\common\package-info.class [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\CommonConstants.jar [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\CommonConstants-gwt.jar WarLibs: [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib [copy] Copying 11 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib AiSharedLib: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\classes\AiSharedLib [javac] Compiling 78 source files to C:\Users\Afroz Ahmad\Desktop\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\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\AiSharedLib.jar [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib AiServerLib: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\classes\AiServerLib [copy] Copying 4 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\classes\AiServerLib\com\google\appinventor\server [javac] Compiling 69 source files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\classes\AiServerLib [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7 [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. [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\AiServerLib.jar [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\lib components_AndroidRuntime: common_CommonVersion: init: CommonVersion: init: HtmlEntities: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\HtmlEntities [javac] Compiling 1 source file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\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: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\HtmlEntities.jar Barcode: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\Barcode [javac] Compiling 40 source files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\Barcode [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7 [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\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps\Barcode.jar CopyComponentLibraries: [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps\armeabi-v7a [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps\arm64-v8a [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps\x86_64 [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 63 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 2 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\deps common_CommonUtils: init: CommonUtils: CommonConstants: AnnotationProcessors: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors [javac] Compiling 43 source files to C:\Users\Afroz Ahmad\Desktop\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\Afroz Ahmad\Desktop\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] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\androidmanifest\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\annotations\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors\com\google\appinventor\components\scripts\package-info.class [copy] Copying 22 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AnnotationProcessors [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\AnnotationProcessors.jar AndroidRuntime.uptodate: AndroidRuntime: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime [javac] Compiling 316 source files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7 [javac] Note: Wrote file file:/C:/Users/Afroz%20Ahmad/Desktop/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components.json [javac] Note: Wrote file file:/C:/Users/Afroz%20Ahmad/Desktop/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components.txt [javac] Note: Wrote file file:/C:/Users/Afroz%20Ahmad/Desktop/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/simple_components_build_info.json [javac] Note: Wrote file file:/C:/Users/Afroz%20Ahmad/Desktop/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/AutogeneratedOdeMessages.java [javac] Note: Wrote file file:/C:/Users/Afroz%20Ahmad/Desktop/appinventor-sources/appinventor/components/build/classes/AndroidRuntime/ComponentsTranslation.java [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] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\util\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\androidmanifest\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\collect\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\annotations\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\components\build\classes\AndroidRuntime\com\google\appinventor\components\runtime\errors\package-info.class [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\AndroidRuntime.jar [copy] Copying 3 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\ComponentTranslation\src\com\google\appinventor\client [copy] Copying 2 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\components\ComponentTranslation\src\com\google\appinventor\client [copy] Copying 11 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\docs\markdown\reference\components AiClientLib: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes [javac] Compiling 398 source files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes [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] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\youngandroid\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\commands\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\boxes\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\project\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\explorer\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid\palette\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\palette\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\components\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\simple\package-info.class [javac] Creating empty C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor\client\editor\youngandroid\properties\package-info.class [copy] Copying 1 file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes\com\google\appinventor [copy] Copying 163 files to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes [copy] Copied 15 empty directories to 9 empty directories under C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\war\WEB-INF\classes AiRebindLib: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\classes\AiRebindLib [javac] Compiling 1 source file to C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\classes\AiRebindLib [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7 [javac] 1 warning [jar] Building jar: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\appengine\build\AiRebindLib.jar blocklyeditor_BlocklyTranslationGenerator: CheckBlocklyTranslations: init: [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build\blocklyeditor [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build\classes [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\reports [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\reports\raw [mkdir] Created dir: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\reports\html CheckBlocklyCompile: BlocklyCompile: [java] org.plovr.MissingProvideException: Missing provide for goog.events in ../lib/blockly/core/touch.js [java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:298) [java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306) [java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306) [java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306) [java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306) [java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306) [java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306) [java] at org.plovr.Manifest.buildDependencies(Manifest.java:280) [java] at org.plovr.Manifest.getInputsInCompilationOrder(Manifest.java:204) [java] at org.plovr.Manifest.getCompilerArguments(Manifest.java:177) [java] at org.plovr.CompileRequestHandler.compile(CompileRequestHandler.java:94) [java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:58) [java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:31) [java] at org.plovr.cli.AbstractCommandRunner.runCommand(AbstractCommandRunner.java:41) [java] at org.plovr.cli.Command.execute(Command.java:47) [java] at org.plovr.cli.Main.mainWithExitCode(Main.java:56) [java] at org.plovr.cli.Main.main(Main.java:30) [java] Exception in thread "main" java.lang.NullPointerException [java] at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187) [java] at org.plovr.cli.BuildCommand.processResult(BuildCommand.java:79) [java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:63) [java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:31) [java] at org.plovr.cli.AbstractCommandRunner.runCommand(AbstractCommandRunner.java:41) [java] at org.plovr.cli.Command.execute(Command.java:47) [java] at org.plovr.cli.Main.mainWithExitCode(Main.java:56) [java] at org.plovr.cli.Main.main(Main.java:30) BUILD FAILED C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml:16: The following error occurred while executing this line: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build-common.xml:299: The following error occurred while executing this line: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build.xml:120: Java returned: 1 Total time: 1 minute 4 seconds
Default Block Colors are defined in this file
Component's block colors are defined in this file
after changing the value you need to recompile source code
That's really great finding!
I copy paste these scripts but
Afroz_Ahmad@LAPTOP-1G90T038 MINGW64 ~/Desktop/appinventor-sources/appinventor (master)
$ ant
Buildfile: C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml
all:
init:
MakeWarLibsDir:
common_CommonUtils:
init:
CommonUtils:
common_CommonVersion:
init:
CommonVersion:
components_CommonConstants:
init:
CommonConstants:
WarLibs:
AiSharedLib:
AiServerLib:
components_AndroidRuntime:
common_CommonVersion:
init:
CommonVersion:
init:
HtmlEntities:
Barcode:
CopyComponentLibraries:
common_CommonUtils:
init:
CommonUtils:
CommonConstants:
AnnotationProcessors:
AndroidRuntime.uptodate:
AndroidRuntime:
AiClientLib:
AiRebindLib:
blocklyeditor_BlocklyTranslationGenerator:
CheckBlocklyTranslations:
init:
CheckBlocklyCompile:
BlocklyCompile:
[java] org.plovr.MissingProvideException: Missing provide for goog.events in ../lib/blockly/core/touch.js
[java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:298)
[java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
[java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
[java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
[java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
[java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
[java] at org.plovr.Manifest.buildDependenciesInternal(Manifest.java:306)
[java] at org.plovr.Manifest.buildDependencies(Manifest.java:280)
[java] at org.plovr.Manifest.getInputsInCompilationOrder(Manifest.java:204)
[java] at org.plovr.Manifest.getCompilerArguments(Manifest.java:177)
[java] at org.plovr.CompileRequestHandler.compile(CompileRequestHandler.java:94)
[java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:58)
[java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:31)
[java] at org.plovr.cli.AbstractCommandRunner.runCommand(AbstractCommandRunner.java:41)
[java] at org.plovr.cli.Command.execute(Command.java:47)
[java] at org.plovr.cli.Main.mainWithExitCode(Main.java:56)
[java] at org.plovr.cli.Main.main(Main.java:30)
[java] Exception in thread "main" java.lang.NullPointerException
[java] at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
[java] at org.plovr.cli.BuildCommand.processResult(BuildCommand.java:79)
[java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:63)
[java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:31)
[java] at org.plovr.cli.AbstractCommandRunner.runCommand(AbstractCommandRunner.java:41)
[java] at org.plovr.cli.Command.execute(Command.java:47)
[java] at org.plovr.cli.Main.mainWithExitCode(Main.java:56)
[java] at org.plovr.cli.Main.main(Main.java:30)
BUILD FAILED
C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build.xml:16: The following error occurred while executing this line:
C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\build-common.xml:299: The following error occurred while executing this line:
C:\Users\Afroz Ahmad\Desktop\appinventor-sources\appinventor\blocklyeditor\build.xml:120: Java returned: 1
Total time: 38 seconds