Including non-project files when building the plug-in zip file? [message #90444] |
Tue, 08 July 2003 04:55 |
Eclipse User |
|
|
|
Originally posted by: jeppenm.worldonline.dk
Hi,
I've created a plug-in project and now I want to create the plug-in
zip for distribution. I need to include files not part of the plug-in
project (more specifically, jars built in other eclipse Java
projects).
I can't seem to specify this using the build.properties file. The
only solution I have found is to specify custom=true and then manually
edit the generated build.xml file to include the files as in:
<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
<mkdir dir="${destination.temp.folder}/${full.name}"/>
<copy file="${build.result.folder}/core.jar" todir="${destination.temp.folder}/${full.name}"/>
<eclipse.convertPath resourcePath="examples.model/" property="myPath"/>
<copy todir="${destination.temp.folder}/${full.name}">
<fileset dir="${basedir}" includes="plugin.xml,core.jar"/>
<fileset dir="${myPath}" includes="model.jar"/>
</copy>
</target>
Is it possible to specify the model.jar file from the examples.model
project using the build.properties file?
rgds
Jeppe
|
|
|
Powered by
FUDForum. Page generated in 0.02825 seconds