annotate Makefile @ 747:342fc48c95cd

Extend makefile with targets: jre17jars and testsjar
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Wed, 08 Mar 2023 19:59:10 +0100 (2023-03-08)
parents ee1f3b3ff5fd
children e00866975421
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
391
f523727db392 Moved Java classes from packages starting with nl.cwi.monetdb.* to package org.monetdb.*
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 193
diff changeset
1 all: src/main/java/org/monetdb/jdbc/MonetDriver.java
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
747
342fc48c95cd Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 662
diff changeset
5 jre17jars: src/main/java/org/monetdb/jdbc/MonetDriver.java
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
391
f523727db392 Moved Java classes from packages starting with nl.cwi.monetdb.* to package org.monetdb.*
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 193
diff changeset
10 src/main/java/org/monetdb/jdbc/MonetDriver.java: build.properties src/main/java/org/monetdb/jdbc/MonetDriver.java.in
662
ee1f3b3ff5fd Remove MCL_MAJOR and MCL_MINOR references now we no longer distribute monetdb-mcl-1.##.jre8.jar file.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 396
diff changeset
11 . ./build.properties; sed -e "s/@JDBC_MAJOR@/$$JDBC_MAJOR/g;s/@JDBC_MINOR@/$$JDBC_MINOR/g;s/@JDBC_VER_SUFFIX@/$$JDBC_VER_SUFFIX $$buildno/g;s/@JDBC_DEF_PORT@/$$JDBC_DEF_PORT/g" src/main/java/org/monetdb/jdbc/MonetDriver.java.in > src/main/java/org/monetdb/jdbc/MonetDriver.java
1
aded8207ba33 Created simple makefile for building jars using ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
12
747
342fc48c95cd Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 662
diff changeset
13 testsjar:
342fc48c95cd Extend makefile with targets: jre17jars and testsjar
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 662
diff changeset
14 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
15
193
982534c83436 Updating build.xml and tests/build.xml
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 3
diff changeset
16 doc:
982534c83436 Updating build.xml and tests/build.xml
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 3
diff changeset
17 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
18
1
aded8207ba33 Created simple makefile for building jars using ant.
Sjoerd Mullender <sjoerd@acm.org>
parents:
diff changeset
19 clean:
391
f523727db392 Moved Java classes from packages starting with nl.cwi.monetdb.* to package org.monetdb.*
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 193
diff changeset
20 rm -f src/main/java/org/monetdb/jdbc/MonetDriver.java
193
982534c83436 Updating build.xml and tests/build.xml
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 3
diff changeset
21 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
22
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
23 cleandoc:
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
24 rm -rf doc
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
25
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
26 cleantests:
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
27 rm -rf tests/build
c763cc259132 Add tasks cleandoc and cleantests for convenience
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 391
diff changeset
28 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
29