[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] building a plugin

I am working on a plugin project.  I'd like to automatically build the 
plugin, that is, produce a .zip file containing my .jar file, my plugin.xml 
file, and a zipped-up source archive.

So, I set up my build.properties to specify the contents; I go to PDE 
Tools -> Create Ant Build File and make a build.xml; and then I run the 
resulting build.xml with Ant.

Q1: assuming I start out by cleaning any previously created build products, 
how do I indicate that I want my jar file to be part of the plugin.zip file? 
It doesn't show up in the list of directory contents (the list of things 
with checkboxes) until I've actually built it.

Q2: what the heck is the difference between the Source Build and the Binary 
Build?  Which one do I use?  The best I can find in the docs is "don't worry 
about the Source Build, you probably don't need it", and that's not a deeply 
satisfying answer.

Thanks!

   Walter Harley
   BEA Systems Inc.