unable to find the webapp directory app engine\build\war (installing app inventor locally)

115 views
Skip to first unread message

Pablo Almeida

unread,
Apr 9, 2016, 8:27:16 PM4/9/16
to App Inventor Open Source Development
Hey, I'm following this tutorial https://docs.google.com/document/pub?id=1Xc9yt02x3BRoq5m1PJHBr81OOv69rEBy8LVG_84j9jc#h.6y8gcyo56euq to install app inventor on my computer instead of using app inventor's website.
Every thing was good until item 5.2 Building and Launching App Inventor
See the message that is appearing on CMD at the image attached.
I checked the folder and there aren't the folders build\war on appengine folder. Any idea of what to do about it? It didn't occur any problem during the instalation
fail.png

Mark Sherman

unread,
Apr 9, 2016, 9:43:16 PM4/9/16
to App Inventor Open Source Development
Did you run ant to build it first?

Thilanka Munasinghe

unread,
Apr 10, 2016, 1:29:47 AM4/10/16
to App Inventor Open Source Development
Hi Pablo,

Looks like it can not find the PATH. check that. you may have saved else where or may existing a duplicate folder with the same name.

Also for the stable version, I think we need to use a version below the appengin-java-sdk 1.9.27
you should be able to get it up and running locally, I was able to get it work on a Mac computer and a old windows machine as well. 

The other best solution is "Reinstall" from the beginning, make sure you clean all the folders and no remaining old files. 
You can fork it from the GitHub as well, There is a nice tutorial done by Jose Dominguez 
http://josmas.github.io/contributingToAppInventor2/#/

This might help you as well for the Windows installation (Probably you may have seen this before I guess) 
Let us know how if come across with more problems/challenges, Happy to share the experience 

Best of Luck

Thilanka Munasinghe

Pablo Almeida

unread,
Apr 10, 2016, 1:45:36 AM4/10/16
to app-inventor-o...@googlegroups.com
You are right, Mark, I forgot that step. Trying again here, thank you so
much!

Pablo Almeida

unread,
Apr 10, 2016, 2:05:50 AM4/10/16
to App Inventor Open Source Development
Oh now I got an error during the building:
BUILDING FAILED, see the image attached for the details.
What should I do now?

@Thilanka thanks, I used that version because it was recommended on the tutorial. May be I install the last version after a few days.


Pablo Almeida

unread,
Apr 10, 2016, 2:56:48 AM4/10/16
to App Inventor Open Source Development
Oh I figured it out. I'm using Java 8 and App Inventor demands Java 7.
--
You received this message because you are subscribed to a topic in the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/app-inventor-open-source-dev/lKBb3qHWlX0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to app-inventor-open-so...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at https://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.

Thilanka Munasinghe

unread,
Apr 10, 2016, 3:38:30 AM4/10/16
to app-inventor-o...@googlegroups.com
Glad that it is working Pablo, Best of Luck .. 


Pablo Almeida

unread,
Apr 10, 2016, 3:49:42 PM4/10/16
to app-inventor-o...@googlegroups.com
OMG, today I tried again after installing java 7 (version 1.7.0_79) and it didn't work :(
Any ideas?
ant fail building 2.jpg

Thilanka Munasinghe

unread,
Apr 10, 2016, 11:56:58 PM4/10/16
to App Inventor Open Source Development
Hi Pablo,

Looks like Java VM (Virtual Machine) was not installed properly due to not enough memory on heap (as it says on the error message). 
Try cleaning out some large files from your computer also empty recycle bin on unwanted large files. Make sure you have installed Java 7 properly, This might help ! 
Best of Luck 

Thilanka



On Sunday, April 10, 2016 at 5:57:16 AM UTC+5:30, Pablo Almeida wrote:

Mark Sherman

unread,
Apr 11, 2016, 8:06:30 AM4/11/16
to App Inventor Open Source Development
Heap is RAM, not disk storage. From a quick googling, it looks like Java doesn't always allocate enough RAM for itself, and you can force it to allocate more. 
For example:

This is one of the reasons java should go away.

--

Thilanka Munasinghe

unread,
Apr 12, 2016, 12:49:02 AM4/12/16
to app-inventor-o...@googlegroups.com
@ Mark Sherman, 

you are correct, Its good that you corrected me and pointed out. Appreciate that

yours humbly,

Thilanka 
Reply all
Reply to author
Forward
0 new messages