forked from raven-computing/project-init
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.properties
226 lines (174 loc) · 9.43 KB
/
project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
# This is the central configuration file of the Project Init system.
# It can contain configuration options for adjusting the general system
# behaviour itself, as well as settings applied on all newly created projects
# and settings applied only for projects using a certain programming language.
# The properties in this particular file represent the system's default
# configuration. The value of any configuration key listed here can be
# overridden by an addons resource and a user-specific configuration file.
# This works as follows: After the system has loaded the content of this file,
# it will look for a 'project.properties' file in the root of the addons
# resource directory (if applicable). If such a file exists, it is subsequently
# loaded and any redefined property is overridden. Lastly, the system will
# look for a 'project.properties' file in the user's home directory. Again,
# if such a file exists, it is loaded and any redefined properties are
# overridden for the underlying user, even when they were previously
# redefined by an addons resource.
# ------------------------ Project-wide Configuration ----------------------- #
# The name of the organisation. This is also used in copyright headers
project.organisation.name=Raven Computing
# The URL for the website, or any other relevant resource,
# of the organsiation
project.organisation.url=https://raven-computing.com
# The e-mail address of the organisation
# The example slogan string to use in different places of base project types.
# Keep it short. This is used e.g. by default generated code for the text
# printed by an application when creating an executable project
project.slogan.string=Created by Project Init system
# The name of a new project. Can be set to give every initialized project the
# same initial name. When set to 'ask' (the default), the user will be prompted
# by a form question to enter the name for a new project.
project.name=ask
# The description of a new project. Can be set to give every initialized
# project the same initial description. When set to 'ask' (the default), the
# user will be prompted by a form question to enter the description for
# a new project.
project.description=ask
# The default example short project description to use when the user
# does not provide a short description in the main form
project.description.default=Project Init Default Description
# The license of a new project. Can be set to give every initialized project
# the same license. When set to 'ask' (the default), the user will be prompted
# by a form question to enter the license for a new project. Otherwise, the
# specified value of this property must match the name of an available license,
# e.g. 'Apache License 2.0' will result in every new initialized project to
# have the corresponding Apache license.
project.license=ask
# --------------------------- System Configuration -------------------------- #
# If this is set to true, then a new project is initialized in the
# current working directory when Project Init is run.
# If this is set to false, then a new project is initialized relative
# to the user's home directory as specified
# by 'sys.project.workdir.base' (see below).
# This configuration only affects the suggested default path to the
# project directory. The user is still asked the corresponding form question.
sys.project.workdir.cwd=false
# The directory under which new software projects are initialized.
# This is relative to the user's home directory. This configuration only
# affects the suggested default path to the project directory. The user
# is still asked the corresponding form question.
sys.project.workdir.base=workspace
# If this is set to true, then the system will ask for a final
# confirmation before initializing the project.
sys.init.confirm=false
# Set this to true to avoid loading the quickstart functions provided by
# the base resources of the system. This property can be used by addons to
# make only their quickstart functions available to the user.
sys.quickstart.base.disable=false
# Set this to true to disable all licenses provided by the
# base system, i.e. only show the ones provided by addons. If this is true,
# then an addon has to provide at least one license.
sys.baselicenses.disable=false
# If this is set to true, then any usage of API functions, behaviour or
# features which have been marked as deprecated will trigger a warning shown
# to the user. Set this to false to disable all kinds of deprecation warnings.
sys.warn.deprecation=true
# If this is set to true, then the list item number entered by the
# user in form selections is substituted to the corresponding list item
# name string as soon as the user hits enter.
sys.input.selection.numsubst=true
# If this is set to true, then the input entered by the
# user in yes-no form questions is substituted to the corresponding
# canonical answer as soon as the user hits enter.
sys.input.yesno.boolsubst=true
# If this is set to true, then the system will play the bell alert
# sound in the case of a failure.
sys.output.sound.onfail=true
# Specifies whether hyperlinks are embedded into the corresponding terminal
# escape codes. If this is set to true, then hyperlinks are shown by their
# clickable label. Otherwise, if this is set to false, hyperlinks are printed
# with their normal unescaped URL text. This might still be clickable depending
# on the used terminal emulator, but is potentially a much longer text. Please
# note that not all terminal emulators support the underlying escape codes.
# If you experience troubles with the display of hyperlinks,
# we recommend setting this property to false.
sys.output.hyperlinks.escape=true
# If this is set to true, then any missing system dependencies will result
# in a failure. If this is set to false, then only a warning is displayed
# in such a case. This property has only an effect for system dependencies
# declared by addons resources.
sys.dependencies.onmissing.fail=true
# Enable/disable the start icon
sys.starticon.show=true
# Enable/disable the start title
sys.starttitle.show=true
# Enable/disable the start introduction text
sys.starttext.show=true
# Enable/disable the display of a desktop notification when
# a new project is successfully initialized. For a notification
# to be shown, the notify-send command must be available.
sys.notification.success.show=true
# A script file to source after an addon is loaded. This property must only be
# defined in a 'project.properties' file of an addon. It is a path to a
# script, relative to the addon's source tree, which gets automatically
# sourced after the addon has been successfully loaded. This can be used to
# put common code used throughout an addon into a separate file which acts like
# a library, and instruct Project Init to automatically load it once the addon
# is loaded. The code in the file is loaded into the global namespace.
# sys.addon.code.load=mylibs.sh
# A user-defined after-init-hook. This property must only be defined in a
# user's 'project.properties' file. It is a path to a script, relative
# to the user's home directory, which gets automatically executed after a
# new project has been successfully initialized. It is executed analogous
# to the after-init-hook of an addon, however, an addon does not necessarily
# have to be loaded in order for the user-defined variant to be executed.
# If an after-init-hook of an addon exists, the user-defined hook is
# executed after it.
# sys.user.hook.afterinit=myhook.sh
# ------------------------- Language-specific Settings ---------------------- #
# ##### C settings
# Set this to true to disable all C projects
c.disable=false
# Set this to true to disable all C project types provided by the
# base system, i.e. only show the ones provided by addons
c.baseprojects.disable=false
# ##### C++ settings
# Set this to true to disable all C++ projects
cpp.disable=false
# Set this to true to disable all C++ project types provided by the
# base system, i.e. only show the ones provided by addons
cpp.baseprojects.disable=false
# The example namespace to display as part of form questions
cpp.namespace.example=raven.myproject.mynamespace
# The default namespace to use, in dot notation
cpp.namespace.default=raven
# ##### Java settings
# Set this to true to disable all Java projects
java.disable=false
# Set this to true to disable all Java project types provided by the
# base system, i.e. only show the ones provided by addons
java.baseprojects.disable=false
# The Maven group ID to use for Java projects
java.pom.groupid=com.raven-computing
# The example namespace to display as part of form questions
java.namespace.example=raven.myproject
# ##### JavaScript settings
# Set this to true to disable all JavaScript projects
js.disable=false
# Set this to true to disable all JavaScript project types provided by the
# base system, i.e. only show the ones provided by addons
js.baseprojects.disable=false
# ##### Python settings
# Set this to true to disable all Python projects
python.disable=false
# Set this to true to disable all Python project types provided by the
# base system, i.e. only show the ones provided by addons
python.baseprojects.disable=false
# The example namespace to display as part of form questions
python.namespace.example=raven.mynamespace.mypackage
# ##### R settings
# Set this to true to disable all R projects
r.disable=false
# Set this to true to disable all R project types provided by the
# base system, i.e. only show the ones provided by addons
r.baseprojects.disable=false