Skip to content
Browse files

did the docs, scripts, spring and gorm jars OSGi manifest templates

  • Loading branch information...
1 parent da8e4f8 commit 627458c05f06be43806bb985060d9061fdb15edc @graemerocher graemerocher committed
Showing with 119 additions and 5 deletions.
  1. +17 −0 ant/build/bundle.xml
  2. +8 −1 build.properties
  3. +6 −2 maven/grails-bootstrap.mf
  4. +14 −0 maven/grails-docs.mf
  5. +25 −0 maven/grails-gorm.mf
  6. +21 −0 maven/grails-scripts.mf
  7. +21 −0 maven/grails-spring.mf
  8. +7 −2 maven/grails-test.mf
View
17 ant/build/bundle.xml
@@ -119,6 +119,10 @@
<include name="**/groovy/grails/documentation/**" />
</fileset>
</jar>
+ <antcall target="--bundlor-jar">
+ <param name="bundle.name" value="docs" />
+ </antcall>
+
<jar destfile="${grails.dist}/grails-spring-${grails.version}.jar" manifest="${grails.build}/META-INF/MANIFEST.MF">
<fileset dir="${grails.build}">
@@ -127,6 +131,11 @@
<include name="**/groovy/grails/commons/spring/**" />
</fileset>
</jar>
+ <antcall target="--bundlor-jar">
+ <param name="bundle.name" value="spring" />
+ </antcall>
+
+
<jar destfile="${grails.dist}/grails-bootstrap-${grails.version}.jar" manifest="${grails.build}/META-INF/MANIFEST.MF">
<fileset dir="${grails.build}">
<include name="META-INF/**" />
@@ -149,6 +158,10 @@
<fileset dir="${grails.target}/compiled-scripts"/>
<file file="${basedir}/scripts/log4j.properties"/>
</jar>
+ <antcall target="--bundlor-jar">
+ <param name="bundle.name" value="scripts" />
+ </antcall>
+
<jar destfile="${grails.dist}/grails-gorm-${grails.version}.jar" manifest="${grails.build}/META-INF/MANIFEST.MF">
@@ -160,6 +173,10 @@
<include name="**/groovy/grails/validation/Hibernate**" />
</fileset>
</jar>
+ <antcall target="--bundlor-jar">
+ <param name="bundle.name" value="gorm" />
+ </antcall>
+
<delete>
<fileset dir="${grails.build}/META-INF">
<include name="*.handlers" />
View
9 build.properties
@@ -4,13 +4,20 @@ grails.src.commons=src/commons
grails.src.groovy=src/groovy
# Bundlor dependency versions
+bundlor.hibernate.version=3.3.1.GA
+bundlor.javassist.version=3.4.0.GA
+bundlor.svnkit.version=1.3.1
+bundlor.servlet.version=2.5.0
+bundlor.radeox.version=1.0.0.b2
bundlor.groovy.version=1.6.5
bundlor.spring.version=3.0.0.RC2
bundlor.ant.version=1.7.1
bundlor.ivy.version=2.0.0
bundlor.gant.version=1.6.0
bundlor.junit.version=3.8.2
-bundlor.commons.logging.version=1.1
+bundlor.commons.logging.version=1.1.0
+bundlor.commons.beanutils.version=1.8.0
+bundlor.commons.lang.version=2.4.0
grails.src=src/java
grails.test=src/test
View
8 maven/grails-bootstrap.mf
@@ -6,8 +6,12 @@ Bundle-SymbolicName: org.grails.bootstrap
Import-Template:
gant.*;version="${gant.version:[=.=.=, +1.0.0)}",
org.codehaus.gant.*;version="${gant.version:[=.=.=, +1.0.0)}",
- groovy.*;version="${groovy.version:[=.=.=, +1.0.0)}",
org.apache.ivy.*;version="${ivy.version:[=.=.=, +1.0.0)}",
org.apache.tools.ant.*;version="${ant.version:[=.=.=, +1.0.0)}",
- org.codehaus.groovy.*;version="${groovy.version:[=.=.=, +1.0.0)}",
+ groovy.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.runtime.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.control.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.reflection.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.ant.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.tools.*;version="${groovy.version:[=.=.=, =.+1.0)}",
org.springframework.*;version="${spring.version:[=.=.=, +1.0.0)}"
View
14 maven/grails-docs.mf
@@ -0,0 +1,14 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Grails
+Bundle-Vendor: SpringSource Inc.
+Bundle-SymbolicName: org.grails.docs
+Import-Template:
+ org.radeox.*;version="${radeox.version:[=.=.=, +1.0.0)}",
+ groovy.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.runtime.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.control.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.reflection.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.ant.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.tools.*;version="${groovy.version:[=.=.=, =.+1.0)}"
+
View
25 maven/grails-gorm.mf
@@ -0,0 +1,25 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Grails
+Bundle-Vendor: SpringSource Inc.
+Bundle-SymbolicName: org.grails.gorm
+Import-Template:
+ org.apache.commons.beanutils.*;version="${commons.beanutils.version:[=.=.=, +1.0.0)}",
+ org.apache.commons.lang.*;version="${commons.lang.version:[=.=.=, +1.0.0)}",
+ org.apache.commons.logging.*;version="${commons.logging.version:[=.=.=, +1.0.0)}",
+ groovy.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.runtime.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.control.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.reflection.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.ant.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.tools.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.grails.*;version="${grails.version:[=.=.=, =.+1.0)}",
+ grails.*;version="${grails.version:[=.=.=, =.+1.0)}",
+ org.hibernate.*;version="${hibernate.version:[=.=.=, =.+1.0)}",
+ javassist.*;version="${javassist.version:[=.=.=, =.+1.0)}",
+ javax.servlet.*;version="${servlet.version:[=.=.=, +1.0.0)}",
+ javax.sql.*;version="0",
+ org.w3c.dom.*;version="0",
+ org.springframework.*;version="${spring.version:[=.=.=, +1.0.0)}"
+
+
View
21 maven/grails-scripts.mf
@@ -0,0 +1,21 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Grails
+Bundle-Vendor: SpringSource Inc.
+Bundle-SymbolicName: org.grails.scripts
+Import-Template:
+ gant.*;version="${gant.version:[=.=.=, +1.0.0)}",
+ org.codehaus.gant.*;version="${gant.version:[=.=.=, +1.0.0)}",
+ org.apache.ivy.*;version="${ivy.version:[=.=.=, +1.0.0)}",
+ org.apache.tools.ant.*;version="${ant.version:[=.=.=, +1.0.0)}",
+ org.codehaus.groovy.grails.*;version="${grails.version:[=.=.=, =.+1.0)}",
+ grails.*;version="${grails.version:[=.=.=, =.+1.0)}",
+ javax.xml.*;version="0",
+ org.tmatesoft.*;version="${svnkit.version:[=.=.=, +1.0.0)}",
+ groovy.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.runtime.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.control.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.reflection.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.ant.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.tools.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.springframework.*;version="${spring.version:[=.=.=, +1.0.0)}"
View
21 maven/grails-spring.mf
@@ -0,0 +1,21 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Grails
+Bundle-Vendor: SpringSource Inc.
+Bundle-SymbolicName: org.grails.spring
+Import-Template:
+ org.apache.commons.logging.*;version="${commons.logging.version:[=.=.=, +1.0.0)}",
+ groovy.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.runtime.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.control.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.reflection.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.ant.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.tools.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.grails.*;version="${grails.version:[=.=.=, =.+1.0)}",
+ grails.*;version="${grails.version:[=.=.=, =.+1.0)}",
+ javax.servlet.*;version="${servlet.version:[=.=.=, +1.0.0)}",
+ org.w3c.dom.*;version="0",
+ org.xml.sax.*;version="0",
+ org.springframework.*;version="${spring.version:[=.=.=, +1.0.0)}"
+
+
View
9 maven/grails-test.mf
@@ -5,8 +5,13 @@ Bundle-Vendor: SpringSource Inc.
Bundle-SymbolicName: org.grails.test
Import-Template:
grails.util.*;version="${grails.version:[=.=.=, +1.0.0)}",
- groovy.*;version="${groovy.version:[=.=.=, +1.0.0)}",
junit.*;version="${junit.version:[=.=.=, +1.0.0)}",
org.apache.commons.logging.*;version="${commons.logging.version:[=.=.=, +1.0.0)}",
- org.codehaus.groovy.*;version="${groovy.version:[=.=.=, +1.0.0)}",
+ groovy.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.runtime.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.control.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.reflection.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.ant.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.tools.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.grails.*;version="${grails.version:[=.=.=, +1.0.0)}",
org.springframework.*;version="${spring.version:[=.=.=, +1.0.0)}"

0 comments on commit 627458c

Please sign in to comment.
Something went wrong with that request. Please try again.