Struggling with PDEBuild and products [message #728577] |
Fri, 23 September 2011 13:52 |
Tom Quarendon Messages: 23 Registered: July 2009 |
Junior Member |
|
|
OK. So I've got a product configuration (.product) file and when I use the "Eclipse Product" export wizard I get what I want out of it. I'm now trying to automate the process using PDE Build, following the instructions in the "Building an RCP application from a product configuration file" section of the Plugin Development Environment help.
My current problem appears to be that it's not actually building the java source code for my plugins. It's unclear from the documentation whether it is intended to do that or not, it just says "copy your plugins into the build directory". Am I supposed to be copying the fully built plugins? Or do I copy the source plugins and is the PDE Build supposed to build my java files and bundle up the jars? I've got build.properties files in all of the plugins. However all I get in the output from the product build is a copy of the files that are selected for inclusion (i.e the files in the bin.includes property). I don't get the build jar containing the compiled java code.
The other issue I have is how I get PDEBuild to package each of my plugins as a jar file, rather than as a directory.
Help on either of these topics would be great!
[Updated on: Fri, 23 September 2011 13:53] Report message to a moderator
|
|
|
Re: Struggling with PDEBuild and products [message #728656 is a reply to message #728577] |
Fri, 23 September 2011 15:38 |
Martin Skorsky Messages: 112 Registered: July 2009 |
Senior Member |
|
|
In my PDE build I get the plug-ins as Jars.
The build.properties of such a plug-in looks like:
---
source.. = src/
output.. = bin/
bin.includes = plugin.xml,\
META-INF/,\
.,\
plugin.properties,\
about.html,\
about.ini,\
about.properties,\
about.mappings,\
icons/,\
intro/
---
The classes are at root of the Jar (indicated by the second dot in 'output.. = bin/'.
'bin' is the output folder of the builder. It is shown in the build tab of the plug-in manifest editor as a library.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04027 seconds