Re: [appengine-java] How to use junit test in the newest SDK1.3.1

2010-02-11 Thread 杨浩
Thanks for your help! ^ ^ It's OK! Where's the download of the appengine-testing.jar sources? It's a security? Thanks! 在 2010年2月11日 上午8:25,Ikai L (Google) ika...@google.com写道: We've got a more simple interface for you now. Take a look:

[appengine-java] Re: App Engine SDK 1.3.1 is out!

2010-02-11 Thread vori
On 2月11日, 午後4:35, yjun hu itswa...@gmail.com wrote: it exists on sdk1.3.0 too. That code have worked well with 1.3.0. I had updated SDK from 1.3.0 to 1.3.1, then the Exception occurred. After that, I changed back to 1.3.0 and re-deploy, then the Exception stopped. (Of course I used the same

[appengine-java] Re: App Engine SDK 1.3.1 is out!

2010-02-11 Thread phraktle
Hi, Nice release! I could not find any docs on the Custom Admin Console pages feature... Can you please point me in the right direction? Thanks, Viktor On Feb 11, 12:15 am, Ikai L (Google) ika...@google.com wrote: Check it out!

Re: [appengine-java] Re: can't send attachment via Java Mail API supported by GAE

2010-02-11 Thread seleronm
Hi. It is great. I was able also to receive attached mail. Congratulations. Thanks everything is working now. Now attachment is working. Flex base video to image capture application hosted on google app engine http://clickpicture.appspot.com/Video.html Hi. I'm sorry for being not able

Re: [appengine-java] Running a cron job within a time span of work days

2010-02-11 Thread seleronm
Hi, May be possible if the following way 1.Taskqueue that operates every four hours and two minutes is made. 2.Cron that calls the Taskqueue at 10:00 is made. Please try. thanks. Hi, I want to configure a cron job for running every 2 minutes from (e.g.) 1000 to 1600 hours. Firstly, can

[appengine-java] Re: Spring 3.0 + Tiles 2.1.4 + GAE

2010-02-11 Thread David F.
I've found the solution : http://tiles.apache.org/2.1/framework/tutorial/advanced/el-support.html Just get the jasper-el library from Tomcat, add it to your classpath and it works. Usually running on Tomcat, I never encountered this error with Tiles. Now I'm on GAE with Jetty, it popped-up. Have

[appengine-java] Re: Google Plugin for Eclipse 1.3 plans

2010-02-11 Thread Marcel Overdijk
SDK 1.3.1 was released today, so I was wondering if the 1.3 plugin is also released, and more importantly if it contains better support for maven as described in Keith's post. On Feb 9, 10:11 pm, Hannu Leinonen hlein...@gmail.com wrote: Allright, As I've stated before on the list, Maven + GAE

[appengine-java] Caching pages.

2010-02-11 Thread abhi
Caching objects in App engine is easy Cache cache; Cache cache ; try { cache = CacheManager.getInstance().getCacheFactory().createCache(Collections.emptyMap()); } catch (CacheException e) { // ... } String key; // ... int value;

[appengine-java] Re: Error while uploading the App - Unable to update

2010-02-11 Thread mike22153
Thanks for your response. I updated to OpenSuse 11.2 and it worked. I assume, there was a problem with the java libraries. On 10 Feb., 00:10, Ikai L (Google) ika...@google.com wrote: Is there any information in that log file that the error mentioned? On Mon, Feb 8, 2010 at 3:22 AM,

Re: [appengine-java] Re: Google Plugin for Eclipse 1.3 plans

2010-02-11 Thread Keith Platfoot
Hi Marcel, The Eclipse plugin has a different release cycle than the App Engine SDK, so no, the current plugin version remains 1.2. Look the 1.3 version of the plugin to be released in March (with a preview build available near the end of this month). Keith On Thu, Feb 11, 2010 at 9:09 AM,

[appengine-java] Wildcard domain names?

2010-02-11 Thread dflorey
Hi, is the new release providing UniversalLogin? So that you can use the UserService to login with Google and Google apps accounts? Or is it still required to restrict the access to the domain to be able to login with google apps accounts? Thanks, daniel -- You received this message because you

Re: [appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-11 Thread Max Ross (Google)
Subclassing LocalServiceTestHelper and overriding newEnvironment() should work fine. What does your implementation of newEnvironment() look like? On Wed, Feb 10, 2010 at 7:35 PM, Krishna krishnacal...@gmail.com wrote: Ok! But when I'm using transactions I'm getting:

Re: [appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-11 Thread Krishna Caldas
It's the same (attached) I used before update to 1.3.1. Thanks, Krishna 2010/2/11 Max Ross (Google) maxr+appeng...@google.com: Subclassing LocalServiceTestHelper and overriding newEnvironment() should work fine. What does your implementation of newEnvironment() look like? On Wed, Feb 10,

[appengine-java] [character encoding] request.setEncoding

2010-02-11 Thread K.Honsali
Salaam all; Eclipse encoding is UTF-8 and HTML form charset is UTF-8. Is it OK for this code below? System.out.println(1-request char encoding : +request.getCharacterEncoding()); request.setCharacterEncoding(UTF-8); System.out.println(2-request

Re: [appengine-java] Re: App Engine SDK 1.3.1 is out!

2010-02-11 Thread Max Ross (Google)
Assuming a ClassA object with the specified id already exists, the code you've posted works fine for me. Could you put together a complete example that demonstrates the unexpected behavior? Thanks, Max On Wed, Feb 10, 2010 at 7:49 PM, vori vori...@gmail.com wrote: Is it a bug on JDO of SDK

Re: [appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-11 Thread Krishna Caldas
Ooops.. missed your question! It's just: @Override protected Environment newEnvironment() { return new TestEnvironment(); } Thanks, Krishna 2010/2/11 Max Ross (Google) maxr+appeng...@google.com: Subclassing LocalServiceTestHelper and overriding

Re: [appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-11 Thread Max Ross (Google)
Your code looks fine. Are you sure you're calling setUp() on the LocalServiceTestHelper? On Thu, Feb 11, 2010 at 10:11 AM, Krishna Caldas krishnacal...@gmail.comwrote: Ooops.. missed your question! It's just: @Override protected Environment newEnvironment() {

[appengine-java] Precompilation Failure

2010-02-11 Thread Garry
Precompilation is failing and giving the following exception. This is from the SDK 1.3.1. It did the same thing under 1.3.0. com.google.inject.internal.ComputationException: java.lang.SecurityException: Unable to get members for class com.dynafocus.aws.s3.S3URLGenerator The app runs fine

[appengine-java] Re: Google Plugin for Eclipse 1.3 plans

2010-02-11 Thread Sudhir
Has anyone else noticed that installing GAE SDK 1.3.1 screws up the Google Plugin? It keeps throwing class loader exceptions and renders the run configs useless. On Feb 11, 9:23 pm, Keith Platfoot kplatf...@google.com wrote: Hi Marcel, The Eclipse plugin has a different release cycle than the

Re: [appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-11 Thread Krishna Caldas
You're right! I refactored my code and forget to annotate the new setUp method with @Before. Sorry for taking your time! It works now. Thanks, Krishna 2010/2/11 Max Ross (Google) maxr+appeng...@google.com: Your code looks fine. Are you sure you're calling setUp() on the

Re: [appengine-java] Re: How to use junit test in the newest SDK1.3.1

2010-02-11 Thread Max Ross (Google)
Great, glad to hear it! I forgot to add a method to LocalServiceTestHelper to set a custom app id. My mistake. I'll make sure this gets added for the next release so you don't need to provide your own Environment implementation. Max On Thu, Feb 11, 2010 at 10:30 AM, Krishna Caldas

[appengine-java] Workaround for like keyword in JDOQL

2010-02-11 Thread Piyush
Hi All, I am developing a resource allocation application in GAE with Java. Since there is no like keyword in JDOQL, I am unable to do search in database based on a keyword. For example, I want to list all the employees who have 'ash' word in their name. I have already wasted 3 days due to this

[appengine-java] Re: App Engine SDK 1.3.1 is out!

2010-02-11 Thread Sormuras
Hi, I found a small documentation here: http://code.google.com/appengine/docs/java/config/appconfig.html#Administration_Console_Custom_Pages Cheers, Sor On 11 Feb., 09:50, phraktle phrak...@gmail.com wrote: Hi, Nice release! I could not find any docs on the Custom Admin Console pages

[appengine-java] Re: Running a cron job within a time span of work days

2010-02-11 Thread lakshmi
Hi,Imran. I am doing the same code in my program.but it is not working.could you please tell me, is it need any another settings. On Feb 10, 1:48 pm, Imran M Yousuf imyou...@gmail.com wrote: Hi, I want to configure a cron job for running every 2 minutes from (e.g.) 1000 to 1600 hours.

[appengine-java] JPA with database

2010-02-11 Thread maheswari maheswari
what is JPA.what are steps to create new JPA web application.how to make database connection. what are the jar files are needed to make database connection. how to make database connection. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Could not deploy my App in Google App Engine!

2010-02-11 Thread Babgali
I am very new to GWT world! I am getting below exception when I am trying to deploy in Google App Engine. Error:- An internal error occurred during: Deploying Babu'sFirstGWTApp to Google. Received IOException parsing the input stream for C:/GWTWorkspace/ Babu'sFirstGWTApp/war\WEB-INF/web.xml

[appengine-java] sending mail in google app engine in java

2010-02-11 Thread Sowji
Hi, i am trying to send a mail with google app engine wuth java. My code is, Properties props =*new* Properties(); props.put(mail.smtp.host,smtp.gmail.com); props.put(mail.smtp.username,sowji.apr10); props.put(mail.smtp.PASSWORD,smtp.gmail.com);

[appengine-java] Re: JPA with database

2010-02-11 Thread datanucleus
Really sounds like you ought to read the docs before using the software http://code.google.com/appengine/docs/ Omitting such a basic step is not advisable. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send

Re: [appengine-java] Re: Google Plugin for Eclipse 1.3 plans

2010-02-11 Thread Rajeev Dayal
Can you provide a stack trace? On Thu, Feb 11, 2010 at 1:29 PM, Sudhir sudhi...@gmail.com wrote: Has anyone else noticed that installing GAE SDK 1.3.1 screws up the Google Plugin? It keeps throwing class loader exceptions and renders the run configs useless. On Feb 11, 9:23 pm, Keith

[appengine-java] How to make a query searching by an @PrimaryKey String field from the console using GQL

2010-02-11 Thread Esteban Masoero
Hi there, I have something like: public class User { @PrimaryKey @Persistent private String username; But I couln't find a way of making work a query like select * from User where username = 'someUserName' from the admin console. It's driving me nuts!, Anyone has any idea

Re: [appengine-java] sending mail in google app engine in java

2010-02-11 Thread Ikai L (Google)
That's just your browser trying to get a favicon from your site: http://en.wikipedia.org/wiki/Favicon http://en.wikipedia.org/wiki/FaviconCreate one and put it in your app where it is accessible at http://yourappid.appspot.com/favicon.ico On Thu, Feb 11, 2010 at 4:32 AM, Sowji

[appengine-java] Re: Google Plugin for Eclipse 1.3 plans

2010-02-11 Thread Sudhir
Yeah... I've raised an issue http://code.google.com/p/googleappengine/issues/detail?id=2758sort=-openedcolspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component%20Opened with the stacktrace. On Feb 11, 11:51 pm, Rajeev Dayal rda...@google.com wrote: Can you provide a

Re: [appengine-java] Manipulate Blobs in Blobstore

2010-02-11 Thread Ikai L (Google)
Not yet, though we are looking at interfaces for programmatically interacting with blobs in the blobstore. Please star this issue: http://code.google.com/p/googleappengine/issues/detail?id=2536 On Sat, Feb 6, 2010 at 9:44 AM, BimboJones bimbojone...@gmail.com wrote: Hi, I would like to know

Re: [appengine-java] Generic type in GAE JDO. Howto?

2010-02-11 Thread Ikai L (Google)
I'm a bit curious as you why you are trying to persist a collection class. Why not create an entity and persist the Map as a field on the entity? On Sun, Feb 7, 2010 at 10:57 PM, Alex Lui luiale...@gmail.com wrote: As java.util.Map isn't supported by GAE, I'm trying to create a class

Re: [appengine-java] Setting the key of a child entity

2010-02-11 Thread Ikai L (Google)
Are both the parent and child persisted at the same time? If so, you can add the child object as a child (not the Key) of the Parent object and call makePersistent on the Parent. On Thu, Feb 4, 2010 at 1:28 AM, Manny S manny.m...@gmail.com wrote: I am missing something simple here but can

[appengine-java] Blobstore UploadBlobServlet.java NPE

2010-02-11 Thread Stevko
I'm trying to post files into the blobstore on my dev station using eclipse. The _BlobInfo_ objects are appearing within the datastore viewer but this exception keep getting thrown for the first time I post the form. Is there anyone with access to UploadBlobServlet.java that can point me to why

Re: [appengine-java] Owned One-to-Many Relationships - query/filter on the associated/child object?

2010-02-11 Thread Ikai L (Google)
It sounds like what you want to do here is an ancestor query: http://groups.google.com/group/google-appengine-java/browse_thread/thread/6de4dfe44f0d0f11/f45729dfe28c9425?lnk=gst

[appengine-java] Updating an owned One-To-Many relationship (JDO)

2010-02-11 Thread Greg Harris
Hello, I was experiencing problems very similar to the ones described in this thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/13473fcae300d845 where updates I made on my JDO objects weren't actually reflected in the datastore. Taking the advice of an answer from

[appengine-java] Re: Could not deploy my App in Google App Engine!

2010-02-11 Thread Brian
Wild guess, but a ' in a path can't help things On Feb 11, 8:32 am, Babgali babuvi...@gmail.com wrote: I am very new to GWT world! I am getting below exception when I am trying to deploy in Google App Engine. Error:- An internal error occurred during: Deploying Babu'sFirstGWTApp to Google.

[appengine-java] Cannot deploy - Version not ready

2010-02-11 Thread david ruescas
Ive been trying to update my app for the past hour, and I keep getting version not ready errors, the log always shows something like this: Unable to update: java.lang.RuntimeException: Version not ready. at com.google.appengine.tools.admin.AppVersionUpload.commit(AppVersionUpload.java:456)

[appengine-java] Re: Workaround for like keyword in JDOQL

2010-02-11 Thread Brian
Get a list of (key, name) for your object in question Do a foreach loop and check each name in java ( if blah.indexOf(ash) = 0 ) if it matches your filter, download the full person via the key and add him to a list to return On Feb 11, 5:26 am, Piyush piyush.mn...@gmail.com wrote: Hi All, I

[appengine-java] Re: Caching pages.

2010-02-11 Thread Brian
The server should cache JSP's for you, you would only cache any stuff that is needed by the page and sent to it from your action On Feb 11, 9:33 am, abhi abhishek9...@gmail.com wrote: Caching objects in App engine is easy  Cache cache; Cache cache ;         try {             cache =

Re: [appengine-java] Cannot deploy - Version not ready

2010-02-11 Thread Esteban Masoero
I'm having the same problem. As I saw in another emails some time ago, the system might be experimenting some technical dificulties, an if you see the system status ( http://code.google.com/status/appengine ) the datastore doesn't look good. So I guess we'll have to wait... El 11/02/2010

[appengine-java] Re: Could not deploy my App in Google App Engine!

2010-02-11 Thread Larry Cable
but it works locally ... I have recently started getting a similar error where upload/deploy fails while parsing datastore-indexes.xml claims there is an error with the .xsd in the toolkit .jar ... On Feb 11, 1:37 pm, Brian bwa...@gmail.com wrote: Wild guess, but a ' in a path can't help things

[appengine-java] Re: Tag search

2010-02-11 Thread Max
Thanks, but if I add SetString tags and I search query.setFilter(tags.containsAll(tags1)); query.declareParameters(java.util.List tags1); Then it tells Unsupported method containsAll while parsing expression:

[appengine-java] Anyway to check if current app instance is default version?

2010-02-11 Thread Peter Liu
Is there anyway to check if current app version is default? Basically we want to cache the pages with only the default version. We want testers to hit the new version but won't effect normal users using the default version. Thanks! -- You received this message because you are subscribed to the

Re: [appengine-java] Workaround for like keyword in JDOQL

2010-02-11 Thread John Patterson
The usual approach to complex queries in GAE is to process your data before you need to query it. So in this case for each person create an index entity which simply contains a list of partial names e.g. Pliyush, iyush, yush, ush Then do a keys-only range query for the name part e.g. iyu

Re: [appengine-java] Re: Tag search

2010-02-11 Thread John Patterson
Yes you can query for multiple tags. Not too sure about the JDO syntax but try something like: query.setFilter(tags == 'hello'); query.setFilter(tags == 'world'); On 12 Feb 2010, at 05:48, Max wrote: Thanks, but if I add

Re: [appengine-java] Anyway to check if current app instance is default version?

2010-02-11 Thread John Patterson
You could check the http host in the request to check for your live url On 12 Feb 2010, at 05:59, Peter Liu wrote: Is there anyway to check if current app version is default? Basically we want to cache the pages with only the default version. We want testers to hit the new version but won't

Re: [appengine-java] Manipulate Blobs in Blobstore

2010-02-11 Thread bimbo jones
Thanks for the answer, I have an async call that get's the url(string) from the blobstore api and use that string directly on the form.setAction(...); then i show the button to upload.The problem is that sometimes i get errors, is there some issue or should i try to resubmit, or could the

Re: [appengine-java] Precompilation Failure

2010-02-11 Thread Toby Reyelts
Garry, Can you send us your app-id (privately if you wish)? On Thu, Feb 11, 2010 at 1:29 PM, Garry ga...@dynafocus.com wrote: Precompilation is failing and giving the following exception. This is from the SDK 1.3.1. It did the same thing under 1.3.0.

[appengine-java] Re: Tag search

2010-02-11 Thread Max
I can use query.setFilter(tags.contains(tags1)); // not containsAll with java.util.List object as tag. But it will return any object containing at list one tag. I wish to search for objects that has all tags that I specify. Is that possible to do? On Feb 12, 12:48 am, Max

[appengine-java] Re: Tag search

2010-02-11 Thread Max
Thank You! On Feb 12, 1:11 am, John Patterson jdpatter...@gmail.com wrote: Yes you can query for multiple tags.  Not too sure about the JDO   syntax but try something like:                                 query.setFilter(tags == 'hello');                                 query.setFilter(tags

Re: [appengine-java] Re: Caching pages.

2010-02-11 Thread bimbo jones
Hey there, I cached some html pages with tags like #MESSAGE# in a string, then used, htmlstring = htmlstring.replaceall(#MESSAGE#,new message); then just print the whole string. BufferedReader in = new BufferedReader(new FileReader(pagetobecached.html)); while (in.ready()) htmlstring=

[appengine-java] Re: Tag search

2010-02-11 Thread Max
query.setFilter(tags == 'hello'); query.setFilter(tags == 'world'); --- I have not coded much in native API but I think it will search first for hello and then for world then mix results. How tags property defined

[appengine-java] Re: Tag search

2010-02-11 Thread Max
Here is my tag search idea:- If I have 4 tags Then I can save following strings combinations tag1,tag2,tag3,tag4, tag1,tag2,tag4, tag1,tag3,tag4, tag1,tag4 tag2,tag3,tag4, tag2,tag4, tag3,tag4, tag4, class TagLine{ @PrimaryKey @Persistent Long id; @Key @Persistent String tags; @Persistent

[appengine-java] Re: Anyway to check if current app instance is default version?

2010-02-11 Thread Peter Liu
Great simple suggestion! Thanks!!! On Feb 11, 3:12 pm, John Patterson jdpatter...@gmail.com wrote: You could check the http host in the request to check for your live url On 12 Feb 2010, at 05:59, Peter Liu wrote: Is there anyway to check if current app version is default? Basically we

[appengine-java] Discussion on will-it-play-in-app-engine

2010-02-11 Thread Spines
Hi, I have an alternative for getting Spring forms working on the app engine. Instead of registering custom editors for your properties, you can just comment out the offending line (a call to findEditorByConvention) in the spring source code and recompile. Everything will work fine as long your

Re: [appengine-java] Re: Tag search

2010-02-11 Thread John Patterson
On 12 Feb 2010, at 06:53, Max wrote: I have not coded much in native API but I think it will search first for hello and then for world then mix results. No, it does a merge join - only returning entities that match all filters - not separate queries like the JDO contains() creates. -- You

Re: [appengine-java] Re: any plans for deferred.defer in Java?

2010-02-11 Thread Jeff Schnitzer
A bit of a blast from the past on this thread, but... I've always had a trickle of serialization problems in production using the Deferred servlet. Finally I had one that was consistent and repeatable. I forced it to base64 encode always (not just dev mode) and now it works consistently. FYI.

[appengine-java] Re: Caching pages.

2010-02-11 Thread Brian
Not sure that would really save any time unless your page is super complex to render and the app engine app server is super dumb, but I guess it is possible with app engine. On Feb 11, 5:40 pm, bimbo jones bimbojone...@gmail.com wrote: Hey there, I cached some html pages with tags like

Re: [appengine-java] Workaround for like keyword in JDOQL

2010-02-11 Thread yjun hu
you can try compass to search On Fri, Feb 12, 2010 at 7:03 AM, John Patterson jdpatter...@gmail.comwrote: The usual approach to complex queries in GAE is to process your data before you need to query it. So in this case for each person create an index entity which simply contains a list of

Re: [appengine-java] Re: Caching pages.

2010-02-11 Thread Ikai L (Google)
I'm actually pretty sure that's worse than just serving the static file from the filesystem. Prove me wrong with benchmarks ... On Thu, Feb 11, 2010 at 5:24 PM, Brian bwa...@gmail.com wrote: Not sure that would really save any time unless your page is super complex to render and the app engine

Re: [appengine-java] How to use junit test in the newest SDK1.3.1

2010-02-11 Thread 杨浩
Hello Ikai L(Google)! Thank you! In the demo: http://code.google.com/appengine/docs/java/tools/localunittesting.html I have a idea about the JUnit4 testcase! defined a Basic TestCase: public class *GAETestCase* { protected final LocalServiceTestHelper gaeHelper = new

[appengine-java] Mail with ODT attachment

2010-02-11 Thread Geert van Leemputten
I am trying to send a mail containing an openoffice text document with mimetype application/vnd.oasis.opendocument.text, but I cant seem to get it through. So far Ive tried both JavaMail API and googles low-level API unsuccessfully. Caused by: java.lang.IllegalArgumentException: Invalid

[appengine-java] Discussion on will-it-play-in-app-engine

2010-02-11 Thread zhiw...@gmail.com
jersey 1.1.5 final now fully support gae http://blogs.sun.com/sandoz/entry/jersey_1_1_5_is -- 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

Re: [appengine-java] Re: JPA with database

2010-02-11 Thread maheswari maheswari
hai Thanks for your reply But I didnot know where to create a new JPA Project to make databese connection with google app engine, which option i need go, JPA project,web application project or dynamic web project. Thanks in advance On Fri, Feb 12, 2010 at 12:08 AM, datanucleus

Re: [appengine-java] Re: JPA with database

2010-02-11 Thread maheswari maheswari
hai Thanks for your reply But I didnot know where to create a new JPA Project to make databese connection with google app engine, which option i need go, JPA project,web application project or dynamic web project. Thanks in advance On Fri, Feb 12, 2010 at 4:13 AM, Jake jbrooko...@cast.org

[appengine-java] Re: Close PersistenceManager every time?

2010-02-11 Thread hsjawanda
On Feb 11, 11:42 am, Conor Power iamco...@gmail.com wrote: Hi, I have a question on detachment ... I have my PM in a DAO and I open and close pre / post query. The problem was that the objects returned are null once the PM was closed unless I set them to be detachable. This is exactly the

[appengine-java] Re: App Engine SDK 1.3.1 is out!

2010-02-11 Thread vori
Sorry, I am wrong. I inspected my source code and found the real cause. The following code can works on SDK1.3.0, but it throws java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single transaction. when it used on SDK1.3.1. PersistenceManager pm =

[appengine-java] Re: Generic type in GAE JDO. Howto?

2010-02-11 Thread Alex Lui
java.util.HashMap is not supported, isn't it? I'm using Google plugin for Eclipse. This kind of exception came when I testing the entity having the Map field in Eclipse. Caused by: java.lang.IllegalArgumentException: notes: java.util.HashMap is not a supported property type The class

[appengine-java] Re: Could not deploy my App in Google App Engine!

2010-02-11 Thread Babgali
Hi, I believe there was a problem in DOCTYPE, I replaced !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; with the below one web-app xmlns=http://java.sun.com/xml/ns/j2ee;