Opened 12 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)

ant_rules.diff (5.7 KB ) - added by delawen 12 years ago.

Download all attachments as: .zip

Change History (11)

by delawen, 12 years ago

Attachment: ant_rules.diff added

comment:1 by delawen, 12 years ago

Status: newassigned

I attached a patch to provide ant rules to execute maven.

comment:2 by strk, 12 years ago

So we need both ant _and_ maven ? Our final goal is to have Makefile rules here…

comment:3 by delawen, 12 years ago

No, ant downloads first all jars required.

comment:4 by delawen, 12 years ago

And on "distclean" removes all jars downloaded leaving the environment as was before building it.

comment:5 by strk, 12 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 strk, 12 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 strk, 12 years ago

Milestone: PostGIS 2.0.0PostGIS 2.1.0
Summary: Provide standard Makefile rules for java componentsProvide install,uninstall and check Makefile rules for java components

comment:8 by robe, 11 years ago

Milestone: PostGIS 2.1.0PostGIS Future

comment:9 by robe, 7 years ago

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

comment:10 by strk, 6 years ago

Resolution: wontfix
Status: assignedclosed

Java components are not anymore in this repository, please refer to https://git.osgeo.org/gitea/postgis/postgis-java

Note: See TracTickets for help on using tickets.