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/TaglibExtDevKit/TaglibInstall/template/

Sample Source Code


01 <template-definition>
02 
03     <project-template id="TDK_install" 
04         type="urn:com-bea-ide:project.type:WebApp" 
05         extends="base" 
06         processor="TDK.TemplateProcessor" >
07 
08         <display
09             location="contextmenu"
10             label=".: TDK Taglibs :."
11             description="Installs the tdk taglibs." />
12 
13         <content type="archive" destination="project" source="tdk-resources.zip" overwrite="true" />
14     </project-template>
15 
16 </template-definition>