Opened 13 years ago
Closed 6 years ago
#1437 closed task (wontfix)
Provide install,uninstall and check Makefile rules for java components
Reported by: | strk | Owned by: | delawen |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS Fund Me |
Component: | java | Version: | master |
Keywords: | Cc: |
Description
We need the following Makefile rules for java components:
- all - builds what needs to be built…
- clean - removes built files
- distclean - what clean does plus removes whatever was generated by ./configure
- check - runs regress tests
I understand the new preferred build tool for java components is maven, but even if so we want to wrap maven calls into Makefile rules.
Attachments (1)
Change History (11)
by , 13 years ago
Attachment: | ant_rules.diff added |
---|
comment:1 by , 13 years ago
Status: | new → assigned |
---|
comment:2 by , 13 years ago
So we need both ant _and_ maven ? Our final goal is to have Makefile rules here…
comment:4 by , 13 years ago
And on "distclean" removes all jars downloaded leaving the environment as was before building it.
comment:5 by , 13 years ago
I don't really like the idea of a build process downloading binaries from the net. It's kind of nice-to-have support for those choosing to do it but I'd rather rely on packages installed by other means (package managers and so on).
In any case I've played a bit with it and found that the download keeps happening on every call: ant build; ant check; ant build; all of them re-download something.
Also, I'm not sure 'ant check' is really running checks, while I see a few "test" targets (offline, online) which don't seem to work.
comment:6 by , 13 years ago
I've committed your new build.xml in r9236 together with new Makefile rules. Still missing: install/uninstall rules and a "check" rule actually doing something.
comment:7 by , 13 years ago
Milestone: | PostGIS 2.0.0 → PostGIS 2.1.0 |
---|---|
Summary: | Provide standard Makefile rules for java components → Provide install,uninstall and check Makefile rules for java components |
comment:8 by , 12 years ago
Milestone: | PostGIS 2.1.0 → PostGIS Future |
---|
comment:10 by , 6 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Java components are not anymore in this repository, please refer to https://git.osgeo.org/gitea/postgis/postgis-java
I attached a patch to provide ant rules to execute maven.