[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Error 'invalid Manifest: null' when exporting my RCP product

I am having trouble exporting my RCP product. When I use the Product Export Wizard I get an error like this:

C:\Eclipse_Workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:67: The following error occurred while executing this line: C:\EclipseWorkspaces\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml:24: invalid Manifest: null

The content of the file C:\Eclipse_Workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\assemble.org.eclipse.pde.container.feature.win32.win32.x86.xml is:

<?xml version="1.0" encoding="UTF-8"?>
<project name="Assemble org.eclipse.pde.container.feature" default="main">
<property name="archiveName" value="org.eclipse.pde.container.feature-${buildId}-win32.win32.x86.zip"/>
<property name="os" value="win32"/>
<property name="ws" value="win32"/>
<property name="arch" value="x86"/>
<property name="jarProcessor.sign" value="false"/>
<property name="assemblyTempDir" value="${buildDirectory}/tmp"/>
<property name="eclipse.base" value="${assemblyTempDir}/${collectingFolder}"/>
<property name="eclipse.plugins" value="${eclipse.base}/plugins"/>
<property name="eclipse.features" value="${eclipse.base}/features"/>
<property name="archiveFullPath" value="${basedir}/${buildLabel}/${archiveName}"/>
<property name="launcherName" value="AssetManagement"/>
<property name="tarargs" value=""/>
<!-- Beginning of the jarUp task -->
<target name="jarUp" description="Create a jar from the given location.">
<available property="${source}/${elementName}_exists" file="${source}/${elementName}"/>
<antcall target="jarIng">
<param name="source" value="${source}"/>
<param name="elementName" value="${elementName}"/>
</antcall>
</target>
<target name="jarIng" if="${source}/${elementName}_exists">
<jar destfile="${source}/${elementName}.jar" basedir="${source}/${elementName}" filesetmanifest="merge"/>
<delete dir="${source}/${elementName}"/>
</target>
<!-- End of the jarUp task -->
<!-- Beginning of the jar signing target -->
<target name="jarSigning" description="Sign a jar.">
<eclipse.jarProcessor sign="${jarProcessor.sign}" pack="${jarProcessor.pack200}" unsign="${jarProcessor.unsign}" jar="${source}/${elementName}.jar" alias="${sign.alias}" keystore="${sign.keystore}" storepass="${sign.storepass}"/>
</target>
<!-- End of the jarUp task -->
<target name="main">
<condition property="pluginArchivePrefix" value="plugins">
<equals arg1="${archivePrefix}" arg2="" trim="true"/>
</condition>
<property name="pluginArchivePrefix" value="${archivePrefix}/plugins"/>


		<condition property="featureArchivePrefix" value="features">
			<equals arg1="${archivePrefix}"  arg2="" trim="true"/>
		</condition>
		<property name="featureArchivePrefix" value="${archivePrefix}/features"/>

<dirname property="archiveParentFolder" file="${archiveFullPath}"/>
<mkdir dir="${archiveParentFolder}"/>
<mkdir dir="${assemblyTempDir}"/>
<mkdir dir="${buildLabel}"/>
<ant antfile="build.xml" dir="..\..\..\..\..\com.sungard.assetarena.hibernate" target="gather.bin.parts">
<property name="destination.temp.folder" value="${eclipse.plugins}"/>
</ant>
<ant antfile="build.xml" dir="..\..\..\..\..\com.sungard.assetarena.hibernatehelper" target="gather.bin.parts">
<property name="destination.temp.folder" value="${eclipse.plugins}"/>
</ant>
<ant antfile="build.xml" dir="..\..\..\..\..\com.sungard.assetarena.oracle" target="gather.bin.parts">
<property name="destination.temp.folder" value="${eclipse.plugins}"/>
</ant>
<ant antfile="build.xml" dir="..\..\..\..\..\AssetManagement" target="gather.bin.parts">
<property name="destination.temp.folder" value="${eclipse.plugins}"/>
</ant>
<ant antfile="build.xml" dir="" target="gather.bin.parts">
<property name="feature.base" value="${eclipse.base}"/>
</ant>
<antcall target="jarUp">
<param name="source" value="${eclipse.plugins}"/>
<param name="elementName" value="com.sungard.assetarena.hibernatehelper_1.0.0"/>
</antcall>
<antcall target="jarUp">
<param name="source" value="${eclipse.plugins}"/>
<param name="elementName" value="AssetManagement_1.0.0"/>
</antcall>
<eclipse.brand root="${eclipse.base}/win32.win32.x86/${collectingFolder}" icons="${launcherIcons}" name="${launcherName}" os="${os}" />
<chmod perm="755" dir="${eclipse.base}/win32.win32.x86/${collectingFolder}" includes="AssetManagement" /> <move todir="${eclipse.base}" failonerror="false">
<fileset dir="${eclipse.base}/win32.win32.x86/${collectingFolder}">
<include name="**/**"/>
</fileset>
</move>
<delete dir="${eclipse.base}/win32.win32.x86"/>
</target>
</project>


Any help or advice would be appreciated.

Thanks,

Shengzong