build: add built .plugin files to CLEANFILES
[anjuta.git] / plugins / project-wizard / templates / gcj.wiz.in
blobe9c8703a30a4e3f3304b59e26bdf948eaba20c4a
1 <project-template>
2         <project-wizard>
3                 <_name>Generic gcj compiled java</_name>
4                 <_description>A generic natively compiled java project using the GNU Java Compiler (gcj)</_description>
5                 <icon>gcj-logo.png</icon>
6                 <category>Java</category>
7                 <order>2000</order>
8                 <required-program>automake</required-program>
9                 <required-program>autoconf</required-program>
10                 <required-program>make</required-program>
11                 <required-program>gcj</required-program>
12         </project-wizard>
13         
14         <page name="basic" _label="Basic information" _description="General Project Information">
15                 <property type="string" name="Name" _label="Project Name:" _description="project name" default="gcj-foobar" summary="yes" restriction="filename" mandatory="yes"/>
16                 <property type="string" name="MainClass" _label="Main Class:" _description="GCJ needs to know which class contains the main() function" default="MainApp" mandatory="yes"/>
17                 <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
18                 <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
19                 <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
20         </page>
21         
22         <page name="options" _label="Project options" _description="Options for project build system">
23                 <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
24                 [+INCLUDE "licenses.tpl"+]
25                 <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
26                 <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
27                 <property type="hidden" name="NameCUpper" default='[+(string-append (if (~~* (get "Name") "[0-9]") "_" "") (string->c-name! (string-substitute (string-upcase (get "Name")) " " "_")))+]'/>
28                 <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
29                 <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
30                 <property type="hidden" name="HavePackage" default="0"/>
31                 <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
32                 <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="0"/>
33                 <property type="boolean" name="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
34         </page>
36 [+IF (=(get "HavePackageExtra") "1")+]  
37         <page name="packages" _label="Configure external packages" _description="Configure external packages">
38                 <property type="package" name="PackageModule1" _label="Required Packages:" _description="Check the packages that your project requires" mandatory="yes"/>
39         </page>
40 [+ENDIF+]
42         <content>
43                 <directory source="terminal" destination="[+Destination+]">
44                         <file source="AUTHORS"/>
45                         <file source="ChangeLog"/>
46                         <file source="Makefile.am.tpl" destination="Makefile.am"/>
47                         <file source="NEWS"/>
48                         <file source="README"/>
49                         <file source="autogen.sh" executable="yes"/>
50                         <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
51                         [+IF (=(get "HaveI18n") "1") +]
52                         <directory source="po">
53                                 <file source="ChangeLog"/>
54                                 <file source="LINGUAS" />
55                         </directory>
56                         [+ENDIF+]
57                 </directory>
58                 <directory source="java" destination="[+Destination+]">
59                         [+IF (=(get "HaveI18n") "1") +]
60                         <directory source="po">
61                                 <file source="POTFILES.in"/>
62                         </directory>
63                         [+ENDIF+]
64                         <directory source="src">
65                                 <file source="main.java" destination="[+MainClass+].java"/>
66                         </directory>
67                 </directory>
68                 <directory source="gcj" destination="[+Destination+]">
69                         <file source="configure.ac.tpl" destination="configure.ac"/>
70                         <directory source="src">
71                                 <file source="Makefile.am.tpl" destination="Makefile.am"/>
72                         </directory>
73                 </directory>
74                 <directory source="licenses" destination="[+Destination+]">
75                         <file source="[+License+].txt" destination="COPYING"/>  
76                 </directory>
77                 <directory source="minimal" destination="[+Destination+]">
78                         <directory source="." destination=".anjuta">
79                                 <directory source="." destination="session">
80                                         <file source="anjuta.session"/>
81                                 </directory>
82                         </directory>
83                 </directory>
84         </content>
85         
86         <action>
87                 <open file="[+Destination+]/[+NameHLower+].anjuta"/>
88         </action>
89 </project-template>