Hello, I am trying to get a development environment up and running using Vagrant.
To do so, I am following the Readme on GitHub
But the ant
command fails with the following error.
BlocklyCompile:
[java] Exception in thread "main" java.lang.IllegalArgumentException: File not found at: /vagrant/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
/vagrant/appinventor/build.xml:16: The following error occurred while executing this line:
/vagrant/appinventor/build-common.xml:299: The following error occurred while executing this line:
/vagrant/appinventor/blocklyeditor/build.xml:120: Java returned: 1
Total time: 2 minutes 44 seconds
The versions of java and ant are as follows:
vagrant@ubuntu-bionic:/vagrant/appinventor$ java -version
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1~18.04-b07)
OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)
vagrant@ubuntu-bionic:/vagrant/appinventor$ ant -version
Apache Ant(TM) version 1.10.5 compiled on March 28 2019
vagrant@ubuntu-bionic:/vagrant/appinventor$
Please guide me.