<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://old.docs.basex.org/index.php?action=history&amp;feed=atom&amp;title=MacOS</id>
	<title>MacOS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://old.docs.basex.org/index.php?action=history&amp;feed=atom&amp;title=MacOS"/>
	<link rel="alternate" type="text/html" href="https://old.docs.basex.org/index.php?title=MacOS&amp;action=history"/>
	<updated>2026-08-17T06:59:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://old.docs.basex.org/index.php?title=MacOS&amp;diff=16300&amp;oldid=prev</id>
		<title>James Ball: Removed unnecessary brackets</title>
		<link rel="alternate" type="text/html" href="https://old.docs.basex.org/index.php?title=MacOS&amp;diff=16300&amp;oldid=prev"/>
		<updated>2023-02-25T16:14:03Z</updated>

		<summary type="html">&lt;p&gt;Removed unnecessary brackets&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:14, 25 February 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tested using Amazon Corretto JDK &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;() &lt;/del&gt;on an M1 MacBook Air&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tested using Amazon Corretto JDK on an M1 MacBook Air&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;My &lt;/del&gt;Java version:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Java version &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;when tested&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>James Ball</name></author>
		
	</entry>
	<entry>
		<id>https://old.docs.basex.org/index.php?title=MacOS&amp;diff=16298&amp;oldid=prev</id>
		<title>James Ball: New page to explain the steps required to make a standalone</title>
		<link rel="alternate" type="text/html" href="https://old.docs.basex.org/index.php?title=MacOS&amp;diff=16298&amp;oldid=prev"/>
		<updated>2023-02-25T16:03:50Z</updated>

		<summary type="html">&lt;p&gt;New page to explain the steps required to make a standalone&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Tested using Amazon Corretto JDK () on an M1 MacBook Air&lt;br /&gt;
&lt;br /&gt;
My Java version:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
% java --version&lt;br /&gt;
openjdk 17.0.2 2022-01-18 LTS&lt;br /&gt;
OpenJDK Runtime Environment Corretto-17.0.2.8.1 (build 17.0.2+8-LTS)&lt;br /&gt;
OpenJDK 64-Bit Server VM Corretto-17.0.2.8.1 (build 17.0.2+8-LTS, mixed mode, sharing)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1) Create a working folder&lt;br /&gt;
&lt;br /&gt;
2) Download the version of BaseX that you would like to use - download the Zip archive&lt;br /&gt;
&lt;br /&gt;
3) Unzip the archive so you have the &amp;#039;&amp;#039;&amp;#039;basex&amp;#039;&amp;#039;&amp;#039; folder&lt;br /&gt;
&lt;br /&gt;
4) Remove the .basex configuration files from the folder - to ensure that each user gets a personal file generated automatically&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;% rm ./basex/.basex*&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5) Create a new file &amp;lt;pre&amp;gt;basex-config.cfg&amp;lt;/pre&amp;gt; in your working folder and add the content. Remember to change the app-version (here 9.7) to your selected version&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Application]&lt;br /&gt;
app.classpath=$APPDIR/BaseX.jar&lt;br /&gt;
app.mainclass=org.basex.BaseXGUI&lt;br /&gt;
app.classpath=$APPDIR/lib/*&lt;br /&gt;
app.classpath=$APPDIR/lib/custom/*&lt;br /&gt;
&lt;br /&gt;
[JavaOptions]&lt;br /&gt;
java-options=-Djpackage.app-version=9.7&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6) If you would like to included some custom libraries in the build add them to the folder in basex/lib/custom.&lt;br /&gt;
&lt;br /&gt;
7) Add the basex.icns file to your working folder. [[basex.icns]]&lt;br /&gt;
&lt;br /&gt;
8) Run the command to make a disk image (.dmg) of BaseX - remember to set the app version to match your selected version, here 9.7&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
jpackage --input target/ \&lt;br /&gt;
  --input basex \&lt;br /&gt;
  --name &amp;quot;BaseX&amp;quot; \&lt;br /&gt;
  --main-jar BaseX.jar \&lt;br /&gt;
  --main-class org.basex.BaseXGUI \&lt;br /&gt;
  --type dmg \&lt;br /&gt;
  --icon &amp;quot;basex.icns&amp;quot; \&lt;br /&gt;
  --app-version &amp;quot;9.7&amp;quot; \&lt;br /&gt;
  --vendor &amp;quot;BaseX GmbH&amp;quot; \&lt;br /&gt;
  --copyright &amp;quot;Copyright 2023 BaseX GmbH&amp;quot; \&lt;br /&gt;
  --mac-package-name &amp;quot;BaseX&amp;quot; \&lt;br /&gt;
  --module-path &amp;quot;lib&amp;quot; \&lt;br /&gt;
  --verbose&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
9) A disk image will be created in your working folder. Open it and you can copy the application to your Applications folder or any chosen location&lt;br /&gt;
&lt;br /&gt;
10) &amp;#039;&amp;#039;Optional&amp;#039;&amp;#039; If you want to add custom libraries later then show the package contents of the application. Replace the content of the file BaseX {version}.cfg with the original from step 5. Now you can add and remove libraries and they will be loaded/unloaded with application restart.&lt;/div&gt;</summary>
		<author><name>James Ball</name></author>
		
	</entry>
</feed>