Mercurial > hg > monetdb-java
annotate Makefile @ 899:cccaeb65a5d6
Extend Makefile with target: jre21jars
Note this requires that your OS has jdk21 installed and be the default jvm.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 30 May 2024 13:08:03 +0200 (10 months ago) |
parents | 74b907f25564 |
children | 52508322a849 |
rev | line source |
---|---|
829
a03de7b24ae8
No need to create MonetVersion.java before running ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
786
diff
changeset
|
1 all: src/main/java/org/monetdb/jdbc/MonetVersion.java.in |
1
aded8207ba33
Created simple makefile for building jars using ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff
changeset
|
2 ant -f build.xml distjdbc distmerocontrol |
aded8207ba33
Created simple makefile for building jars using ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff
changeset
|
3 cd tests; ant -f build.xml jar_jdbctests |
aded8207ba33
Created simple makefile for building jars using ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff
changeset
|
4 |
786
f7df78989ac5
Generate MonetVersion.java rather than MonetDriver.java
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
785
diff
changeset
|
5 jre17jars: src/main/java/org/monetdb/jdbc/MonetVersion.java |
747
342fc48c95cd
Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
662
diff
changeset
|
6 rm -rf build |
342fc48c95cd
Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
662
diff
changeset
|
7 ant -f build_jre17.xml distjdbc |
342fc48c95cd
Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
662
diff
changeset
|
8 rm -rf build |
342fc48c95cd
Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
662
diff
changeset
|
9 |
899
cccaeb65a5d6
Extend Makefile with target: jre21jars
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
880
diff
changeset
|
10 jre21jars: src/main/java/org/monetdb/jdbc/MonetVersion.java |
cccaeb65a5d6
Extend Makefile with target: jre21jars
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
880
diff
changeset
|
11 rm -rf build |
cccaeb65a5d6
Extend Makefile with target: jre21jars
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
880
diff
changeset
|
12 ant -f build_jre21.xml distjdbc |
cccaeb65a5d6
Extend Makefile with target: jre21jars
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
880
diff
changeset
|
13 rm -rf build |
cccaeb65a5d6
Extend Makefile with target: jre21jars
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
880
diff
changeset
|
14 |
880
74b907f25564
Allow to run 'make test' in the toplevel directory
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
829
diff
changeset
|
15 test: all |
74b907f25564
Allow to run 'make test' in the toplevel directory
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
829
diff
changeset
|
16 echo banana |
74b907f25564
Allow to run 'make test' in the toplevel directory
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
829
diff
changeset
|
17 cd tests; ant -f build.xml test |
74b907f25564
Allow to run 'make test' in the toplevel directory
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
829
diff
changeset
|
18 |
747
342fc48c95cd
Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
662
diff
changeset
|
19 testsjar: |
342fc48c95cd
Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
662
diff
changeset
|
20 cd tests; ant -f build.xml jar_jdbctests |
342fc48c95cd
Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
662
diff
changeset
|
21 |
193
982534c83436
Updating build.xml and tests/build.xml
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
3
diff
changeset
|
22 doc: |
982534c83436
Updating build.xml and tests/build.xml
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
3
diff
changeset
|
23 ant -f build.xml doc |
982534c83436
Updating build.xml and tests/build.xml
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
3
diff
changeset
|
24 |
1
aded8207ba33
Created simple makefile for building jars using ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff
changeset
|
25 clean: |
786
f7df78989ac5
Generate MonetVersion.java rather than MonetDriver.java
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
785
diff
changeset
|
26 rm -f src/main/java/org/monetdb/jdbc/MonetVersion.java |
193
982534c83436
Updating build.xml and tests/build.xml
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
3
diff
changeset
|
27 rm -rf build tests/build jars doc |
396
c763cc259132
Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
391
diff
changeset
|
28 |
c763cc259132
Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
391
diff
changeset
|
29 cleandoc: |
c763cc259132
Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
391
diff
changeset
|
30 rm -rf doc |
c763cc259132
Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
391
diff
changeset
|
31 |
c763cc259132
Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
391
diff
changeset
|
32 cleantests: |
c763cc259132
Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
391
diff
changeset
|
33 rm -rf tests/build |
c763cc259132
Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
391
diff
changeset
|
34 rm -f jars/jdbctests.jar |
c763cc259132
Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents:
391
diff
changeset
|
35 |