Skip to content

Commit

Permalink
Adds JARs from App Engine SDK 1.7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
arjenvanderende committed Apr 9, 2013
1 parent 0b53d95 commit c00ea47
Show file tree
Hide file tree
Showing 39 changed files with 15 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ samples-and-tests/lists-with-gae/true
*.iml

play-framework
manifest
out
Binary file added lib/appengine-agent.jar
Binary file not shown.
Binary file added lib/appengine-agentimpl.jar
Binary file not shown.
Binary file modified lib/appengine-agentruntime.jar
Binary file not shown.
Binary file added lib/appengine-api-1.0-sdk-1.7.7.jar
Binary file not shown.
Binary file added lib/appengine-api-labs-1.7.7.jar
Binary file not shown.
Binary file modified lib/appengine-api-labs.jar
Binary file not shown.
Binary file modified lib/appengine-api-stubs.jar
Binary file not shown.
Binary file modified lib/appengine-api.jar
Binary file not shown.
Binary file added lib/appengine-dev-jdk-overrides.jar
Binary file not shown.
Binary file added lib/appengine-endpoints.jar
Binary file not shown.
Binary file removed lib/appengine-jsr107cache-1.6.1.1.jar
Binary file not shown.
Binary file added lib/appengine-jsr107cache-1.7.7.jar
Binary file not shown.
Binary file added lib/appengine-local-endpoints.jar
Binary file not shown.
Binary file modified lib/appengine-local-runtime-shared.jar
Binary file not shown.
Binary file modified lib/appengine-local-runtime.jar
Binary file not shown.
Binary file modified lib/appengine-remote-api.jar
Binary file not shown.
Binary file modified lib/appengine-testing.jar
Binary file not shown.
Binary file modified lib/appengine-tools-api.jar
Binary file not shown.
Binary file added lib/asm-4.1.jar
Binary file not shown.
Binary file added lib/datanucleus-core-1.1.5.jar
Binary file not shown.
Binary file added lib/datanucleus-enhancer-1.1.4.jar
Binary file not shown.
Binary file added lib/datanucleus-jpa-1.1.5.jar
Binary file not shown.
Binary file modified lib/el-api.jar
Binary file not shown.
Binary file added lib/geronimo-jpa_3.0_spec-1.1.1.jar
Binary file not shown.
Binary file added lib/google_sql.jar
Binary file not shown.
Binary file added lib/jdo2-api-2.3-eb.jar
Binary file not shown.
Binary file modified lib/jsp-api.jar
Binary file not shown.
Binary file added lib/jta-1.1.jar
Binary file not shown.
Binary file added lib/repackaged-appengine-ant-1.7.1.jar
Binary file not shown.
Binary file added lib/repackaged-appengine-ant-launcher-1.7.1.jar
Binary file not shown.
Binary file modified lib/repackaged-appengine-jakarta-jstl-1.1.2.jar
Binary file not shown.
Binary file modified lib/repackaged-appengine-jakarta-standard-1.1.2.jar
Binary file not shown.
Binary file modified lib/repackaged-appengine-jasper-6.0.29.jar
Binary file not shown.
Binary file modified lib/repackaged-appengine-jasper-el-6.0.29.jar
Binary file not shown.
Binary file added lib/repackaged-appengine-jasper-jdt-6.0.29.jar
Binary file not shown.
Binary file modified lib/repackaged-appengine-tomcat-juli-6.0.29.jar
Binary file not shown.
Binary file added lib/servlet-api.jar
Binary file not shown.
20 changes: 13 additions & 7 deletions src/play/modules/gae/PlayDevEnvironment.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
package play.modules.gae;

import com.google.appengine.tools.development.ApiProxyLocal;
import com.google.appengine.tools.development.ApiProxyLocalFactory;
import com.google.appengine.tools.development.LocalServerEnvironment;
//import com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig;
//import com.google.appengine.tools.development.testing.LocalTaskQueueTestConfig;
import com.google.appengine.api.datastore.dev.LocalDatastoreService;
import com.google.appengine.tools.development.*;
import com.google.apphosting.api.ApiProxy;
import com.google.apphosting.api.ApiProxy.Environment;
import play.Play;
Expand All @@ -14,9 +10,13 @@
import play.server.Server;

import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

//import com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig;
//import com.google.appengine.tools.development.testing.LocalTaskQueueTestConfig;

public class PlayDevEnvironment implements Environment, LocalServerEnvironment {

public static PlayDevEnvironment create() {
Expand Down Expand Up @@ -97,7 +97,10 @@ public void setDefaultNamespace(String ns) {

@Override
public Map<String, Object> getAttributes() {
return new HashMap<String, Object>();
HashMap<String, Object> hashMap = new HashMap<String, Object>();
hashMap.put(LocalEnvironment.REQUEST_END_LISTENERS, new ArrayList<RequestEndListener>());

return hashMap;
}

@Override
Expand Down Expand Up @@ -151,6 +154,9 @@ protected static String getBaseUrl() {
}
}


@Override
public long getRemainingMillis() {
return 60000;
}
}

0 comments on commit c00ea47

Please sign in to comment.