Permalink
Browse files

Finished the remaining core, crud and resources manifest templates fo…

…r OSGi
  • Loading branch information...
1 parent 5d26241 commit 3f15b31d0cf387905bb099ffeb2fa49d46482947 @graemerocher graemerocher committed Nov 18, 2009
Showing with 83 additions and 0 deletions.
  1. +15 −0 ant/build/bundle.xml
  2. +2 −0 build.properties
  3. +34 −0 maven/grails-core.mf
  4. +22 −0 maven/grails-crud.mf
  5. +10 −0 maven/grails-resources.mf
View
@@ -106,6 +106,7 @@
<fileset dir="${grails.build}">
<include name="META-INF/**" />
<include name="grails/test/**" />
+ <include name="**/groovy/grails/test/**" />
</fileset>
</jar>
<antcall target="--bundlor-jar">
@@ -221,6 +222,10 @@
<include name="**/groovy/grails/plugins/scaffolding/**" />
</fileset>
</jar>
+ <antcall target="--bundlor-jar">
+ <param name="bundle.name" value="crud" />
+ </antcall>
+
<jar destfile="${grails.dist}/grails-resources-${grails.version}.jar" manifest="${grails.build}/META-INF/MANIFEST.MF">
<fileset dir="${grails.target}" includes="*.jar"/>
<fileset dir="${basedir}">
@@ -231,6 +236,10 @@
<include name="src/war/WEB-INF/tld/*/*.tld"/>
</fileset>
</jar>
+ <antcall target="--bundlor-jar">
+ <param name="bundle.name" value="resources" />
+ </antcall>
+
<mkdir dir="${grails.build}/META-INF/services"/>
<copy todir="${grails.build}/META-INF/services">
@@ -260,6 +269,8 @@
<exclude name="grails/util/Metadata*"/>
<exclude name="grails/util/BuildScope*"/>
<exclude name="grails/util/GrailsMain*"/>
+ <exclude name="grails/test/**"/>
+ <exclude name="**/groovy/grails/test/**" />
<exclude name="**/groovy/grails/commons/spring/**" />
<exclude name="**/groovy/grails/plugins/orm/hibernate**" />
<exclude name="**/groovy/grails/plugins/web/**" />
@@ -269,6 +280,10 @@
<exclude name="**/groovy/grails/validation/Hibernate**" />
</fileset>
</jar>
+ <antcall target="--bundlor-jar">
+ <param name="bundle.name" value="core" />
+ </antcall>
+
<delete dir="${grails.build}/META-INF/services"></delete>
</target>
View
@@ -4,6 +4,7 @@ grails.src.commons=src/commons
grails.src.groovy=src/groovy
# Bundlor dependency versions
+bundlor.javax.persistence.version=1.0.2.GA
bundlor.webflow.version=2.0.8
bundlor.xpp.version=1.1.3
bundlor.log4j.version=1.2.15
@@ -25,6 +26,7 @@ bundlor.commons.lang.version=2.4.0
bundlor.commons.fileupload.version=1.2.1
bundlor.commons.io.version=1.4.0
bundlor.commons.collections.version=3.2.1
+bundlor.commons.validator.version=1.3.1
grails.src=src/java
grails.test=src/test
View
@@ -0,0 +1,34 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Grails
+Bundle-Vendor: SpringSource Inc.
+Bundle-SymbolicName: org.grails.core
+Import-Template:
+ org.apache.log4j.*;version="${log4j.version:[=.=.=, +1.0.0)}",
+ org.apache.tools.ant.*;version="${ant.version:[=.=.=, +1.0.0)}",
+ org.apache.commons.logging.*;version="${commons.logging.version:[=.=.=, +1.0.0)}",
+ org.apache.commons.lang.*;version="${commons.lang.version:[=.=.=, +1.0.0)}",
+ org.apache.commons.collections.*;version="${commons.collections.version:[=.=.=, +1.0.0)}",
+ org.apache.commons.io.*;version="${commons.io.version:[=.=.=, +1.0.0)}",
+ org.apache.commons.validator.*;version="${commons.validator.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.ast.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.classgen.*;version="${groovy.version:[=.=.=, =.+1.0)}",
+ org.codehaus.groovy.transform.*;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)}",
+ javax.persistence.*;version="${javax.persistence.version:[=.=.=, =.+1.0)}",
+ javax.sql.*;version="0",
+ javax.xml.parsers.*;version="0",
+ javax.xml.transform.*;version="0",
+ org.w3c.dom.*;version="0",
+ org.xml.sax.*;version="0",
+ org.springframework.*;version="${spring.version:[=.=.=, +1.0.0)}"
+
+
View
@@ -0,0 +1,22 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Grails
+Bundle-Vendor: SpringSource Inc.
+Bundle-SymbolicName: org.grails.crud
+Import-Template:
+ org.apache.commons.logging.*;version="${commons.logging.version:[=.=.=, +1.0.0)}",
+ org.apache.commons.lang.*;version="${commons.lang.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
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Grails
+Bundle-Vendor: SpringSource Inc.
+Bundle-SymbolicName: org.grails.resources
+Import-Template:
+ org.codehaus.groovy.grails.*;version="${grails.version:[=.=.=, =.+1.0)}",
+ org.springframework.*;version="${spring.version:[=.=.=, +1.0.0)}"
+
+

0 comments on commit 3f15b31

Please sign in to comment.