First off, BEST. SUBJECT. EVER.

Can you see if the server was actually killed in the process manager? You
shouldn't be able to rebuild the project since there will be a port
conflict, but it's worth looking at.

Also, is there a reason you're using Ant and not the Eclipse plugin? That
could make your life easier in the short term until you get used to the
environment.



On Tue, Jun 29, 2010 at 7:20 AM, kiraice <[email protected]> wrote:

> Before I describe my question let me briefly introduce my environment.
> I use Windows XP, Chrome, and Apache Ant. This is what happened:
>
> Everything went pretty well. I had my first hello world response as
> expected. Then I met a problem I don't know how or why it happens. In
> a step this tutorial says "Using the Users Service". I copied the code
> showed on the page into GuestbookServlet.java, saved and closed the
> file.
>
> http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html
>
> I followed the description "If you are using Ant, you must stop the
> server and rebuild the project to see changes made to source code".
> Stop server in here means "Hit Control-C". I am not sure about rebuild
> the project part. I thought it is the changing code part as I did
> before. By compeleted this description I excute "ant runserver" again.
>
> Guess what happened? I saw hello world mysteriously appeared again.
> Which can't be found in any part of the current source code but
> previous one. I tried to delete .class file, clean browser cache or
> run ant several times but all in vain.
>
> Finally I gave up, reboot my laptop...and it works 100% normally
> after. At last I saw hello t...@email message. This makes me feel
> really creepy. Does anyone know what's going on? Also I don't like to
> reboot my laptop everytime I changed code I believe there must be a
> better way to handle this situation.
>
> --
> 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
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to