Judging from:
http://code.google.com/intl/pl/appengine/docs/java/howto/unittesting.html
---
if every test starts with a clean datastore
---
it clears local datastore every time - so it works as expected.
But may be after removing line:
datastoreService.clearProfiles();
Inheritance and class hierarchy is very important in OOP but it has a
different meaning when it comes to persistence. You cannot take
advantage of OOP concepts like: encapsulation, polymorphic etc. So, as
Ikai pointed above, you can run into over-engineering trap going that
way.
In my opinion the
Actually, that's a good idea. I have sent a request to be added to the list.
Thanks!
On Wed, Dec 2, 2009 at 8:02 PM, Ikai L (Google) ika...@google.com wrote:
Wow, looking great! Did you want this added to the list of Open Source
projects?
This is strange - when I retrieve the object after persisting via
JDOHelper.getObjectId(obj), I get an object back no problem. Then,
before trying to delete the object, I do pm.newObjectIdInstance
(Categories.class, key) and I get a NullPointerException. I know in
this post I've put in
Does anybody have a solution to this problem, an immediate reply will
be highly appreciated.
Thanks,
Muhammad Umair
On Dec 3, 2:29 am, umair umair...@gmail.com wrote:
I am getting this error when deploying the youtube direct application
to google app engine.
Unable to update:
This is strange - when I retrieve the object after persisting via
JDOHelper.getObjectId(obj), I get an object back no problem.
Yes, but you haven't told us what is the id returned by that method.
And whats in the log when you invoke that pm.getObjectById ... ?
Then,before trying to delete the
anyone???
--
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-j...@googlegroups.com.
To unsubscribe from this group, send email to
http://code.google.com/appengine/docs/java/mail/usingjavamail.html#Features_of_the_Low_level_API
On Thu, Dec 3, 2009 at 8:00 AM, Prashant antsh...@gmail.com wrote:
anyone???
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To
thanks a lot
--
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-j...@googlegroups.com.
To unsubscribe from this group, send email to
what if I want to send only one of the admins? there is no way, right?
does that work for XMPP also?
--
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-j...@googlegroups.com.
To
I'll also point out that while it's not on our official roadmap, we have
marked http://code.google.com/p/googleappengine/issues/detail?id=217 as
started. Development is still in the very early stages so the only thing
it's safe to conclude about timeline is that we don't expect it to be ready
For small and readonly indexes you can use lucene and it works without any
issues. All you need to do is generate your index outside the appengine
environment and put your index files in the war package that is deployed.
(Somewhere under WEB-INF would be the best place I think)
Erdinc
On Thu,
You set them up as an administrator to your App Engine Application
On Dec 1, 11:55 pm, Prashant antsh...@gmail.com wrote:
Hi,
whosoever I send a mail it gets counted in Recipients Emailed quota, how
do I use Admins Emailed quota to send mails to admins.
Thanks.
--
You received this
no, no, I meat to say that, suppose there are 3 admins and I want to send
mail to only one admin using admin quota. this is not possible, rite?
And, does following work for XMPP?
XMPPServiceFactory.getXMPPService()
.sendMessage(
new MessageBuilder()
.withRecipientJids(new
I just started testing with the 1.2.8 prerelease, and I'm getting the
following exception from Queue.add() in code that works in 1.2.6:
java.lang.IllegalStateException: Current enviornment must have the server
url available via the com.google.appengine.server_url_key attribute.
This only happens
On Thu, Dec 3, 2009 at 12:02 PM, Prashant antsh...@gmail.com wrote:
no, no, I meat to say that, suppose there are 3 admins and I want to send
mail to only one admin using admin quota. this is not possible, rite?
Correct.
And, does following work for XMPP?
Why isn't there a system property that can be used to detect if a
program is running on appengine?
This is really a glaring oversight. I would expect something like
System.getProperty(google.appengine) to be development or
production (or of course null).
Before someone says check the servlet
Hi Vince,
That sounds like a bug in our code that was a side effect of the automatic
task execution that now happens in the dev environment. Let me see if I can
come up with a workaround for you.
Max
On Thu, Dec 3, 2009 at 10:06 AM, Vince Bonfanti vbonfa...@gmail.com wrote:
I just started
The compass solution is probably sufficient for pet projects. If I
correctly recall, there are still serious scalability issues due to the way
indexes are currently stored and restrictions on app store blob size. The
main issue is initial timeouts due to the GAE design flaw wrt startup /
initial
I agree. My workaround was to create a ServletEventListener and put this in
the contextInitialized() method:
System.setProperty( appengine.server,
event.getServletContext().getServerInfo().contains( Development ) ?
development : production );
Vince
On Thu, Dec 3, 2009 at 1:15 PM, Jeff
Here are the Domain classes that have the problem. Please let me know if
you need more information.
--Jeff
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Player {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Long key;
Yes, I totally agree that the current official way of checking for App
Engine presence is not great for third party libraries which don't even
necessarily run in a servlet container. We've been putting together a
solution for this and hope to make it available soon.
On Thu, Dec 3, 2009 at 1:15
Could you create a Servlet that is loaded on launch, and set this kind of
property? I think this is a workaround until they can do it officially.
--Jeff
On Thu, Dec 3, 2009 at 10:39 AM, Toby Reyelts to...@google.com wrote:
Yes, I totally agree that the current official way of checking for App
On Thu, Dec 3, 2009 at 10:46 AM, Jeffrey Goetsch jeffg@gmail.com wrote:
Could you create a Servlet that is loaded on launch, and set this kind of
property? I think this is a workaround until they can do it officially.
I can't - remember this is in a library, so I would have to force all
Vince,
As a workaround, try setting the missing environment attribute explicitly
before you add the task to the queue:
ApiProxy.getCurrentEnvironment().getAttributes().put(com.google.appengine.server_url_key,
http://localhost:8080;);
This should only be necessary for tasks that are added when
That fixed it. Thanks.
Vince
On Thu, Dec 3, 2009 at 2:24 PM, Max Ross (Google)
maxr+appeng...@google.commaxr%2bappeng...@google.com
wrote:
Vince,
As a workaround, try setting the missing environment attribute explicitly
before you add the task to the queue:
Sure, sorry for the trouble, and thanks for trying out the prerelease!
Max
On Thu, Dec 3, 2009 at 12:12 PM, Vince Bonfanti vbonfa...@gmail.com wrote:
That fixed it. Thanks.
Vince
On Thu, Dec 3, 2009 at 2:24 PM, Max Ross (Google)
maxr+appeng...@google.com maxr%2bappeng...@google.com
The datastore stats aren't real time as far as I know. So part of the
discrepancy might be new entities created after the stats were
generated?
On Dec 3, 4:19 am, Toby tobias.ro...@sunnymail.mobi wrote:
Hello,
I just discovered the DataStore statistics. That is a great thing!
I got a
On Dec 3, 4:51 am, jacek.ambroziak jacek.ambroz...@gmail.com
wrote:
My application, an XML search engine, likes to manipulate its index
data structures in memory during indexing.
Searches are naturally much faster too when index data structures are
in the heap.
Unfortunately, I started
Can anyone help me to know how to configure the Timezone in the web
application that i run localy on my mmachine?
Thanks in advance!
--
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
I am entering data progamatically into the datastore but it is not
showing up in the development console. It appears that the data is
being entered since I am not seeing any errors when the makePersistent
() method is called.
--
You received this message because you are subscribed to the Google
Okay, sorry for the delay, I haven't been able to focus on this for a few days.
here is the full (including the jar libararies in
case there is an issue with them).
http://www.resmarksystems.com/code/JdoTest.zip
It's a very simple Servlet, by hitting the url hostname/jdotest you
should execute
Hi,
It is likely to possibly solve it by this.
Please refer to the following links.
http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-time.html?page=3
The page in the back and forth might be also related.
thanks.
On 12月4日, 午前4:08, Nour Ahmed salahtimes...@googlemail.com wrote:
Can anyone
I was just looking at the release notes linked to by the App Engine
Blog post about this and I couldn't find any detail about the Improved
java compatibility stuff. Is there another version of the release
notes with more detail?
The release notes linked to in the blog post were these:
Found a better link for us java types:
http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes
On Dec 3, 10:18 pm, Peter Recore peterrec...@gmail.com wrote:
I was just looking at the release notes linked to by the App Engine
Blog post about this and I couldn't find any detail
Hi,
Am doing a project on GPS plotting in appengine.. So can you help me
with it. I am from India, so still Google Street is not possible, can
you guys help with me it, anybody doing a related project pls help
me..; I nedd help in mapping services, pl ur help wil be greatly
appreciated..
--
Sir thanks for the reply , but pl help me sir, am jus a beginner, can
u pls be elaborate, thanks for spending ur time and effort
--
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
37 matches
Mail list logo