pathfinder.name@gmail.com
Jun 18th, 2010, 11:00 AM
I have installed sts 2.3.2 and dm-server 2.0.2 on my ubuntu 10.04.
When I import the greenpages.web, I use the Spring Tool to generate the MANIFEST.MF, but the MANIFEST.MF file does not generated.
I found this exception in workspace/.metadata/.log :
com.springsource.util.osgi.manifest.parse.BundleMa nifestParseException: Error parsing bundle manifest header [javax.servlet.jsp.jstl.core;version="[1.1.2,1.2.0)",org.eclipse.virgo.web.dm;version="[2.0.0, 3.0.0)",freemarker.cache;version="[2.3.15,2.3.15]",]
HP009E:Unexpectedly ran out of data
at com.springsource.util.osgi.manifest.parse.standard .StandardHeaderParser.parsePackageHeader(StandardH eaderParser.java:67)
at com.springsource.util.osgi.manifest.internal.Stand ardImportPackage.parse(StandardImportPackage.java: 60)
at com.springsource.util.osgi.manifest.internal.Compo undParseable.resetFromParseString(CompoundParseabl e.java:58)
at com.springsource.util.osgi.manifest.internal.Stand ardBundleManifest.initializeHeaders(StandardBundle Manifest.java:123)
at com.springsource.util.osgi.manifest.internal.Stand ardBundleManifest.<init>(StandardBundleManifest.java:78)
at com.springsource.util.osgi.manifest.internal.Stand ardBundleManifest.<init>(StandardBundleManifest.java:82)
at com.springsource.util.osgi.manifest.BundleManifest Factory.createBundleManifest(BundleManifestFactory .java:82)
at com.springsource.util.osgi.manifest.BundleManifest Factory.createBundleManifest(BundleManifestFactory .java:70)
at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.convertToBundleManifest(Bund lorProjectBuilder.java:834)
at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.generateManifest(BundlorProj ectBuilder.java:572)
at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.build(BundlorProjectBuilder. java:220)
at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.build(BundlorProjectBuilder. java:157)
at org.eclipse.core.internal.events.BuildManager$2.ru n(BuildManager.java:627)
......
What's this means?
My template.mf file:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: GreenPages Web
Bundle-SymbolicName: greenpages.web
Bundle-Vendor: SpringSource Inc.
Bundle-Version: 2.0
Import-Package:
javax.servlet.jsp.jstl.core;version="[1.1.2,1.2.0)",
org.eclipse.virgo.web.dm;version="[2.0.0, 3.0.0)",
freemarker.cache;version="[2.3.15,2.3.15]",
Import-Bundle:
com.springsource.org.apache.taglibs.standard;versi on="[1.1.2,1.3)"
Import-Library:
org.springframework.spring;version="[3.0, 3.1)"
Excluded-Exports:
greenpages.tests,
greenpages.web
Excluded-Imports:
org.springframework.test.*,
org.junit.*
Web-ContextPath: greenpages
Thans all!
When I import the greenpages.web, I use the Spring Tool to generate the MANIFEST.MF, but the MANIFEST.MF file does not generated.
I found this exception in workspace/.metadata/.log :
com.springsource.util.osgi.manifest.parse.BundleMa nifestParseException: Error parsing bundle manifest header [javax.servlet.jsp.jstl.core;version="[1.1.2,1.2.0)",org.eclipse.virgo.web.dm;version="[2.0.0, 3.0.0)",freemarker.cache;version="[2.3.15,2.3.15]",]
HP009E:Unexpectedly ran out of data
at com.springsource.util.osgi.manifest.parse.standard .StandardHeaderParser.parsePackageHeader(StandardH eaderParser.java:67)
at com.springsource.util.osgi.manifest.internal.Stand ardImportPackage.parse(StandardImportPackage.java: 60)
at com.springsource.util.osgi.manifest.internal.Compo undParseable.resetFromParseString(CompoundParseabl e.java:58)
at com.springsource.util.osgi.manifest.internal.Stand ardBundleManifest.initializeHeaders(StandardBundle Manifest.java:123)
at com.springsource.util.osgi.manifest.internal.Stand ardBundleManifest.<init>(StandardBundleManifest.java:78)
at com.springsource.util.osgi.manifest.internal.Stand ardBundleManifest.<init>(StandardBundleManifest.java:82)
at com.springsource.util.osgi.manifest.BundleManifest Factory.createBundleManifest(BundleManifestFactory .java:82)
at com.springsource.util.osgi.manifest.BundleManifest Factory.createBundleManifest(BundleManifestFactory .java:70)
at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.convertToBundleManifest(Bund lorProjectBuilder.java:834)
at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.generateManifest(BundlorProj ectBuilder.java:572)
at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.build(BundlorProjectBuilder. java:220)
at com.springsource.server.ide.bundlor.internal.core. BundlorProjectBuilder.build(BundlorProjectBuilder. java:157)
at org.eclipse.core.internal.events.BuildManager$2.ru n(BuildManager.java:627)
......
What's this means?
My template.mf file:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: GreenPages Web
Bundle-SymbolicName: greenpages.web
Bundle-Vendor: SpringSource Inc.
Bundle-Version: 2.0
Import-Package:
javax.servlet.jsp.jstl.core;version="[1.1.2,1.2.0)",
org.eclipse.virgo.web.dm;version="[2.0.0, 3.0.0)",
freemarker.cache;version="[2.3.15,2.3.15]",
Import-Bundle:
com.springsource.org.apache.taglibs.standard;versi on="[1.1.2,1.3)"
Import-Library:
org.springframework.spring;version="[3.0, 3.1)"
Excluded-Exports:
greenpages.tests,
greenpages.web
Excluded-Imports:
org.springframework.test.*,
org.junit.*
Web-ContextPath: greenpages
Thans all!