Skip to content

Commit

Permalink
drop play db support
Browse files Browse the repository at this point in the history
  • Loading branch information
renat-nosto committed Feb 29, 2024
1 parent b0212e0 commit e06214d
Show file tree
Hide file tree
Showing 519 changed files with 55 additions and 28,185 deletions.
20 changes: 0 additions & 20 deletions framework/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -283,26 +283,6 @@
<param name="play.enhancement" value="-DenableAllEnhancers=true" />
</antcall>

<antcall target="play-test">
<param name="testAppPath" value="${basedir}/../samples-and-tests/forum"/>
<param name="play.enhancement" value="-DenableAllEnhancers=true" />
</antcall>

<antcall target="play-test">
<param name="testAppPath" value="${basedir}/../samples-and-tests/zencontact"/>
<param name="play.enhancement" value="-DenableAllEnhancers=true" />
</antcall>

<antcall target="play-test">
<param name="testAppPath" value="${basedir}/../samples-and-tests/jobboard"/>
<param name="play.enhancement" value="-DenableAllEnhancers=true" />
</antcall>

<antcall target="play-test">
<param name="testAppPath" value="${basedir}/../samples-and-tests/yabe"/>
<param name="play.enhancement" value="-DenableAllEnhancers=true" />
</antcall>

<antcall target="play-test">
<param name="testAppPath" value="${basedir}/../samples-and-tests/nonstatic-app"/>
<param name="play.enhancement" value="-DenableAllEnhancers=true" />
Expand Down
11 changes: 1 addition & 10 deletions framework/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ transitiveDependencies: false
# This core dependencies are required by Play framework
require: &allDependencies
- antlr 2.7.7
- com.mchange -> c3p0 0.9.5.5
- com.zaxxer -> HikariCP 5.0.1
- org.ow2.asm -> asm 9.6
- org.ow2.asm -> asm-commons 9.6
- org.ow2.asm -> asm-util 9.6
Expand All @@ -29,7 +27,6 @@ require: &allDependencies
- org.apache.commons -> commons-text 1.10.0
- commons-logging 1.2
- org.dom4j -> dom4j 2.1.4
- com.h2database -> h2 1.4.200
- javax.activation -> javax.activation-api 1.2.0
- com.sun.mail -> javax.mail 1.6.2
- jakarta.inject -> jakarta.inject-api 1.0
Expand All @@ -56,20 +53,14 @@ require: &allDependencies
- org.codehaus.groovy -> groovy-xml 3.0.19
- org.eclipse.jdt -> org.eclipse.jdt.core 3.33.0
- org.eclipse.jdt -> ecj 3.33.0
- org.hibernate -> hibernate-core 5.6.15.Final
- net.bytebuddy -> byte-buddy 1.14.9
- javax.persistence -> javax.persistence-api 2.2
- org.hibernate.common -> hibernate-commons-annotations 5.1.2.Final
- org.hibernate -> hibernate-validator 5.4.3.Final
- io.smallrye -> jandex 3.1.5
- org.jboss.logging -> jboss-logging 3.5.3.Final
- org.jboss.spec.javax.transaction -> jboss-transaction-api_1.2_spec 1.1.1.Final
- javax.persistence -> javax.persistence-api 2.2
- javax.xml.bind -> jaxb-api 2.3.1
- org.glassfish.jaxb -> jaxb-runtime 2.3.8
- com.fasterxml -> classmate 1.6.0
- org.hibernate -> hibernate-c3p0 5.6.15.Final
- org.hibernate -> hibernate-ehcache 5.6.15.Final
- com.mchange -> mchange-commons-java 0.2.20
- org.javassist -> javassist 3.29.2-GA
- io.netty -> netty 3.10.6.Final
Expand All @@ -80,7 +71,7 @@ require: &allDependencies
- net.spy -> spymemcached 2.12.3
- com.thoughtworks.xstream -> xstream 1.4.20
- xmlpull 1.1.3.4d_b4_min
- org.apache.logging.log4j -> log4j-web 2.18.0


# Default repositories, used for all projects
repositories:
Expand Down
4 changes: 0 additions & 4 deletions framework/src/play.plugins
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
1:play.ConfigurationChangeWatcherPlugin
100:play.data.parsing.TempFilePlugin
200:play.data.validation.ValidationPlugin
300:play.db.DBPlugin
301:play.db.DBBrowserPlugin
400:play.db.jpa.JPAPlugin
450:play.db.Evolutions
500:play.i18n.MessagesPlugin
600:play.libs.WS
700:play.jobs.JobsPlugin
Expand Down
10 changes: 0 additions & 10 deletions framework/src/play/PlayPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

import play.classloading.ApplicationClasses.ApplicationClass;
import play.data.binding.RootParamNode;
import play.db.Model;
import play.libs.F;
import play.mvc.Http.Request;
import play.mvc.Http.Response;
Expand Down Expand Up @@ -416,15 +415,6 @@ public void compileAll(List<ApplicationClass> classes) {
public void routeRequest(Request request) {
}

/**
* @param modelClass
* class of the model
* @return the Model factory
*/
public Model.Factory modelFactory(Class<? extends Model> modelClass) {
return null;
}

public void afterFixtureLoad() {
}

Expand Down
6 changes: 1 addition & 5 deletions framework/src/play/data/binding/AnnotationHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import play.data.binding.types.DateBinder;
import play.i18n.Lang;
import play.libs.I18N;
import play.test.Fixtures;

public class AnnotationHelper {

Expand All @@ -37,10 +36,7 @@ public static Date getDateAs(Annotation[] annotations, String value) throws Pars
Locale locale = Lang.getLocale();
String format = as.value()[0];
// According to Binder.java line 328 : Fixtures can use (iso) dates as default
if (format != null && format.equals(Fixtures.PROFILE_NAME)) {
format = DateBinder.ISO8601;
locale = null;
} else if (!StringUtils.isEmpty(format)) {
if (!StringUtils.isEmpty(format)) {
// This can be comma separated
Tuple tuple = getLocale(as.lang());
if (tuple != null) {
Expand Down
1 change: 0 additions & 1 deletion framework/src/play/data/binding/Binder.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public abstract class Binder {
supportedTypes.put(LocalDateTime.class, new LocalDateTimeBinder());
supportedTypes.put(LocalDate.class, new LocalDateBinder());
supportedTypes.put(LocalTime.class, new LocalTimeBinder());
supportedTypes.put(Model.BinaryField.class, new BinaryBinder());
supportedTypes.put(Upload.class, new UploadBinder());
supportedTypes.put(Upload[].class, new UploadArrayBinder());
supportedTypes.put(Calendar.class, new CalendarBinder());
Expand Down
45 changes: 0 additions & 45 deletions framework/src/play/data/binding/types/BinaryBinder.java

This file was deleted.

25 changes: 0 additions & 25 deletions framework/src/play/data/validation/Unique.java

This file was deleted.

111 changes: 0 additions & 111 deletions framework/src/play/data/validation/UniqueCheck.java

This file was deleted.

Loading

0 comments on commit e06214d

Please sign in to comment.