JAL-3989 Code tidying, added JVL_HEADER for older versions of Jalview, allow time...
[jalview.git] / gradle.properties
1 # Convention for properties.  Read from gradle.properties, use lower_case_underlines for property names.
2 # For properties set within build.gradle, use camelCaseNoSpace.
3 #
4
5 jalviewDir = .
6
7 #JAVA_VERSION = 1.8
8 JAVA_VERSION = 11
9
10 source_dir = src
11 #source_dir = utils/jalviewjs/test/src
12
13 test_source_dir = test
14 #test_source_dir = utils/jalviewjs/test/test
15
16 # JALVIEW_VERSION now being set by logic in build.gradle defaulting to looking at jalview.version property in RELEASE file
17 #JALVIEW_VERSION = DEVELOPMENT
18 INSTALLATION = Source
19 jalview_keystore = keys/.keystore
20 jalview_keystore.pass = alignmentisfun
21 jalview_key = jalview
22 jalview_key.pass = alignmentisfun
23 jalview_tsaurl =
24 proxyPort = 80
25 proxyHost = squid
26 jalview_keyalg = SHA1withRSA
27 jalview_keydig = SHA1
28
29 testng_groups = Functional
30 testng_excluded_groups = 
31
32 j8libDir = j8lib
33 j11libDir = j11lib
34 resource_dir = resources
35 help_parent_dir = help
36 help_dir = help
37 doc_dir = doc
38 classes_dir = classes
39 clover = false
40 clover_classes_dir = clover-classes
41 clover_sources_instr_dir = clover-instr
42 clover_report_dir = clover-report
43 clover_lib_dir = utils/clover/lib
44 cloverreport_mem = 2g
45 cloverreport_jvmargs = -Dfile.encoding=UTF-8
46 cloverreport_html_options = 
47 cloverreport_xml_options =
48 package_dir = dist
49 ARCHIVEDIR =
50
51 test_output_dir = tests
52 utils_dir = utils
53
54 build_properties_file = .build_properties
55 application_codebase = *.jalview.org
56 main_class = jalview.bin.Jalview
57 shadow_jar_main_class = jalview.bin.Launcher
58
59 jalview_name = Jalview
60
61 hugo_old_jvl = utils/hugo/old_jvl.txt
62 hugo_build_dir = build/website/hugo
63 hugo_data_installers_dir = data/installers
64 hugo_version_archive_dir = content/development/archive
65 hugo_templates_dir = utils/hugo/templates
66 releases_template = help/templates/releases.html
67 whatsnew_template = help/templates/whatsNew.html
68 releases_html = html/releases.html
69 whatsnew_html = html/whatsNew.html
70 whatsnew_dir = help/markdown/whatsnew
71 releases_dir = help/markdown/releases
72 # these are going to be used in the future to gather website release files together
73 getdown_website_dir = build/website/docroot/getdown
74 getdown_archive_dir = build/website/docroot/old
75 getdown_files_dir = build/getdown/files
76
77 getdown_local = false
78 getdown_resource_dir = resource
79 getdown_lib_dir = getdown/lib
80 getdown_launcher = getdown-launcher.jar
81 getdown_launcher_local = getdown-launcher-local.jar
82 getdown_launcher_new = getdown-launcher-new.jar
83 getdown_core = getdown/lib/getdown-core.jar
84 getdown_build_properties = build_properties
85 getdown_launch_jvl_name = channel_launch
86 getdown_images_dir = utils/getdown
87 getdown_background_image = jalview_logo_background_getdown-640x480.png
88 getdown_instant_background_image = jalview_logo_background_getdown_instant-640x480.png
89 getdown_error_background = jalview_logo_background_getdown_error-640x480.png
90 getdown_progress_image = jalview_logo_background_getdown-progress.png
91 getdown_mac_dock_icon = jalview_logo.icns
92 getdown_icon = Jalview-Logo.png
93 getdown_txt_allow_offline = true
94 getdown_txt_max_concurrent_downloads = 10
95 # now got better (dynamic) defaults when jvmmem* not set
96 #getdown_txt_jalview.jvmmempc = 90
97 #getdown_txt_jalview.jvmmemmax = 32G
98 getdown_txt_multi_jvmarg = -Dgetdowninstanceappdir=%APPDIR%
99 getdown_txt_strict_comments = true
100 getdown_txt_ui.progress_sync_before_shown = true
101 getdown_txt_ui.progress_sync_after_shown = false
102 getdown_txt_ui.keep_on_top = true
103 getdown_txt_ui.display_appbase = true
104 getdown_txt_ui.display_version = true
105 getdown_txt_ui.min_show_seconds = 8
106 getdown_txt_ui.background = FFFFFF
107 getdown_txt_ui.progress = 20, 440, 600, 22
108 getdown_txt_ui.progress_bar = AAAAFF
109 getdown_txt_ui.progress_text = 000000
110 getdown_txt_ui.status = 20, 380, 600, 58
111 getdown_txt_ui.status_text = 000066
112 getdown_txt_ui.install_error = https://www.jalview.org/faq/getdownerror
113 getdown_alt_java8_min_version  = 01080000
114 getdown_alt_java8_max_version  = 01089999
115 getdown_alt_java11_min_version = 11000000
116 getdown_alt_java11_max_version =
117 #getdown_alt_java11_txt_multi_java_location = [windows-amd64] /getdown/jre/jre-11-windows-x64.zip,[linux-amd64] /getdown/jre/jre-11-linux-x64.zip,[mac os x] /getdown/jre/jre-11-mac-x64.zip
118 #getdown_alt_java8_txt_multi_java_location = [windows-amd64] /getdown/jre/jre-8-windows-x64.zip,[linux-amd64] /getdown/jre/jre-8-linux-x64.zip,[mac os x] /getdown/jre/jre-8-mac-x64.zip
119 jre_installs_dir = ~/buildtools/jre
120
121 j8libDir = j8lib
122 j11libDir = j11lib
123 j11modDir = j11mod
124 j11modules = com.sun.istack.runtime,com.sun.xml.bind,com.sun.xml.fastinfoset,com.sun.xml.streambuffer,com.sun.xml.txw2,com.sun.xml.ws.policy,java.activation,java.annotation,java.base,java.compiler,java.datatransfer,java.desktop,java.logging,java.management,java.management.rmi,java.naming,java.prefs,java.rmi,java.scripting,java.security.sasl,java.sql,java.xml,java.xml.bind,java.xml.soap,java.xml.ws,javax.jws,jdk.httpserver,jdk.jsobject,jdk.unsupported,jdk.xml.dom,org.jvnet.mimepull,org.jvnet.staxex,javax.servlet.api,java.ws.rs
125
126 flexmark_css = utils/doc/github.css
127
128 channel_properties_dir = utils/channels
129 channel_props = channel.props
130
131 install4j_home_dir = ~/buildtools/install4j9
132 install4j_copyright_message = ...
133 install4j_bundle_id = org.jalview.jalview-desktop
134 install4j_utils_dir = utils/install4j
135 install4j_images_dir = utils/install4j
136 install4j_template = install4j9_template.install4j
137 install4j_info_plist_file_associations = file_associations_auto-Info_plist.xml
138 install4j_installer_file_associations = file_associations_auto-install4j8.xml
139 #install4j_DMG_uninstaller_app_files = uninstall_old_jalview_files.xml
140 install4j_build_dir = build/install4j
141 install4j_executable_name = jalviewg
142 install4j_media_types = windows,macosArchive,unixArchive,unixInstaller
143 install4j_faster = false
144 install4j_application_categories = Science;Biology;Java;
145 install4j_release_win_application_id = 6595-2347-1923-0725
146 install4j_mac_icons_file = jalview_logo.icns
147 install4j_windows_icons_file = jalview_logo.ico
148 install4j_png_icon_file = jalview_logo.png
149 install4j_background = jalview_logo_background_fade-640x480.png
150 install4j_dmg_background = jalview_dmg_background-NON-RELEASE.png
151 install4j_dmg_ds_store = jalview_dmg_DS_Store
152 getdown_wrapper_script_dir = bin
153 getdown_bash_wrapper_script = jalview.sh
154 getdown_powershell_wrapper_script = jalview.ps1
155 getdown_batch_wrapper_script = jalview.bat
156
157 OSX_KEYSTORE =
158 OSX_KEYPASS =
159 JSIGN_SH = echo
160 OSX_APPLEID =
161 OSX_ALTOOLPASS =
162
163 CHANNEL=LOCAL
164 getdown_channel_base = https://www.jalview.org/getdown
165 getdown_archive_base = https://www.jalview.org/old
166 getdown_app_dir_release = release
167 getdown_app_dir_alt = alt
168 getdown_app_dir_java = jre
169 getdown_install_dir = install
170 getdown_rsync_dest = /Volumes/jalview/docroot/getdown
171 reportRsyncCommand =
172 RUNRSYNC=false
173
174 bamboo_channelbase = https://builds.jalview.org/browse
175 bamboo_planKey = 
176 bamboo_getdown_channel_suffix = /latest/artifact/shared/getdown-channel
177
178 eclipse_codestyle_file = utils/eclipse/JalviewCodeStyle.xml
179 eclipse_extra_jdt_prefs_file = utils/eclipse/org.eclipse.jdt.core.jalview.prefs
180 eclipse_project_name = jalview
181 eclipse_bin_dir = bin
182 eclipse_debug = false
183
184 ## IMPORTANT for headless build
185 # to enable `gradle jalviewjs` headless build you MUST set
186 # j2s.config.altfileproperty = org.jalview.jalviewjsj2sfilename
187 # (or set to whatever value jalviewjs_j2s_alt_file_property is set to)
188 # in your ./.j2s file
189 # OR run the task `gradle jalviewjsEnableAltFileProperty` to do that for you (before headless build task)
190 jalviewjs_j2s_alt_file_property = org.jalview.jalviewjsj2sfilename
191 jalviewjs_j2s_alt_settings = build/jalviewjs/config/j2s
192
193 # these are used for actual .j2s file to pass on to alt j2s file
194 jalviewjs_j2s_settings = .j2s
195 jalviewjs_j2s_alt_file_property_config = j2s.config.altfileproperty
196
197 # for developing in Eclipse as IDE, set this to automatically copy current swingjs/net.sf.j2s.core.jar to your dropins dir
198 jalviewjs_eclipseIDE_auto_copy_j2s_plugin = false
199 # Override this in a local.properties file
200 jalviewjs_eclipse_root = ~/buildtools/eclipse/jee-2019-09
201
202 jalviewjs_eclipse_dropins_dir = utils/jalviewjs/eclipse/dropins
203 jalviewjs_swingjs_zip = swingjs/SwingJS-site.zip
204 jalviewjs_j2s_plugin = swingjs/net.sf.j2s.core-j11.jar
205 jalviewjs_libjs_dir = utils/jalviewjs/libjs
206 jalviewjs_site_resource_dir = utils/jalviewjs/site-resources
207 jalviewjs_classlists_dir = utils/jalviewjs/classlists
208 jalviewjs_classlist_jalview = utils/jalviewjs/_j2sclasslist.txt
209 #jalviewjs_eclipse_workspace = ~/tmp/eclipse-workspace
210 # these 3 files/dirs found in build/jalviewjs
211 jalviewjs_eclipse_tmp_dropins_dir = eclipse_dropins
212 jalviewjs_eclipse_workspace_location_file = eclipse_workspace_location
213 jalviewjs_site_dir = site
214 # these dirs are subdirs of the site dir
215 jalviewjs_swingjs_subdir = swingjs
216 jalviewjs_j2s_subdir = swingjs/j2s
217 jalviewjs_js_subdir = swingjs/js
218 #jalviewjs_eclipseBuildArg = build
219 jalviewjs_eclipse_build_arg = cleanBuild
220 jalviewjs_server_port = 9001
221 jalviewjs_server_wait = 30
222 jalviewjs_server_resource = /jalview_bin_Jalview.html
223 jalviewjs_core_name = _jalview
224 jalviewjs_name = JalviewJS
225 jalviewjs_core_key = core
226 #jalviewjs_core_key = preloadCore
227 jalviewjs_ignore_transpile_errors = true
228
229 j2s.compiler.status = enable
230 #j2s.site.directory = null ## site defined from buildDir+'/jalviewjs/'+jalviewjs_site_dir
231 #j2s.log.methods.declared = j2s_methods_declared.log
232 #j2s.log.methods.called = j2s_methods_called.log
233 #a semicolon-separated list of package-level file paths to be excluded
234 j2s.excluded.paths = test;testng;util
235 #j2s.include.tests = true
236 #j2s.testing = null
237 #j2s.compiler.nonqualified.packages = null
238 #j2s.compiler.nonqualified.classes = null
239 #j2s.compiler.mode = debug
240 #a semicolon-separated list of package (foo.) or class (foo.bar) replacements to be made 
241 #j2s.class.replacements = org.apache.logging.log4j.->jalview.javascript.log4j.
242 j2s.template.html = utils/jalviewjs/template.html
243 j2s_coretemplate_html = utils/jalviewjs/coretemplate.html
244 #output file name for logging methods declared - delete the file to regenerate a listing 
245 #j2s.prop.j2s.log.methods.declared=swingjs/methodsDeclared_csv
246 #output file name for logging methods called - delete the file to regenerate a listing
247 #j2s.prop.j2s.log.methods_called=swingjs/methodsCalled_csv
248 #if set, every instance of methods called will be logged
249 #otherwise, only the first call to a method will be logged 
250 #output will be comma-separated: called method,caller class 
251 #j2s.prop.j2s.log.all.calls=true
252
253 jalviewjs_j2s_transpile_stdout = j2s-transpile.out
254 #jalviewjs_j2s_stderr = j2s-transpile.err # all going into out
255 jalviewjs_j2s_to_console = true
256 jalviewjs_closure_compiler = tools/closure_compiler.jar
257 jalviewjs_j2s_closure_stdout = j2s-closure.out
258
259
260 testp=gradle.properties