Template.xml Sample

This topic inludes the source code for the Template.xml Sample.

Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/ExtensionDevKit/IdeDevKit/CustomProject/php_template/

Sample Source Code


01 <template-definition>
02 
03     <!-- Web Project: non-diplay base template -->
04     <project-template id="php"
05             type="urn:com-bea-ide:project.type:php">  
06       <content type="archive" destination="project" source="basic.zip" /> 
07         <display
08             location="importdialog,newdialog"
09             label="Php Project"
10             description="Creates a new PHP project."
11             priority="10"
12             categories="Web Design" />
13     </project-template>
14 
15 </template-definition>