[MacPorts] #45034: java/postgres-jdbc does not install with Java 8

MacPorts noreply at macports.org
Thu Sep 18 03:49:15 PDT 2014


#45034: java/postgres-jdbc does not install with Java 8
------------------------------+--------------------------------
  Reporter:  easieste@…       |      Owner:  macports-tickets@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.1
Resolution:                   |   Keywords:
      Port:  postgresql-jdbc  |
------------------------------+--------------------------------
Description changed by easieste@…:

Old description:

> Notes towards finishing the attached patch:
>
> Port ails 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/>.

New description:

 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/>.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/45034#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list