Skip to content

Commit b103de6

Browse files
author
Brian Munkholm
committed
Merge remote-tracking branch 'Tightdb/master' into bm-develop
Conflicts: .gitignore
2 parents 90d77d8 + 45561d9 commit b103de6

File tree

10 files changed

+36
-28
lines changed

10 files changed

+36
-28
lines changed

.gitignore

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,18 @@ _ReSharper*/
7070

7171
# sh build.sh test
7272
/test_output
73-
74-
.DS_Store
75-
.idea
76-
*.iml
77-
78-
*.lock
79-
80-
tightdb-java-test/testng.xml
81-
82-
doc/ref/examples/fromServlet
73+
74+
.DS_Store
75+
.idea
76+
*.iml
77+
78+
*.lock
79+
80+
tightdb-java-test/testng.xml
81+
82+
doc/ref/examples/fromServlet
83+
84+
# debian packaging
85+
/debian/tightdb-java
86+
/debian/tightdb-java-dev
87+
/debian/.mh

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
tightdb-java (0.0.1-2) UNRELEASED; urgency=low
2+
3+
* Support for Maven.
4+
5+
-- Kenneth Geisshirt <[email protected]> Fri, 31 May 2013 09:44:32 +0200
6+
17
tightdb-java (0.0.1-1) UNRELEASED; urgency=low
28

39
* Initial release. (Closes: #00001)

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ Description: Fast, embedded database
1515

1616
Package: tightdb-java-dev
1717
Architecture: any
18-
Depends: ${shlibs:Depends}, ${misc:Depends}, libtightdb
18+
Depends: ${shlibs:Depends}, ${misc:Depends}, tightdb-java
1919
Description: Fast, embedded database [development]
2020
TightDB is a fast, embedded database. This is the Java interface.

debian/rules

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/usr/bin/make -f
22
# -*- makefile -*-
33

4-
# Uncomment this to turn on verbose mode.
5-
#export DH_VERBOSE=1
4+
VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
65

76
override_dh_usrlocal:
87

@@ -22,7 +21,7 @@ tightdb-java: build
2221
dh_testroot -a
2322
dh_installdocs -a
2423
dh_installchangelogs -p$@ -a
25-
dh_strip -p$@ .a
24+
dh_strip -p$@ -a
2625
dh_compress -p$@ -s
2726
dh_fixperms -p$@ -a
2827
dh_installdeb -p$@ -a
@@ -31,14 +30,20 @@ tightdb-java: build
3130
dh_md5sums -p$@ -a
3231
dh_builddeb -p$@ -a
3332
dh_installdirs
33+
mh_installpoms -p$@
34+
mh_installjar -p$@ -l pom.xml lib/tightdb.jar
3435

3536
tightdb-java-dev: build
3637
DESTDIR=$$(pwd)/debian/tightdb-java-dev sh build.sh install
3738
dh_testdir -a
3839
dh_testroot -a
3940
dh_installdocs -a
4041
dh_installchangelogs -p$@ -a
41-
dh_strip -p$@ .a
42+
dh_strip -p$@ -a
43+
dh_installexamples -p$@ $$(pwd)/examples/ant-setup
44+
dh_installexamples -p$@ $$(pwd)/examples/intro-example
45+
dh_installexamples -p$@ $$(pwd)/examples/lib-sqlite
46+
dh_installexamples -p$@ $$(pwd)/examples/maven-setup
4247
dh_compress -p$@ -s
4348
dh_fixperms -p$@ -a
4449
dh_installdeb -p$@ -a

pom.xml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<groupId>com.tightdb</groupId>
7-
<artifactId>tightdb-parent</artifactId>
8-
<version>1.1.0</version>
7+
<artifactId>tightdb</artifactId>
8+
<version>0.0.1</version>
99
<packaging>pom</packaging>
1010

1111
<properties>
@@ -34,12 +34,4 @@
3434
</plugin>
3535
</plugins>
3636
</build>
37-
38-
<modules>
39-
<module>tightdb-java-core</module>
40-
<module>tightdb-java-generator</module>
41-
<module>tightdb-java-example</module>
42-
<module>tightdb-java-doc</module>
43-
<module>tightdb-java-test</module>
44-
</modules>
45-
</project>
37+
</project>

tightdb-java-core/src/main/java/com/tightdb/internal/util.java renamed to tightdb-java-core/src/main/java/com/tightdb/internal/Util.java

File renamed without changes.
File renamed without changes.
File renamed without changes.

tightdb_jni/src/util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <tightdb/utf8.hpp>
88

99
#include "util.hpp"
10-
#include "com_tightdb_internal_util.h"
10+
#include "com_tightdb_internal_Util.h"
1111

1212

1313
using namespace std;

tightdb_jni/src/util.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <tightdb/safe_int_ops.hpp>
1313
#include <tightdb/lang_bind_helper.hpp>
1414

15-
#include "com_tightdb_internal_util.h"
15+
#include "com_tightdb_internal_Util.h"
1616

1717

1818
#define TRACE 1 // disable for performance

0 commit comments

Comments
 (0)