View | Details | Raw Unified | Return to bug 327899 | Differences between
and this patch

Collapse All | Expand All

(-)build.properties (+1 lines)
Lines 9-14 Link Here
9
#     IBM Corporation - initial API and implementation
9
#     IBM Corporation - initial API and implementation
10
###############################################################################
10
###############################################################################
11
customBuildCallbacks=customBuildCallbacks.xml
11
customBuildCallbacks=customBuildCallbacks.xml
12
customBuildCallbacks.inheritall=true
12
bin.includes = plugin.xml,\
13
bin.includes = plugin.xml,\
13
               plugin.properties,\
14
               plugin.properties,\
14
               about.html,\
15
               about.html,\
(-)customBuildCallbacks.xml (-1 / +1 lines)
Lines 189-193 Link Here
189
	<!-- Steps to do after the target jdtCompilerAdapter.jar                   -->
189
	<!-- Steps to do after the target jdtCompilerAdapter.jar                   -->
190
	<!--   jar.Location : the location of the file jdtCompilerAdapter.jar      -->
	<!-- ===================================================================== -->
190
	<!--   jar.Location : the location of the file jdtCompilerAdapter.jar      -->
	<!-- ===================================================================== -->
191
	<target name="post.jdtCompilerAdapter.jar">
191
	<target name="post.jdtCompilerAdapter.jar">
192
		<property name="unjarDestBin" value="${basedir}/tempbin"/>
		<mkdir dir="${unjarDestBin}"/>
		<unjar src="${jar.Location}" dest="${unjarDestBin}"/>
		<delete file="${unjarDestBin}/META-INF/MANIFEST.MF" failonerror="false"/>
		<copy file="${basedir}/scripts/antadapter/META-INF/MANIFEST.MF" todir="${unjarDestBin}/META-INF"/>
		<zip destfile="${jar.Location}">
			<fileset dir="${unjarDestBin}">
				<include name="**/*"/>
				<include name="*/*"/>
			</fileset>
		</zip>
		<delete dir="${unjarDestBin}" failonerror="false"/>
	</target>
192
		<property name="unjarDestBin" value="${basedir}/tempbin"/>
		<mkdir dir="${unjarDestBin}"/>
		<unjar src="${jar.Location}" dest="${unjarDestBin}"/>
		<delete file="${jar.Location}" />
		<delete file="${unjarDestBin}/META-INF/MANIFEST.MF" failonerror="false"/>
		<copy file="${basedir}/scripts/antadapter/META-INF/MANIFEST.MF" todir="${unjarDestBin}/META-INF"/>
		
		<eclipse.versionReplacer path="${unjarDestBin}" version="${bundleVersion}"/>

		<zip destfile="${jar.Location}">
			<fileset dir="${unjarDestBin}" includes="META-INF/MANIFEST.MF"/>
			<fileset dir="${unjarDestBin}">
				<include name="**/*"/>
				<exclude name="META-INF/MANIFEST.MF"/>
			</fileset>
		</zip>
		<delete dir="${unjarDestBin}" failonerror="false"/>
	</target>
193
</project>
193
</project>

Return to bug 327899