Skip to content

Commit 7074042

Browse files
committed
Modernise the build, switch from Ant to Maven
1 parent ed53e82 commit 7074042

414 files changed

Lines changed: 2305 additions & 623 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ query-results
7171
# =========================
7272
.env
7373
.yo-rc.json
74+
node/
7475
node_modules/
7576
coverage/
7677
bower_components/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
wrapperVersion=3.3.4
2+
distributionType=only-script
3+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.10/apache-maven-3.9.10-bin.zip

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ The Srophé Application depends on a unique identifier, for Syriaca.org uses `te
3535
It is also possible to use the document uri, changes would have to made in repo-config.xml and in controller.xql to enable use of the document uri rather then the tei:idno.
3636

3737
### Deploy data and application
38-
In the root directory of each of your new repositories run 'ant' [link to ant instructions] to build the eXist-db application.
39-
A new .xar file will be built and saved in srophe/build/ and srophe-data/build. You can install these applications via the eXist-db dashboard [http://localhost:8080/exist/apps/dashboard/index.html] using the Package Manager.
38+
In the root directory of each of your new repositories run '`./mvnw`' (or `mvnw.cmd` if you are on Windows) to build the application.
39+
A new `srophe-3.1.0-SNAPSHOT.xar` file will be built and saved in `target/`. You can install these applications via the Elemental (or eXist-db) dashboard [http://localhost:8080/exist/apps/dashboard/index.html] using the Package Manager.
4040

41-
Once deployed the application should show up as 'The Srophe web application' on your dashboard.
41+
Once deployed the application should show up as 'The Srophé web application' on your dashboard.
4242
Click on the icon to be taken to the app.
4343

4444
Learn how to customize the application.

build.xml

Lines changed: 0 additions & 24 deletions
This file was deleted.

cypress.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
const { defineConfig } = require('cypress')
22

33
module.exports = defineConfig({
4-
screenshotsFolder: 'reports/screenshots',
5-
videosFolder: 'reports/videos',
6-
fixturesFolder: 'test/cypress/fixtures',
4+
screenshotsFolder: 'target/cypress/reports/screenshots',
5+
videosFolder: 'target/cypress/reports/videos',
6+
fixturesFolder: 'src/test/cypress/fixtures',
77
e2e: {
88
setupNodeEvents (on, config) {
99
// implement node event listeners here
1010
},
11-
baseUrl: 'http://localhost:8080',
11+
baseUrl: 'http://localhost:8123',
1212
includeShadowDom: true,
13-
specPattern: 'test/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}',
14-
supportFile: 'test/cypress/support/e2e.js'
13+
specPattern: 'src/test/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}',
14+
supportFile: 'src/test/cypress/support/e2e.js'
1515
}
1616
})

expath-pkg.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

mvnw

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

0 commit comments

Comments
 (0)