Skip to content

Commit

Permalink
* 2016-02-01 Bump to gae 1.9.31 (ra)
Browse files Browse the repository at this point in the history
* 2016-02-01 Bump to Ninja 5.3.1 (ra)
* 2016-02-01 Fix archetype bug #14 (ra)
  • Loading branch information
raphaelbauer committed Feb 1, 2016
1 parent 7c72f5c commit 16030ce
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 12 deletions.
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
1.9.31
======

* 2016-02-01 Bump to gae 1.9.31 (ra)
* 2016-02-01 Bump to Ninja 5.3.1 (ra)
* 2016-02-01 Fix archetype bug #14 (ra)


1.9.30
======

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

import com.google.inject.Inject;
import com.googlecode.objectify.Objectify;
import com.googlecode.objectify.ObjectifyService;
import java.io.Closeable;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

@Singleton
public class StartupActions {
Expand All @@ -23,13 +28,13 @@ public StartupActions(NinjaProperties ninjaProperties) {

@Start(order=100)
public void generateDummyDataWhenInTest() {

if (ninjaProperties.isDev()) {

ObjectifyProvider.setup();

try (Closeable closeable = ObjectifyService.begin()) {
ObjectifyProvider.setup();
} catch (IOException ex) {
Logger.getLogger(StartupActions.class.getName()).log(Level.SEVERE, null, ex);
}
}

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@

import com.google.inject.Inject;
import com.googlecode.objectify.Objectify;
import com.googlecode.objectify.ObjectifyService;
import java.io.Closeable;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

@Singleton
public class StartupActions {
Expand All @@ -20,13 +25,13 @@ public StartupActions(NinjaProperties ninjaProperties) {

@Start(order=100)
public void generateDummyDataWhenInTest() {

if (ninjaProperties.isDev()) {

ObjectifyProvider.setup();

try (Closeable closeable = ObjectifyService.begin()) {
ObjectifyProvider.setup();
} catch (IOException ex) {
Logger.getLogger(StartupActions.class.getName()).log(Level.SEVERE, null, ex);
}
}

}

}
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@

<!-- pin encoding to utf-8 -->
<properties>
<appengine.version>1.9.30</appengine.version>
<ninja.version>5.2.2</ninja.version>
<appengine.version>1.9.31</appengine.version>
<ninja.version>5.3.1</ninja.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<siteProjectVersion>${project.version}</siteProjectVersion>
Expand Down

0 comments on commit 16030ce

Please sign in to comment.