Opened 10 years ago

Last modified 5 years ago

#45034 closed defect

java/postgres-jdbc does not install with Java 8 — at Version 1

Reported by: easye Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: haspatch Cc: decibel.org:decibel
Port: postgresql-jdbc

Description (last modified by easye)

Notes towards finishing the attached patch:

Port fails to install with Java 8. Setting version to '9.3-1102' downloads a more current version of postgresql-jdbc.

Bumping Portfile to download a version '9.3-1102' runs into problems finding the (not installed) maven-ant-tasks jar. Added dependency to portfile.

maven-ant-tasks depends on maven2, but seems to installs the correct jar.

The Ant build file for postgresql-jdbc looks for the maven-ant-tasks in <file:/opt/local/share/apache-ant/lib/>, but it is installed in <file:/opt/local/share/java/>. One has to use the '-lib' option to the Ant invocation to specify the library.

Next problem lies in the build's Ant process trying to download dependencies via Maven but unable to save these downloads to <file:/opt/local/var/macports/home/.m2/repository/>.

Change History (2)

Changed 10 years ago by easye

Attachment: postgresql-jdbc.diff added

Incomplete initial patch of Portfile towards resolution

comment:1 Changed 10 years ago by easye

Description: modified (diff)
Note: See TracTickets for help on using tickets.