| 1 |
<?xml version="1.0"?> |
| 2 |
<template |
| 3 |
format="5" |
| 4 |
revision="5" |
| 5 |
name="Java Library" |
| 6 |
description="Creates a new Java library."> |
| 7 |
|
| 8 |
<category value="Application" /> |
| 9 |
|
| 10 |
<thumbs> |
| 11 |
<thumb>template_new_project.png</thumb> |
| 12 |
</thumbs> |
| 13 |
|
| 14 |
<parameter |
| 15 |
id="projectName" |
| 16 |
name="Library name" |
| 17 |
type="string" |
| 18 |
constraints="nonempty|module|unique" |
| 19 |
default="lib"/> |
| 20 |
|
| 21 |
<parameter |
| 22 |
id="packageName" |
| 23 |
name="Java package name" |
| 24 |
type="string" |
| 25 |
constraints="nonempty|package" |
| 26 |
default="com.example"/> |
| 27 |
|
| 28 |
<parameter |
| 29 |
id="className" |
| 30 |
name="Java class name" |
| 31 |
type="string" |
| 32 |
constraints="nonempty|class" |
| 33 |
default="MyClass"/> |
| 34 |
|
| 35 |
<parameter |
| 36 |
id="makeIgnore" |
| 37 |
name="Create .gitignore file" |
| 38 |
type="boolean" |
| 39 |
default="true" /> |
| 40 |
|
| 41 |
<globals file="globals.xml.ftl" /> |
| 42 |
<execute file="recipe.xml.ftl" /> |
| 43 |
|
| 44 |
</template> |