WTP Build FAQ
Last Updated: October 20, 2004

Table of Contents

How to add a plugin project
How to add a test plugin project
How to add a new feature

How to add a plugin project?
  1. Commit your plugin into a feature which it belongs to (wst or jst)

  2. Add your plugin project to the according map file.(Map file of wst feature is wst.map, jst feature is jst.map)
  3. Put required plugin zip files to localdownloads dir. Add these zip files to build.cfg file.
  4. Unzip required plugins at unzipEclipse and unzipTestEclipse tasks in buildAll.xml file.
How to add a test plugin project?
  1. Commit your plugin into a feature which it belongs to (wst or jst)

  2. Add your plugin project to the according map file.(Map file of wst feature is wst-server-tests.map, jst feature is jst-server-tests.map)

How to add a new feature
  1. Commit your feature project in (It must be under a feature folder Ex: org.eclipse.wst.server)

  2. In the feature.xml, include your plugin projects in <plugin> tag.

  3. In the feature.xml, include required plugins in <requires> tag.

  4. Create your feature map file under org.eclipse.wtp.releng/maps folder (Ex : wst.map)
    Creating map files are described here

  5. Create a directory under org.eclipse.wtp.releng for your feature. (Ex: wst)
    Put build.properties and customTargets.xml to your feature folder. (Simply copy from other feature's folder)
    Edit your customTargets.xml file and arrange your allElements, assemble..., gatherLogs targets.
  6. Edit buildAll.xml file and put your feature in buildAll target.

WTP Release Engineering Team
Deniz Secilir (deniz.secilir_at_eteration.com)
Dominique Devito (dominique.devito_at_objectweb.org)