Opened 10 years ago

Closed 5 years ago

#45034 closed defect (fixed)

java/postgres-jdbc does not install with Java 8

Reported by: easye Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: haspatch Cc:
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/>.

Attachments (1)

postgresql-jdbc.diff (1.0 KB) - added by easye 10 years ago.
Incomplete initial patch of Portfile towards resolution

Download all attachments as: .zip

Change History (7)

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)

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: decibel@… added; decibel.org:decibel removed
Keywords: haspatch added

The Cc field requires valid email addresses.

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to decibel@…
Status: newassigned

comment:4 Changed 5 years ago by mf2k (Frank Schima)

Cc: decibel removed
Owner: decibel@… deleted

See #58266

comment:5 Changed 5 years ago by jrjsmrtn

This ticket can be closed: postgresql-jdbc has been updated to version 42.2.8 and installs with Java 1.8.

comment:6 Changed 5 years ago by easye

Resolution: fixed
Status: assignedclosed

Thanks jrjsmrtn!

Note: See TracTickets for help on using tickets.