After ant clean, ant fails.
Please note, I've downloaded everything from git, two times now, here is what ant reports:
CheckBlocklyCompile:
BlocklyCompile:
[java] Exception in thread "main" java.lang.IllegalArgumentException: File not found at: /home/tomislav/Programiranje/MITAppInv/appinventor-sources/appinventor/blocklyeditor/../lib/closure-library/closure/goog
[java] at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
[java] at org.plovr.Manifest.getInputs(Manifest.java:393)
[java] at org.plovr.Manifest.getFiles(Manifest.java:369)
[java] at org.plovr.Manifest.getFiles(Manifest.java:363)
[java] at org.plovr.Manifest.getAllDependencies(Manifest.java:324)
[java] at org.plovr.Manifest.getInputsInCompilationOrder(Manifest.java:193)
[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)
BUILD FAILED
/home/tomislav/Programiranje/MITAppInv/appinventor-sources/appinventor/build.xml:16: The following error occurred while executing this line:
/home/tomislav/Programiranje/MITAppInv/appinventor-sources/appinventor/build-common.xml:284: The following error occurred while executing this line:
/home/tomislav/Programiranje/MITAppInv/appinventor-sources/appinventor/blocklyeditor/build.xml:63: Java returned: 1
OS is Ubuntu 16.04
At first I thought it may be because of the Auth Key, so I've rebuild one. Then I remembered that sometimes building BuildServer ( ant RunLocalBuildServer) before ant resolves problems, but this time it didn't.
Next I took a look at xml, this is what is in: /appinventor-sources/appinventor/blocklyeditor/build.xml
<target name="BlocklyCompile"
description="For now, compiling the Blockly editor means cat-ing its javascript together with the relevant javascript in the Blockly library"
depends="init,CheckBlocklyCompile"
unless="BlocklyCompile.uptodate">
<java failonerror="true" fork="true" jar="${lib.dir}/plovr/plovr-eba786b34df9.jar">
<arg line="build ploverConfig.js" />
</java>
</target>
Line number 63 is underlined.
After another ant clean and ant BlocklyTest, it returns basically the same thing:
CheckBlocklyCompile:
BlocklyCompile:
[java] Exception in thread "main" java.lang.IllegalArgumentException: File not found at: /home/tomislav/Programiranje/MITAppInv/appinventor-sources/appinventor/blocklyeditor/../lib/closure-library/closure/goog
[java] at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
[java] at org.plovr.Manifest.getInputs(Manifest.java:393)
[java] at org.plovr.Manifest.getFiles(Manifest.java:369)
[java] at org.plovr.Manifest.getFiles(Manifest.java:363)
[java] at org.plovr.Manifest.getAllDependencies(Manifest.java:324)
[java] at org.plovr.Manifest.getInputsInCompilationOrder(Manifest.java:193)
[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)
BUILD FAILED
/home/tomislav/Programiranje/MITAppInv/appinventor-sources/appinventor/build.xml:65: The following error occurred while executing this line:
/home/tomislav/Programiranje/MITAppInv/appinventor-sources/appinventor/blocklyeditor/build.xml:63: Java returned: 1
I am trying to build local AppInventor Instance, to test some extensions, does anyone have any idea what is the problem?
Thank you in advance