tags 793582 patch
thanks

[javac] /geronimo-javamail-1.4-spec-1.7.1/src/main/java/javax/mail/Session.java:43: error: package org.apache.geronimo.osgi.locator does not exist
   [javac] import org.apache.geronimo.osgi.locator.ProviderLocator;

I looked into this, and have attached a patch which makes the package
build successfully.

geronimo-osgi-support [1] recently uploaded a new version, but the
rules file in this package still tried to find the 1.0 jar which no
longer existed. My patch updates the version number to the current
one and adjust the dependency to also require 1.1 or higher to fail
early if the package is attempted built with an older version.

To the person reviewing this: the 1.0 version is also mentioned in
the pom.xml, and it is possible this should be updated also.
However, the svn repo seemd to only contain the debian directory
and I wasn't sure what would be best practice when patching it.

Btw, I'm generally confused why the package is built using ant when
it has a pom.xml.


[1] https://tracker.debian.org/pkg/geronimo-osgi-support

--
mvh / best regards
Hans Joachim Desserud
http://desserud.org
Index: debian/control
===================================================================
--- debian/control	(revisjon 18809)
+++ debian/control	(arbeidskopi)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Brian Thomason <brian.thoma...@eucalyptus.com>
-Build-Depends-Indep: default-jdk, libgeronimo-osgi-support-java
+Build-Depends-Indep: default-jdk, libgeronimo-osgi-support-java (>= 1.1)
 Build-Depends: ant, debhelper (>= 9), cdbs (>= 0.4.5.3)
 Standards-Version: 3.9.5
 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/geronimo-javamail-1.4-spec-java
Index: debian/rules
===================================================================
--- debian/rules	(revisjon 18809)
+++ debian/rules	(arbeidskopi)
@@ -18,7 +18,7 @@
                         -DartifactId=$(PACKAGE) \
                         -DsourceVersion=$(REQUIRED_JVM_VERSION) \
                         -DtargetVersion=$(REQUIRED_JVM_VERSION)
-DEB_JARS             := geronimo-osgi-locator-1.0 osgi.core osgi.compendium
+DEB_JARS             := geronimo-osgi-locator-1.1 osgi.core osgi.compendium
 
 get-orig-source:
 	echo "Getting version $(VERSION) from $(SVN)"
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to