Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Including non-project files when building the plug-in zip file?
Including non-project files when building the plug-in zip file? [message #90444] Tue, 08 July 2003 08:55
Eclipse UserFriend
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
Previous Topic:Automated testing tools for Eclipse
Next Topic:using other archive-extensions
Goto Forum:
  


Current Time: Sun Oct 06 14:33:58 GMT 2024

Powered by FUDForum. Page generated in 0.02930 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top