Project

General

Profile

« Previous | Next » 

Revision 3196

Added by berkley almost 18 years ago

more changes for the ajax stuff. it now works on the production server

View differences:

lib/ajax/KeplerClient-compile
1 1
#!/bin/sh
2 2

  
3 3
APPDIR=`dirname $0`;
4
GWT=/home/berkley/tools/gwt
4
GWT=/home/berkley/library.kepler-project/gwt
5 5
CLASSPATH="$APPDIR/src:$APPDIR/bin:$GWT/gwt-user.jar:$GWT/gwt-dev.jar:$APPDIR/lib/client.jar:$APPDIR/lib/utilities.jar:$APPDIR/lib/xalan.jar:$APPDIR/lib/xml-apis.jar"
6 6

  
7
java -cp $CLASSPATH com.google.gwt.dev.GWTCompiler -out "$APPDIR/www" "$@" org.kepler.web.KeplerClient;
7
java -cp $CLASSPATH com.google.gwt.dev.GWTCompiler -out "$APPDIR/www" "$@" org.kepler.web.KeplerClient ;
lib/ajax/src/org/kepler/web/client/MetacatResultsWidget.java
47 47
      // Use a module-relative URLs to ensure that this client code can find 
48 48
      // its way home, even when the URL changes (as might happen when you 
49 49
      // deploy this as a webapp under an external servlet container). 
50
      //String moduleRelativeURL = GWT.getModuleBaseURL() + "kepler";      
51
//      String moduleRelativeURL = "http://library.kepler-project.org/kepler/gwt";
52
      String moduleRelativeURL = "http://dana:8080/kepler/gwt";
53
      System.out.println("connection url: " + moduleRelativeURL);
50
      String moduleRelativeURL = GWT.getModuleBaseURL() + "kepler";      
51
      moduleRelativeURL = "http://library.kepler-project.org/kepler/gwt";
54 52
      target.setServiceEntryPoint(moduleRelativeURL);
55 53
    }
56 54

  
lib/ajax/src/org/kepler/web/client/DynaTableWidget.java
193 193
      dock.setCellHorizontalAlignment(closeButton, DockPanel.ALIGN_RIGHT);
194 194
      dock.setCellWidth(iframe, "100%");
195 195
      dock.setWidth("100%");
196
      iframe.setWidth("36em");
197
      iframe.setHeight("20em");
196
      iframe.setWidth("80em");
197
      iframe.setHeight("50em");
198 198
      setWidget(dock);
199 199
    }
200 200

  
lib/ajax/build.xml
8 8
  <!-- set classpath -->
9 9
  <path id="project.class.path">
10 10
    <pathelement path="${java.class.path}/"/>
11
    <pathelement path="/home/berkley/tools/gwt/gwt-user.jar"/>
12
    <pathelement path="/home/berkley/tools/gwt/gwt-servlet.jar"/>
11
    <pathelement path="/home/berkley/library.kepler-project/gwt/gwt-user.jar"/>
12
    <pathelement path="/home/berkley/library.kepler-project/gwt/gwt-servlet.jar"/>
13 13
    <pathelement path="./lib/client.jar"/>
14 14
    <pathelement path="./lib/utilities.jar"/>
15 15
    <pathelement path="./lib/xalan.jar"/>
src/edu/ucsb/nceas/metacat/client/MetacatClient.java
891 891
                    return sendDataOnce(args, filename, fileData, size);
892 892
                } catch (Exception e3) {
893 893
                    System.err.println(
894
                            "Failed to send data to metacat 3 times.");
894
                            "Failed to send data to metacat 3 times: " + e3.getMessage());
895
                    System.err.println("metacaturl: " + metacatUrl);
895 896
                    throw e3;
896 897
                }
897 898
            }

Also available in: Unified diff