[appengine-java] Application Title available?
Is the Application title accessible using the SDK? I guess not, but Maybe Google can make in available in the Environment class. -- 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] DWR 3 doesn't work
Hi, I saw that DWR works on GAE. But whezn I do my test, I've this error: java.lang.NoClassDefFoundError: javax.swing.event.EventListenerList is a restricted class. Please see the Google App Engine developer's guide for more details. Is there a specific configuration or specific changes to the library make it work ? Thank you and good day -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/TDR3b1l0T3cySGdK. 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: Aw: newbie question: redirect users (GWT 2.3.0)
Have a look at the History and Places examples of GWT. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/Y0FwaENsbldQQmtK. 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: the id allocated for a new entity was already in use, please try again.
Hello Ronoaldo, Thanks a lot :). That really fixed the issue. It is a very tricky one. Regards -Aswath www.AccountingGuru.in 2011/6/2 Ronoaldo José de Lana Pereira > Hi Aswath, > > I guess that you have to allocate Ids, since you are setting the ids from > the entities manually when you do the copy between namespaces. Try this: > > DatastoreService ds = DatastoreServiceFactory.getDatastoreService(); > > // Before you put your entity: > KeyRange range = new KeyRange(p.getParent(), p.getKind(), > p.getKey().getId(), p.getKey().getId()); > ds.allocateIdRange(range); > > For each entity that you copy from one namespace to another one. I did this > trick and stopped getting those errors. > > Best Regards, > -- 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: Application Title available?
It would also be nice to add non-ascii characters to the Application's title, since it is usually used to display the application name for Google Accounts and OAuth. This is just a nice feature for non-English apps. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/dHdLNWkzZ0FhMzBK. 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: Java Backends not working
as I said before something wrong with the upload if you do not see any backends on the dashboard. The version of the xml file I gave you is a working file. Did you see this page http://www.pdjamez.com/2011/05/google-app-engine-backends/ Has very good stuff. Also you need to upload your backend from command prompt . C:\Program Files\eclipse-jee-galileo-win32\eclipse\plugins\com.google.appengine. eclipse.sdkbundle_1.5.0.r35v201105092302\appengine-java-sdk-1.5.0\bin>appcfg backends C:\MyApp\war update -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/ZkF6bFpxWWd5amtK. 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: When to use a String as ID? (using Objectify and GWT)
Make sure you understand the concepts of natural vs synthetic keys. Then, you may also consider using a String instead of a Long as your synthetic primary keys. Using the string representation of a UUID as a synthetic key will also allow you to do things like you mentionnned, eg creating relation before you commit a new entity. If you are willing to forgo a little in terms of performance and storage, UUIDs are great. Other advantages include: - no collisions on import/merge of schema data - no need to reserve ids to store sourcing data - secure urls as those uuids cannot be guessed - ids can be generared at the service layer instead of relying on the datastore - more portable externally as a datastore agnostic pk representation. You don't want the caller to have to know about a GAE Key. - the namespace and parent hierarcky (entity groups) can be encoded in the string key R. On Jun 2, 12:06 pm, Jeff Schnitzer wrote: > This is the classic "synthetic key vs natural key" debate, and the > general consensus is that synthetic keys are almost always the way to > go. For exactly the reasons you describe. Yup, I think you answered > your own question :-) > > Jeff > > > > On Thu, Jun 2, 2011 at 4:21 AM, Drew Spencer wrote: > > Hi coders, > > I have a little quandary here - I'm in the early stages of developing an app > > that in essence, manages the details of companies. The 'main' objects as it > > were, are accounts (ie a client of ours - it's a bit like a CRM system) > > I decided to use the company name as the unique ID, but now this is causing > > problems for when I want to change the name of the company (this does happen > > quite a lot). > > I have been modifying Chris Ramsdale's Contacts MVP tutorial with some > > success over the last couple of days, but I find that when I try to update a > > contact by changing the company name or phone number, it simply adds in a > > new one and leaves the old one there (because the IDs are different the put > > doesn't overwrite the old one, whereas if they both had the same Long ID > > they could have different details on the name and phoneNumber fields but > > still the same unique identifier (@Id)). > > Now I COULD hack it and pass in the old account name, delete that one and > > create a new account, but that seems like it's going to cause all manner of > > problems. > > Anyone got any suggestions, or am I answering my own question here? Long IDs > > seem the way to go, but I like the fact that when I use my company name > > string I don't have to perform a put() before I start adding lists of keys > > to it, or is this just a minor thing? > > Thanks > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To view this discussion on the web visit > >https://groups.google.com/d/msg/google-appengine-java/-/UVJrWjhNODVqdW9K. > > 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] DWR 3 doesn't work
Look at the entry for ItsNat: http://code.google.com/p/googleappengine/wiki/WillItPlayInJava On 2011-06-03 03:35, draks wrote: Hi, I saw that DWR works on GAE. But whezn I do my test, I've this error: java.lang.NoClassDefFoundError: javax.swing.event.EventListenerList is a restricted class. Please see the Google App Engine developer's guide for more details. Is there a specific configuration or specific changes to the library make it work? Thank you and good day -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/TDR3b1l0T3cySGdK. 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] Can't create application - SMS says account already verified
Plus I get this error message "*← The phone number has been sent too many messages or has already been used to confirm an account." * * * -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/a3pYYUxSNWdwUzBK. 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] Can't create application - SMS says account already verified
As the message suggests, it seems that you can't confirm two accounts with the same phone number. When I got those messages, using another phone number did the trick. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/alNCUlFkaWdjdTRK. 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] Can't create application - SMS says account already verified
That would be an option if I had more than 1 phone number. All I have is my cell phone number. I had an email account with the wifey which was registered with my cell. I opened up my own account which also has my cell. can I un-register my cell with one of the two accounts or am I just screwed? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/VklhSlRkbU5QNTRK. 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] Can't create application - SMS says account already verified
Sorry Joe, I don't know if you can unregister your phone number. I didn't found this kind of option. Ikai, any tips? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/VjFiMy1VRmFiYmNK. 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] DWR 3 doesn't work
Hi, > http://code.google.com/p/googleappengine/wiki/WillItPlayInJava > I saw that DWR works on GAE. But whezn I do my test, I've this error: This lists Version(s) 2.0.5, 3.0 RC1 as COMPATIBLE I don't know all the details of 2.0.5 but 3.0RC1 creates threads to do session cleanup and that will just not fly on appengine. http://dwr.2114559.n2.nabble.com/Google-AppEngine-GAE-appengine-was-Re-dwr-user-Tutorials-and-Examples-are-broken-td5316120.html also See http://dwr.2114559.n2.nabble.com/DWR3RC1-threads-td2646984.html Unless backends allows threads or the appengine sdk has changed without me seeing, then having looked at the src code of dwr and seeing what would be needed to get it to run, I would suggest http://code.google.com/appengine/docs/java/channel/ Shawn -- 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] simple request (change localhost for debug app engine server to my local ip)
I want to change localhost to an ip. I know the flag is -a or -address for the dev_appserver.sh (Java) but I'm running the Android/AppEngine Task demo and the arguments passed into the debug config are for GWT not the previous shell script. Thus I get Unknown argument: -a Google Web Toolkit 2.4.0beta DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist- string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-server servletContainerLauncher[:args]] [- startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-workDir dir] module[s] where -noserverPrevents the embedded web server from running -portSpecifies the TCP port for the embedded web server (defaults to ) -whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated) -blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated) -logdir Logs to a file in the given directory, as well as graphically -logLevelThe level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL -gen Debugging: causes normally-transient generated types to be saved in the specified directory -bindAddress Specifies the bind address for the code server and web server (defaults to 127.0.0.1) -codeServerPort Specifies the TCP port for the code server (defaults to 9997) -server Specify a different embedded web server to run (must implement ServletContainerLauncher) -startupUrl Automatically launches the specified URL -war The directory into which deployable output files will be written (defaults to 'war') -deploy The directory into which deployable but not servable output files will be written (defaults to 'WEB-INF/deploy' under the -war directory/jar, and may be the same as the -extra directory/jar) -extra The directory into which extra files, not intended for deployment, will be written -workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir) and module[s]Specifies the name(s) of the module(s) to host The app engine server part of the debug config window only lets me change the port, not the address. Where can i change this? Thanks -- 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: simple request (change localhost for debug app engine server to my local ip)
In your appengine directory there's a file called config/user/ant- macros.xml that accepts --address and --port as arguments for dev_appserver, but you have to include the file into your own build.xml. Instructions are at the top of the file. On Jun 3, 8:06 pm, Bourke Floyd IV wrote: > I want to change localhost to an ip. I know the flag is -a or -address > for the dev_appserver.sh (Java) > but I'm running the Android/AppEngine Task demo and the arguments > passed into the debug config are for GWT not the previous shell > script. Thus I get > > Unknown argument: -a > Google Web Toolkit 2.4.0beta > DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist- > string] [-blacklist blacklist-string] [-logdir directory] [-logLevel > level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort > port-number | "auto"] [-server servletContainerLauncher[:args]] [- > startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-workDir dir] > module[s] > > where > -noserver Prevents the embedded web server from running > -port Specifies the TCP port for the embedded web server > (defaults to ) > -whitelist Allows the user to browse URLs that match the > specified regexes (comma or space separated) > -blacklist Prevents the user browsing URLs that match the > specified regexes (comma or space separated) > -logdir Logs to a file in the given directory, as well as > graphically > -logLevel The level of logging detail: ERROR, WARN, INFO, > TRACE, DEBUG, SPAM, or ALL > -gen Debugging: causes normally-transient generated > types to be saved in the specified directory > -bindAddress Specifies the bind address for the code server and > web server (defaults to 127.0.0.1) > -codeServerPort Specifies the TCP port for the code server > (defaults to 9997) > -server Specify a different embedded web server to run > (must implement ServletContainerLauncher) > -startupUrl Automatically launches the specified URL > -war The directory into which deployable output files > will be written (defaults to 'war') > -deploy The directory into which deployable but not > servable output files will be written (defaults to 'WEB-INF/deploy' > under the -war directory/jar, and may be the same as the -extra > directory/jar) > -extra The directory into which extra files, not intended > for deployment, will be written > -workDir The compiler's working directory for internal use > (must be writeable; defaults to a system temp dir) > and > module[s] Specifies the name(s) of the module(s) to host > > The app engine server part of the debug config window only lets me > change the port, not the address. Where can i change this? > > Thanks -- 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't create application - SMS says account already verified
Google Voice? On Jun 3, 3:01 pm, Ronoaldo José de Lana Pereira wrote: > Sorry Joe, I don't know if you can unregister your phone number. I didn't > found this kind of option. Ikai, any tips? -- 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: Application Title available?
You could parse your xml file or parse the System variable called user.dir. On Jun 3, 2:46 am, Marcel Overdijk wrote: > Is the Application title accessible using the SDK? > > I guess not, but Maybe Google can make in available in the Environment > class. -- 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: Application Title available?
Make that System.getProperty("com.google.appengine.application.id") instead... no parsing On Jun 3, 9:53 pm, Nichole wrote: > You could parse your xml file or parse the System variable called > user.dir. > > On Jun 3, 2:46 am, Marcel Overdijk wrote: > > > > > > > > > Is the Application title accessible using the SDK? > > > I guess not, but Maybe Google can make in available in the Environment > > class. -- 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.