sunny sand

Greenhorn
+ Follow
since Mar 30, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sunny sand

Hello,
I am following the How to build a mobile App with Google App Engine backend Tutorial at the following link: https://cloud.google.com/resources/articles/how-to-build-mobile-app-with-app-engine-backend-tutorial
I am trying to upload data from a file called places.csv to the App Engine data store. I have a upload_data.bat file whose contents are as follows :
python appcfg.py upload_data --config_file bulkloader.yaml --url="http://localhost:8888/remote_api" --filename $1 --kind=$2 -e nobody@nowhere.com

When I run this file from the command prompt I get the following error in appcfg.py :
Traceback (most recent call last):
File "appcfg.py", line 179, in <module>
DIR_PATH = get_dir_path(os.path.join('lib', 'ipaddr'))
File "appcfg.py", line 139, in get_dir_path
'directory' % gae_sdk_root)
ValueError: GAE_SDK_ROOT 'E:\\android-sdk\\adt-bundle-windows-x86_64-20130917\\eclipse\\plugins\\com.google.appengine.eclipse.sdkbundle_1.8.6\\appengine-java-sdk-1.8.6' does not refer to a valid SDK directory

I have installed the App Engine sdk as a plugin to eclipse and set the GAE_SDK_ROOT environment variable to :'E:\\android-sdk\\adt-bundle-windows-x86_64-20130917\\eclipse\\plugins\\com.google.appengine.eclipse.sdkbundle_1.8.6\\appengine-java-sdk-1.8.6\'

I don't understand why is it not able to find the SDK root there.

Please Help!!
10 years ago
Hey thanks paul.One more thing,how can I configure a bean in dispatcher-servlet.xml so that it resolves both tiles views as well as jsp views.We have tilesViewResolver and tilesConfigurer for tiles whereas UrlBasedViewResolver for simple mapping to jsps. Could I combine these two into one bean.
11 years ago
Can we use mvc:view-controller tag for displaying a tiles view.
Eg:If we have a tiles definition of the form <definition name="userLogon.page" template="webapp/app/layout/baseLayoutExterior.jsp" extends="basePageDefinition">
Can we write <mvc:view-controller path="/logon" view-name="userLogon.page"/> in our servlet.xml file.
I am getting an HTTP 404 RESOURCE NOT FOUND ERROR on this whereas a normal hello.jsp page is displayed without problems.
11 years ago
Can we use mvc:view-controller tag for displaying a tiles view.
Eg:If we have a tiles definition of the form <definition name="userLogon.page" template="webapp/app/layout/baseLayoutExterior.jsp" extends="basePageDefinition">
Can we write <mvc:view-controller path="/logon" view-name="userLogon.page"/> in our servlet.xml file.
I am getting an HTTP 404 RESOURCE NOT FOUND ERROR on this whereas a normal hello.jsp page is displayed without problems.
11 years ago