From 20a803964212774dd7cd57bafd7401cdcd39793e Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Thu, 25 Feb 2010 15:46:54 +0000 Subject: [PATCH] + improve template for spring-context so that the import-package is updated automatically --- build.properties | 4 ++-- org.springframework.context/template.mf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.properties b/build.properties index 298b69a86e..19380fe7ec 100644 --- a/build.properties +++ b/build.properties @@ -1,7 +1,7 @@ -# DON'T forget to update spring-context manifest (Import-Package jpa entry) version=3.0.2 # osgi ranges -spring.osgi.range="${version:[=.=.=, =.=.+1)}" +spring.osgi.range.nq=${version:[=.=.=, =.=.+1)} +spring.osgi.range="${spring.osgi.range.nq}" aj.osgi.range="[1.5.4, 2.0.0)" # diff --git a/org.springframework.context/template.mf b/org.springframework.context/template.mf index a460393586..b6e3be9502 100644 --- a/org.springframework.context/template.mf +++ b/org.springframework.context/template.mf @@ -4,7 +4,7 @@ Bundle-Vendor: SpringSource Bundle-ManifestVersion: 2 Import-Package: javax.persistence;version="[1.0.0, 3.0.0)";resolution:=optional, - org.springframework.orm.jpa.support;version="[3.0.2,3.0.3)";resolution:=optional, + org.springframework.orm.jpa.support;version="${spring.osgi.range.nq}";resolution:=optional, com.ibm.websphere.management;version="0";resolution:=optional Import-Template: bsh.*;version="[2.0.0.b4, 3.0.0)";resolution:=optional,