remove mifosng-data
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
bin
|
|
||||||
build
|
|
||||||
repos
|
|
||||||
.classpath
|
|
||||||
.project
|
|
||||||
.settings
|
|
||||||
.gradle
|
|
||||||
*.log
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
apply plugin: 'eclipse'
|
|
||||||
apply plugin: 'java'
|
|
||||||
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_6
|
|
||||||
targetCompatibility = JavaVersion.VERSION_1_6
|
|
||||||
|
|
||||||
group = 'org.mifosng.data'
|
|
||||||
version = '0.2'
|
|
||||||
|
|
||||||
jerseyVersion = '1.12'
|
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
mavenLocal()
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
compile( [group: 'joda-time', name: 'joda-time', version: '2.1'],
|
|
||||||
[group: 'com.sun.jersey', name: 'jersey-json', version: jerseyVersion],
|
|
||||||
)
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
uploadArchives {
|
|
||||||
repositories {
|
|
||||||
flatDir {
|
|
||||||
dirs '../repos'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
@XmlJavaTypeAdapters({@XmlJavaTypeAdapter(type=DateTime.class, value=DateTimeAdapter.class),@XmlJavaTypeAdapter(type = LocalDate.class, value = LocalDateAdapter.class) })
|
|
||||||
package org.mifosng.data.command;
|
|
||||||
|
|
||||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
|
||||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters;
|
|
||||||
|
|
||||||
import org.joda.time.DateTime;
|
|
||||||
import org.joda.time.LocalDate;
|
|
||||||
import org.mifosng.jodaadapters.DateTimeAdapter;
|
|
||||||
import org.mifosng.jodaadapters.LocalDateAdapter;
|
|
||||||
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
@XmlJavaTypeAdapters({@XmlJavaTypeAdapter(type=DateTime.class, value=DateTimeAdapter.class),@XmlJavaTypeAdapter(type = LocalDate.class, value = LocalDateAdapter.class) })
|
|
||||||
package org.mifosng.data;
|
|
||||||
|
|
||||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
|
||||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters;
|
|
||||||
|
|
||||||
import org.joda.time.DateTime;
|
|
||||||
import org.joda.time.LocalDate;
|
|
||||||
import org.mifosng.jodaadapters.DateTimeAdapter;
|
|
||||||
import org.mifosng.jodaadapters.LocalDateAdapter;
|
|
||||||
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
@XmlJavaTypeAdapters({@XmlJavaTypeAdapter(type=DateTime.class, value=DateTimeAdapter.class),@XmlJavaTypeAdapter(type = LocalDate.class, value = LocalDateAdapter.class) })
|
|
||||||
package org.mifosng.data.query;
|
|
||||||
|
|
||||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
|
||||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters;
|
|
||||||
|
|
||||||
import org.joda.time.DateTime;
|
|
||||||
import org.joda.time.LocalDate;
|
|
||||||
import org.mifosng.jodaadapters.DateTimeAdapter;
|
|
||||||
import org.mifosng.jodaadapters.LocalDateAdapter;
|
|
||||||
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
@XmlJavaTypeAdapters({@XmlJavaTypeAdapter(type=DateTime.class, value=DateTimeAdapter.class),@XmlJavaTypeAdapter(type = LocalDate.class, value = LocalDateAdapter.class) })
|
|
||||||
package org.mifosng.data.reports;
|
|
||||||
|
|
||||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
|
||||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters;
|
|
||||||
|
|
||||||
import org.joda.time.DateTime;
|
|
||||||
import org.joda.time.LocalDate;
|
|
||||||
import org.mifosng.jodaadapters.DateTimeAdapter;
|
|
||||||
import org.mifosng.jodaadapters.LocalDateAdapter;
|
|
||||||
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
package org.mifosng.jodaadapters;
|
|
||||||
|
|
||||||
import javax.xml.bind.annotation.adapters.XmlAdapter;
|
|
||||||
|
|
||||||
import org.joda.time.DateTime;
|
|
||||||
|
|
||||||
public class DateTimeAdapter extends XmlAdapter<String, DateTime> {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public DateTime unmarshal(final String v) throws Exception {
|
|
||||||
return new DateTime(v);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String marshal(final DateTime v) throws Exception {
|
|
||||||
return v.toString();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
package org.mifosng.jodaadapters;
|
|
||||||
|
|
||||||
import javax.xml.bind.annotation.adapters.XmlAdapter;
|
|
||||||
|
|
||||||
import org.joda.time.LocalDate;
|
|
||||||
|
|
||||||
public class LocalDateAdapter extends XmlAdapter<String, LocalDate> {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public LocalDate unmarshal(final String v) throws Exception {
|
|
||||||
return new LocalDate(v);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String marshal(final LocalDate v) throws Exception {
|
|
||||||
return v.toString();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
+1
-1
@@ -1 +1 @@
|
|||||||
include 'mifosng-data', 'mifosng-provider'
|
include 'mifosng-provider'
|
||||||
Reference in New Issue
Block a user