If you work through the GWT tutorial (in the documentation for GWT), there is an example of how to set PATH. On that same screen is where you set environment varialbes. Read the Ant Install instructions, you usually need to set the variable ANT_HOME for it and add the 'bin' directory to your PATH.
On Fri, Aug 29, 2008 at 11:57 AM, agnes Laffitte <[EMAIL PROTECTED]>wrote: > Hi Eric, > I went to those links, > I downloaded the required software. > On the command prompt I typed, > svn co http://gwt-google-apis.googlecode.com/svn/trunk trunk and a whole > process started, not knowing what it is doing, when it finished I did step > 2. > I typed on the command prompt svn co > http://google-web-toolkit.googlecode.com/svn/tools tools and it did > another process and I let it finish. > Now step 3, set the environment varible GWT-TOOLS to point to the directory > where you checked out the tools distribution, not sure what it means or > where to type it. > Step 4, set the environment variable GWT_HOme to point to a binary > distribution of GWT downloaded from the GWT project site. Not sure what that > means either, I am using GWT 1.5. And step 5 run ant on the top level file. > Not sure how to do this either. I downloaded ANT 1.7.1 but it has a lib , a > bin, a etc folders and a Install that is not recognized by my computer. I > am using Windows XP. I also wen to the link > http://code.google.com/p/gwt-google-apis/issues/detail?id=123 and I saw a > patch file. How do you use a patch file, I opened it in a text file. I was > curious how this is done. I did step 1 and 2 and I am now stucked. I want to > be able to use waypoint. Any help is so much appreciated. > Sincerely, > Agnes Laffitte > > --- On *Fri, 8/29/08, Eric Ayers <[EMAIL PROTECTED]>* wrote: > > From: Eric Ayers <[EMAIL PROTECTED]> > Subject: Re: Problems with waypoint using the Java library for google maps > from gwt-maps.jar, official library from google > To: [email protected] > Date: Friday, August 29, 2008, 2:58 AM > > Hello Agnes, > > Sorry you ran into this problem. This bug was present in the r290 release > of gwt-maps, but has since been addressed. See issue 123: > > http://code.google.com/p/gwt-google-apis/issues/detail?id=123 > > you can build a new version of the gwt-maps jar file by downloading the > code from subversion. Some brief instructions are in the gwt-maps FAQ: > > > http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=MapsFAQ > > -Eric. > > On Fri, Aug 29, 2008 at 4:08 AM, Agnes <[EMAIL PROTECTED]> wrote: > >> >> Error: >> <H1>HTTP Status 500 - </H1> >> <HR noShade SIZE=1> >> >> <P><B>type</B> Exception report</P> >> <P><B>message</B> <U></U></P> >> <P><B>description</B> <U>The server encountered an internal error () >> that prevented it from fulfilling this request.</U></P> >> <P><B>exception</B> <PRE>javax.servlet.ServletException: Servlet >> execution threw an exception >> </PRE> >> <P></P> >> <P><B>root cause</B> <PRE>java.lang.ExceptionInInitializerError >> com.google.gwt.maps.client.geocode.Waypoint.<init> >> (Waypoint.java:67) >> de.herbstcampus.server.CVRPOutputs.DistanceMatrix(CVRPOutputs.java: >> 71) >> de.herbstcampus.server.CVRPOutputs.<init>(CVRPOutputs.java:112) >> >> >> de.herbstcampus.server.FileUploadServlet.getStringOutput(FileUploadServlet.java: >> 67) >> >> de.herbstcampus.server.FileUploadServlet.doPost(FileUploadServlet.java: >> 28) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:709) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java: >> 290) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> </PRE> >> <P></P> >> <P><B>note</B> <U>The full stack trace of the root cause is available >> in the Apache Tomcat/5.0.28 logs.</U></P> >> <HR noShade SIZE=1> >> >> <H3>Apache Tomcat/5.0.28</H3> >> >> >> >> >> Fragemnt Code with comments below: >> >> for(int i=0; i<nodesList.size(); i++) >> { // read perfectly Node first= >> nodesList.get(i); >> for(int j=1+i; j<nodesList.size(); j++) >> { // read perfectly Node last = nodesList.get(j); >> // code stopped after pressing F5 >> //Waypoint wasn't created >> Waypoint from = new Waypoint(first.getAddress()); >> Waypoint to = new Waypoint(last.getAddress()); >> Waypoint[] query= {from, to}; >> >> Edge waypoint = new Edge(first,last,query); >> >> edgesList.add(waypoint); >> >> >> >> } >> } >> >> > > > -- > Eric Z. Ayers - GWT Team - Atlanta, GA USA > http://code.google.com/webtoolkit/ > > > > > > > -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
