| <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <link rel="stylesheet" href="http://dev.eclipse.org/default_style.css" type="text/css"> |
| <title>Download</title> |
| <style type="text/css"> |
| <!-- |
| .style1 { |
| font-size: 12px; |
| font-weight: bold; |
| } |
| --> |
| </style> |
| </head> |
| |
| <body> |
| <table BORDER=0 CELLSPACING=5 CELLPADDING=2 WIDTH="100%" ><tr><td ALIGN=LEFT width="80%"> |
| <p><b><font face="Verdana" size="+3">WTP Build FAQ </font></b><br> |
| Last Updated: October 20, 2004</p> |
| <p><b>Table |
| of Contents</b><br> |
| <br> |
| <a href="#newplugin"><b>How to add a plugin project</b></a><br> |
| <a href="#newtestplugin"><b>How to add a test plugin project</b></a><br> |
| <a href="#newfeature"><b>How to add a new feature</b></a><br> |
| <br> |
| </p></td></tr> |
| </table> |
| |
| |
| <table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr> |
| <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> <b><font face="Arial,Helvetica" color="#FFFFFF"><a name="newplugin"></a><B>How to add a plugin project?</B></FONT></b></td> |
| </tr> |
| <TR><TD height="150" colspan="3" align="LEFT" valign="TOP"> |
| |
| |
| <OL> |
| <LI> |
| <P>Commit your plugin into a feature which it belongs to (wst or jst) </p> |
| <LI>Add your plugin project to the according map file.(Map file of wst feature is <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/org.eclipse.wtp.releng/maps/wst.map?rev=1.8&content-type=text/vnd.viewcvs-markup">wst.map</a>, jst feature is <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/org.eclipse.wtp.releng/maps/jst.map?rev=1.7&content-type=text/vnd.viewcvs-markup">jst.map</a>) |
| <br> |
| <LI>Put required plugin zip files to localdownloads dir. Add these zip files to <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/org.eclipse.wtp.releng/maps/build.cfg?rev=1.1&content-type=text/vnd.viewcvs-markup">build.cfg</a> file. |
| <BR> |
| <LI>Unzip required plugins at unzipEclipse and unzipTestEclipse tasks in <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/org.eclipse.wtp.releng/buildAll.xml?rev=1.6&content-type=text/vnd.viewcvs-markup">buildAll.xml</a> file. |
| </OL></td></tr></table> |
| |
| <table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr> |
| <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> <b><font face="Arial,Helvetica" color="#FFFFFF"> |
| <a name="newtestplugin"></a>How to add a test plugin project?</font></b></td> |
| </tr> |
| |
| <TR><TD height="61" colspan="3" align="LEFT" valign="TOP"> |
| <OL> |
| <LI> |
| <P>Commit your plugin into a feature which it belongs to (wst or jst) |
| <LI><p>Add your plugin project to the according map file.(Map file of wst feature is <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/org.eclipse.wtp.releng/maps/wst-server-tests.map?rev=1.7&content-type=text/vnd.viewcvs-markup">wst-server-tests.map</a>, jst feature is <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/org.eclipse.wtp.releng/maps/jst-server-tests.map?rev=1.3&content-type=text/vnd.viewcvs-markup">jst-server-tests.map</a>) |
| </OL> |
| </TD> |
| </TR></table> |
| |
| <table border=0 cellspacing=5 cellpadding=2 width="100%" ><tr> |
| <td align=LEFT valign=TOP colspan="3" bgcolor="#0080C0"> <b><font face="Arial,Helvetica" color="#FFFFFF"> |
| <a name="newfeature"></a>How to add a new feature</font></b></td> |
| </tr> |
| |
| <TR><TD height="156" colspan="3" align="LEFT" valign="TOP"> |
| <OL> |
| <LI><p>Commit your feature project in (It must be under a feature folder Ex: <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/wst/components/server/features/org.eclipse.wst.server/">org.eclipse.wst.server</a>) |
| <LI> |
| <p>In the <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/wst/components/server/features/org.eclipse.wst.server/feature.xml?rev=1.3&content-type=text/vnd.viewcvs-markup">feature.xml</a>, include your plugin projects in <plugin> tag. |
| <LI> |
| <p> In the <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/wst/components/server/features/org.eclipse.wst.server/feature.xml?rev=1.3&content-type=text/vnd.viewcvs-markup">feature.xml</a>, include required plugins in <requires> tag. |
| <LI> |
| <p> Create your feature map file under <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/org.eclipse.wtp.releng/maps/">org.eclipse.wtp.releng/maps</a> folder (Ex : <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/org.eclipse.wtp.releng/maps/wst.map?rev=1.8&content-type=text/vnd.viewcvs-markup">wst.map</a>) <br> |
| Creating map files are described <a href="readme.html#mapfile">here</a> |
| <LI>Create a directory under org.eclipse.wtp.releng for your feature. (Ex: <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/org.eclipse.wtp.releng/wst/">wst</a>)<br> |
| Put build.properties and customTargets.xml to your feature folder. (Simply copy from other feature's folder)<br> |
| Edit your customTargets.xml file and arrange your allElements, assemble..., gatherLogs targets.<br> |
| <LI> |
| Edit <a href="http://dev.eclipse.org/viewcvs/indexwebtools.cgi/org.eclipse.wtp.releng/buildAll.xml?rev=1.6&content-type=text/vnd.viewcvs-markup">buildAll.xml</a> file and put your feature in buildAll target. |
| </OL> |
| </TD> |
| </TR> |
| </table> |
| |
| |
| |
| |
| |
| <p></p> |
| <table border=0 cellspacing=5 cellpadding=2 width="100%" > |
| <tr> |
| <td align=LEFT valign=TOP colspan="3" bgcolor="#999999"> |
| <b><font face="Arial,Helvetica" color="#FFFFFF"> |
| <a name="team"></a>WTP Release Engineering Team</font></b></td> |
| </tr> |
| |
| <TR> |
| <TD height="23" colspan="3" align="LEFT" valign="TOP"> |
| Deniz Secilir (deniz.secilir_at_eteration.com)<br> |
| Dominique Devito (dominique.devito_at_objectweb.org)</TD> |
| </TR></table> |
| |
| |
| </html> |