Skip to content

Commit ed45931

Browse files
authored
Merge pull request #349 from eXist-db/5.0.0-RC1
5.0.0 rc1
2 parents 8611369 + 269e1e1 commit ed45931

File tree

116 files changed

+1495
-1799
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+1495
-1799
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ services:
1313
- docker
1414

1515
env:
16-
# Deactivated for RC releases beween 4.7.1 and 5.0.0
17-
# - img=existdb/existdb:latest
18-
- img=existdb/existdb:release
16+
- img=existdb/existdb:latest
17+
# - img=existdb/existdb:release
1918

2019
cache:
2120
directories:
@@ -37,7 +36,7 @@ before_script:
3736
script:
3837
- mvn validate
3938
- mvn test
40-
- npm run cypress
39+
- npm run cypress -- --record
4140

4241
after_success:
4342
- docker ps

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,7 @@ The full test-suite consists of validation, unit, and integration tests, it runs
4848

4949
Both unit and integration tests, expect a running instance of exist with a copy of the documentation app installed reachable at `localhost:8080` and an empty admin password. It might be necessary to skip test execution during building from time to time, use: `mvn clean package -DskipTests`.
5050

51+
You can view recordings of the previous integration test runs on our [Cypress Dashboard](https://dashboard.cypress.io/#/projects/h8zx19/runs)
52+
5153
## License
5254
LGPLv2.1 [eXist-db.org](http://exist-db.org/exist/apps/homepage/index.html)

cypress.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"baseUrl": "http://localhost:8080/exist/apps/doc",
3+
"projectId": "h8zx19",
34
"fileServerFolder": "src/main/xar-resources",
45
"ignoreTestFiles": "src/test/cypress/integration/examples/*.js",
56
"fixturesFolder": "src/test/cypress/fixtures",
67
"integrationFolder": "src/test/cypress/integration",
78
"pluginsFile": "src/test/cypress/plugins/index.js",
89
"screenshotsFolder": "src/test/cypress/screenshots",
910
"supportFile": "src/test/cypress/support/index.js",
10-
"videosFolder": "src/test/cypress/videos"
11+
"videosFolder": "src/test/cypress/videos",
12+
"projectId": "h8zx19"
1113
}

package-lock.json

Lines changed: 11 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exist-documentation",
3-
"version": "4.2.0",
3+
"version": "5.0.0-RC3",
44
"description": "Documentation package for eXist-db",
55
"scripts": {
66
"test": "standard 'src/test/**/*.js' && mocha src/test/mocha/ --recursive --exit",

pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>org.exist-db</groupId>
1414
<artifactId>exist-documentation</artifactId>
15-
<version>4.2.2-SNAPSHOT</version>
15+
<version>5.0.0-SNAPSHOT</version>
1616

1717
<name>eXist-db Documentation</name>
1818
<description>Documentation package for eXist-db</description>
@@ -48,7 +48,7 @@
4848
<project.build.source>1.8</project.build.source>
4949
<project.build.target>1.8</project.build.target>
5050

51-
<exist.version>4.7.0</exist.version>
51+
<exist.version>5.0.0-RC7</exist.version>
5252
<node.version>v11.15.0</node.version>
5353
<npm.version>6.9.0</npm.version>
5454

@@ -109,13 +109,14 @@
109109
<goal>install-node-and-npm</goal>
110110
</goals>
111111
<!-- optional: default phase is "generate-resources" -->
112-
<phase>generate-resources</phase>
112+
<phase>compile</phase>
113113
</execution>
114114
<execution>
115115
<id>npm version bump</id>
116116
<goals>
117117
<goal>npm</goal>
118118
</goals>
119+
<phase>compile</phase>
119120
<configuration>
120121
<arguments>version --no-git-tag-version --allow-same-version=true ${project.version}</arguments>
121122
</configuration>
@@ -125,6 +126,7 @@
125126
<goals>
126127
<goal>npm</goal>
127128
</goals>
129+
<phase>compile</phase>
128130
<!-- Optional configuration which provides for running any npm command -->
129131
<configuration>
130132
<arguments>ci</arguments>
@@ -135,6 +137,7 @@
135137
<goals>
136138
<goal>gulp</goal>
137139
</goals>
140+
<phase>compile</phase>
138141
</execution>
139142
<execution>
140143
<id>mocha tests</id>

src/main/xar-resources/data/advanced-installation/advanced-installation.xml

Lines changed: 6 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<info>
1010
<title>Advanced Installation Methods</title>
11-
<date>1Q18</date>
11+
<date>2Q19</date>
1212
<keywordset>
1313
<keyword>installation</keyword>
1414
<keyword>operations</keyword>
@@ -46,25 +46,6 @@
4646
background service which is automatically launched during system start-up. This can be
4747
convenient, especially for servers. eXist-db continues to run even after users have
4848
logged off.</para>
49-
<para>eXist-db comes with pre-configured scripts that use <link condition="_blank"
50-
xlink:href="http://yajsw.sourceforge.net/">YAJSW (Yet Another Java Service
51-
Wrapper)</link> to handle the setup procedure. The scripts for this are contained in the
52-
directory <literal>tools/yajsw</literal>. </para>
53-
<para>Out of the box the following mainstream platforms are supported:</para>
54-
<itemizedlist>
55-
<listitem>
56-
<para>Windows x86 (32bit/64bit)</para>
57-
</listitem>
58-
<listitem>
59-
<para>Linux x86 (32bit/64bit) &amp; IA (64bit) </para>
60-
</listitem>
61-
<listitem>
62-
<para>macOS x86 (32bit/64bit) </para>
63-
</listitem>
64-
<listitem>
65-
<para>Solaris x86 (32bit/64bit) &amp; SPARC (32bit/64bit)</para>
66-
</listitem>
67-
</itemizedlist>
6849

6950
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
7051

@@ -81,10 +62,6 @@
8162
<para>Choose <guimenuitem>Install eXist-db as Service</guimenuitem> from
8263
eXist-db's entry in the Windows start menu.</para>
8364
</listitem>
84-
<listitem>
85-
<para>Run <literal>tools/yajsw/bin/installService.bat</literal> from the command
86-
line.</para>
87-
</listitem>
8865
</itemizedlist>
8966
<para>Installing eXist-db as a service on Windows requires full administrator
9067
rights.</para>
@@ -98,9 +75,6 @@
9875
</imageobject>
9976
</mediaobject>
10077
</informalfigure>
101-
<para>Launch it via the service manager (as shown in the screenshot above) or from the
102-
command line:</para>
103-
<programlisting>tools\yaysw\bin\startService.bat</programlisting>
10478
</sect2>
10579

10680
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
@@ -109,7 +83,7 @@
10983
<title>Unix/Linux</title>
11084

11185
<para>The scripts for running eXist-db as a service for Unix and Linux based system
112-
(among which MacOS)can be found in the <literal>tools/yajsw/bin/</literal>
86+
(among which MacOS) can be found in the <literal>tools/serviced/</literal>
11387
sub-directory.</para>
11488
<para>Run the following command to get eXist-db started during initialization of the
11589
system:</para>
@@ -168,17 +142,6 @@
168142
</sect3>
169143

170144
</sect2>
171-
172-
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
173-
174-
<sect2 xml:id="other">
175-
<title>Other platforms</title>
176-
177-
<para>Support for additional platforms can be bootstrapped by looking at templates in
178-
the <code>tools/yajsw/templates</code> sub-directory. Consult the <link
179-
condition="_blank" xlink:href="http://yajsw.sourceforge.net/">YAJSW
180-
documentation</link> for more information.</para>
181-
</sect2>
182145
</sect1>
183146

184147
<!-- ================================================================== -->
@@ -187,8 +150,8 @@
187150
<title>Alternatives for scripts in the bin Directory</title>
188151

189152
<para>Included in the distribution are a number of useful <literal>.sh</literal> (Unix
190-
Shell) and <literal>.bat</literal> (DOS batch) programs located in the
191-
<literal>bin</literal> sub-directory. Their names speak for themselves.</para>
153+
Shell) and <literal>.bat</literal> (Windows batch) programs located in the
154+
<literal>bin</literal> sub-directory. Their names speak for themselves.</para>
192155
<para>However, if you find that programs do not launch, you can try to manually launch them
193156
on the command-line without the scripting wrapper. This often provides useful debugging
194157
information.</para>
@@ -197,7 +160,6 @@
197160
<varlistentry>
198161
<term> <code>startup.sh</code> (Unix) / <code>startup.bat</code> (Windows)</term>
199162
<listitem>
200-
<programlisting>java -jar start.jar jetty</programlisting>
201163
<para>Starts the included Jetty web server at port 8080. eXist runs as a web
202164
application, located at <link xlink:href="http://localhost:8080/exist/"
203165
>http://localhost:8080/exist/</link>. </para>
@@ -206,7 +168,7 @@
206168
<varlistentry>
207169
<term> <code>shutdown.sh</code> (Unix) / <code>shutdown.bat</code> (Windows)</term>
208170
<listitem>
209-
<programlisting>java -jar start.jar shutdown -p youradminpassword</programlisting>
171+
<programlisting>shutdown.sh -p youradminpassword</programlisting>
210172
<para>Closes the running instance of eXist. If eXist has been started with
211173
<literal>startup.sh</literal>, calling <literal>shutdown.sh</literal> will
212174
also stop the Jetty web server. Otherwise, only the database is stopped by
@@ -215,22 +177,11 @@
215177
<literal>shutdown</literal> before killing the server process.</para>
216178
</listitem>
217179
</varlistentry>
218-
<varlistentry>
219-
<term> <code>server.sh</code> (Unix) / <code>server.bat</code> (Windows)</term>
220-
<listitem>
221-
<programlisting>java -jar start.jar standalone</programlisting>
222-
<para>Launches eXist as a stand-alone server process. In this setup, eXist is
223-
only accessible through the XMLRPC and the built-in HTTP interface.</para>
224-
</listitem>
225-
</varlistentry>
226180
<varlistentry>
227181
<term> <code>client.sh</code> (Unix) / <code>client.bat</code> (Windows)</term>
228182
<listitem>
229-
<programlisting>java -jar start.jar client</programlisting>
230183
<para>Launches the <link xlink:href="java-admin-client">Java Admin
231-
Client</link>. This application is also launched if no application is
232-
selected on the command-line, like this:</para>
233-
<programlisting>java -jar start.jar</programlisting>
184+
Client</link>.</para>
234185
</listitem>
235186
</varlistentry>
236187
</variablelist>

src/main/xar-resources/data/advanced-installation/listings/listing-2.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
Wolfgangs-MacBook-Air:eXist wolf$ java -jar installer/eXist-db-setup-2.0RC2-rev17974.jar -console
1+
$ java -jar exist-installer/target/exist-installer-5.0.0-RC8-SNAPSHOT.jar
22
Select target path [/Users/wolf/Source/trunk/eXist]
33
/Applications/eXist/
44
press 1 to continue, 2 to quit, 3 to redisplay
55
1
66
Set Data Directory
77
Please select a directory where eXist will keep its data files. On Vista and Windows 7, this should be outside the usual 'Program Files' directory:
8-
Data dir: [webapp/WEB-INF/data]
8+
Data dir: [data]
99

1010
press 1 to continue, 2 to quit, 3 to redisplay
1111
1
@@ -40,12 +40,12 @@ press 1 to continue, 2 to quit, 3 to redisplay
4040
[ Starting processing ]
4141
Starting process Setting admin password ... (1/1)
4242
--- Starting embedded database instance ---
43-
File lock last access timestamp: 30.12.2012 /Applications/eXist/webapp/WEB-INF/data/dbx_dir.lck
44-
Found a stale lockfile. Trying to remove it: /Applications/eXist/webapp/WEB-INF/data/dbx_dir.lck
45-
File lock last access timestamp: 30.12.2012 /Applications/eXist/webapp/WEB-INF/data/journal.lck
46-
Found a stale lockfile. Trying to remove it: /Applications/eXist/webapp/WEB-INF/data/journal.lck
43+
File lock last access timestamp: 30.12.2012 /Applications/eXist/data/dbx_dir.lck
44+
Found a stale lockfile. Trying to remove it: /Applications/eXist/data/dbx_dir.lck
45+
File lock last access timestamp: 30.12.2012 /Applications/eXist/data/journal.lck
46+
Found a stale lockfile. Trying to remove it: /Applications/eXist/data/journal.lck
4747
Dez 30, 2012 10:13:26 PM org.expath.pkg.repo.util.Logger info
48-
INFO: Create a new repository with storage: File system storage in /Applications/eXist/webapp/WEB-INF/expathrepo
48+
INFO: Create a new repository with storage: File system storage in /Applications/eXist/data/expathrepo
4949
Setting admin user password...
5050
--- Initialization complete. Shutdown embedded database instance ---
5151
[ Console installation done ]

0 commit comments

Comments
 (0)