[appengine-java] Re: Can we use the bulkuploader on the local environment?

2011-05-19 Thread Heiko Roth
I am using JPA, but that's irrelevant.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Can we use the bulkuploader on the local environment?

2011-05-18 Thread arjun zacharia
Heiko,

Am using JDO for persistence. Can that be a problem? Are you using something
else like Objectify?

Arjun Abraham Zacharia

Feel wronged and powerless against unruly Vehicle drivers?

Log a complaint against autos, buses, cabs @ auto404.org
My profiles: [image:
Facebook]
Signature powered by

WiseStamp



On Wed, May 18, 2011 at 1:18 PM, arjun zacharia wrote:

> Heiko,
>
> It doesnt work for me. infact when i leave the application parameter , it
> says its mandatory for non appspot domains. Is this because of a different
> python sdk version?
>
> Regards,
>
>
>  Arjun Abraham Zacharia
>
> Feel wronged and powerless against unruly Vehicle drivers?
>
> Log a complaint against autos, buses, cabs @ 
> auto404.org
> My profiles: [image: 
> Facebook]
> Signature powered by
> 
> WiseStamp
>
>
>
> On Wed, May 18, 2011 at 12:01 PM, Heiko Roth  wrote:
>
>> download_data --url=http://127.0.0.1:/remote_api --filename=test --
>> email=m...@gmail.com --kind=Company
>>
>> works for me.
>> You don't need a password on local, just press enter on password
>> question.
>> And remove parameter --application. It's not necessary.
>>
>> Creation of bulkloader configuration doesn't work locally. Please read
>> the manual therefore.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> google-appengine-java@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Can we use the bulkuploader on the local environment?

2011-05-18 Thread arjun zacharia
Heiko,

It doesnt work for me. infact when i leave the application parameter , it
says its mandatory for non appspot domains. Is this because of a different
python sdk version?

Regards,

Arjun Abraham Zacharia

Feel wronged and powerless against unruly Vehicle drivers?

Log a complaint against autos, buses, cabs @ auto404.org
My profiles: [image:
Facebook]
Signature powered by

WiseStamp



On Wed, May 18, 2011 at 12:01 PM, Heiko Roth  wrote:

> download_data --url=http://127.0.0.1:/remote_api --filename=test --
> email=m...@gmail.com --kind=Company
>
> works for me.
> You don't need a password on local, just press enter on password
> question.
> And remove parameter --application. It's not necessary.
>
> Creation of bulkloader configuration doesn't work locally. Please read
> the manual therefore.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Can we use the bulkuploader on the local environment?

2011-05-17 Thread Heiko Roth
download_data --url=http://127.0.0.1:/remote_api --filename=test --
email=m...@gmail.com --kind=Company

works for me.
You don't need a password on local, just press enter on password
question.
And remove parameter --application. It's not necessary.

Creation of bulkloader configuration doesn't work locally. Please read
the manual therefore.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Can we use the bulkuploader on the local environment?

2011-05-17 Thread arjun zacharia
Heiko,

Thanks for the help.
Yes i have configured the python sdk and added the entries as mentioned. I
will test how it works on local db setup. I will consult you if i need help
Either ways i will let you know how my work went.

Thanks


On Tue, May 17, 2011 at 1:27 PM, Heiko Roth  wrote:

> You can add the remote_api Service into your java project.
> Just add the following lines to web.xml
>
>   
>   RemoteApiServlet
>class>com.google.apphosting.utils.remoteapi.RemoteApiServlet class>
>   
>   
>   RemoteApiServlet
>   /remote_api
>   
>
> Then you have to use appcfg.py, so you need the python sdk.
> You don't need a python project, just the sdk is enough.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Can we use the bulkuploader on the local environment?

2011-05-17 Thread Heiko Roth
You can add the remote_api Service into your java project.
Just add the following lines to web.xml

   
   RemoteApiServlet
   com.google.apphosting.utils.remoteapi.RemoteApiServlet
   
   
   RemoteApiServlet
   /remote_api
   

Then you have to use appcfg.py, so you need the python sdk.
You don't need a python project, just the sdk is enough.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Can we use the bulkuploader on the local environment?

2011-05-16 Thread Heiko Roth
Yes, you can.

http://code.google.com/intl/de-DE/appengine/docs/python/tools/uploadingdata.html#Downloading_and_Uploading_All_Data

appcfg.py download_data --url=http://127.0.0.1/[remote_api_path] --
filename= --kind=

appcfg.py upload_data --url=http://127.0.0.1/[remote_api_path] --
filename=

On local download, you have to set the kind parameter. On upload you
mustn't.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.