Skip to content

Commit a233cd3

Browse files
committed
Merge branch 'develop'
2 parents d96ef56 + 6b7490a commit a233cd3

File tree

169 files changed

+11400
-3604
lines changed

Some content is hidden

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

169 files changed

+11400
-3604
lines changed

.classpath

Lines changed: 258 additions & 34 deletions
Large diffs are not rendered by default.

.gitignore

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,19 @@
55
/build/cfdistro
66
/undertow
77
/testlibs
8-
tests/resource/war/simple.war/WEB-INF/logs
8+
src/test/resources/war/simple.war/WEB-INF/urlrewrite.xml
9+
src/test/resources/war/simple.war/WEB-INF/logs/
10+
.gradle
11+
gradle-app.setting
12+
!gradle-wrapper.jar
13+
.gradletasknamecache
14+
#ignore the various too-lazy-to-fix-and-lame-anyway bash tests
15+
gradle/*.sh
16+
testwars
17+
#IDE files
18+
*.project
19+
.settings
20+
.idea
21+
*.iml
22+
*.ipr
23+
*.iws

.project

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,32 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
33
<name>runwar</name>
4-
<comment></comment>
5-
<projects>
6-
</projects>
4+
<comment>RunWar Gradle build script</comment>
5+
<projects/>
6+
<natures>
7+
<nature>org.eclipse.jdt.core.javanature</nature>
8+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
9+
</natures>
710
<buildSpec>
811
<buildCommand>
912
<name>org.eclipse.jdt.core.javabuilder</name>
10-
<arguments>
11-
</arguments>
13+
<arguments/>
14+
</buildCommand>
15+
<buildCommand>
16+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
17+
<arguments/>
1218
</buildCommand>
1319
</buildSpec>
14-
<natures>
15-
<nature>org.eclipse.jdt.core.javanature</nature>
16-
</natures>
20+
<linkedResources/>
21+
<filteredResources>
22+
<filter>
23+
<id>-855317344</id>
24+
<name></name>
25+
<type>10</type>
26+
<matcher>
27+
<id>org.eclipse.ui.ide.multiFilter</id>
28+
<arguments>1.0-name-matches-false-false-org.cfmlprojects.*</arguments>
29+
</matcher>
30+
</filter>
31+
</filteredResources>
1732
</projectDescription>

Jenkinsfile

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
pipeline {
2+
agent any
3+
4+
stages {
5+
stage('Preparation') { // for display purposes
6+
// Get some code from a GitHub repository
7+
git 'https://github.com/cfmlprojects/runwar.git'
8+
}
9+
stage('Build') {
10+
if (isUnix()) {
11+
sh "'$WORKSPACE/gradlew' publishRunwarPublicationToMavenRepository"
12+
} else {
13+
bat("$WORKSPACE/runwar" publishRunwarPublicationToMavenRepository)
14+
}
15+
}
16+
stage('Results') {
17+
junit '**/target/surefire-reports/TEST-*.xml'
18+
archive 'dist/*.jar'
19+
}
20+
}
21+
22+
post {
23+
always {
24+
echo "Build completed. currentBuild.result = ${currentBuild.result}"
25+
}
26+
27+
changed {
28+
echo 'Build result changed'
29+
30+
script {
31+
if(currentBuild.result == 'SUCCESS') {
32+
echo 'Build has changed to SUCCESS status'
33+
}
34+
}
35+
}
36+
37+
failure {
38+
echo 'Build failed'
39+
}
40+
41+
success {
42+
echo 'Build was a success'
43+
}
44+
unstable {
45+
echo 'Build has gone unstable'
46+
}
47+
}
48+
}

README.adoc

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# RunWAR
2+
3+
RunWAR is a web server targeted at running Java and CFML applications, with some added features for Adobe ColdFusion and Lucee (configurable web/admin context locations, and opening the admin pages from the taskbar).
4+
5+
## Lightweight
6+
7+
RunWAR has a small memory footprint (10 MB on disk, ~5M min heap), while leveraging enterprise grade server technology-- and the inner workings are simple. It starts up very fast and has very small overhead. It's great for running sites on even limited hardware like a Raspberry Pi since it has a smaller footprint than, say, Tomcat.
8+
9+
## Extensible
10+
11+
As small as RunWAR is, it still packs a lot of features. It can run any J2EE war including all recent versions of Adobe ColdFusion, Railo, and Lucee Server. It has a powerful Java-based web server built in that provides:
12+
13+
* URL Rewriting
14+
* Virtual directories
15+
* Basic Authencitcation
16+
* Custom error pages
17+
* Full control of JVM args
18+
* System tray integration for managing servers
19+
20+
## Standards Compliant
21+
22+
Runwar is powered under the hood by a project called *Undertow* which actually does all the work.
23+
24+
> Undertow is a flexible performant web server written in java, providing both blocking and non-blocking API’s based on NIO.
25+
> http://undertow.io
26+
27+
Undertow is what powers JBoss WildFly and is a very active project with tons of support for stuff like web sockets and HTTP 2.0 and has excellent performance.
28+
29+
## Usage
30+
RunWAR can be run from the commandline like so. This will give you all the available options:
31+
```bash
32+
$> java -jar runwar-${version}.jar
33+
```
34+
35+
To start a quick server, it would look like this:
36+
```bash
37+
$> java -jar runwar.jar -war "path/to/war" --background false
38+
```
39+
40+
or
41+
42+
```bash
43+
$> java -jar runwar.jar -war "path/to/war" --port 8787 --dirs "virtualdir=/path/to/dir,virtualdir2=/path/to/dir2" --background false
44+
```
45+
46+
## CommandBox
47+
Runwar also powers the servers for CommandBox, a CLI, REPL, package manager, and server for CFML developers.
48+
49+
## License
50+
51+
Source code for this project is licensed under the [MIT License (MIT)] (http://www.opensource.org/licenses/mit-license.php).
52+

README.md

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,4 @@
11
# RunWAR
22

3-
RunWAR is a web server targeted at running Java and CFML applications, with some added features for Adobe ColdFusion and Lucee (configurable web/admin context locations, and opening the admin pages from the taskbar).
4-
5-
## Lightweight
6-
7-
RunWAR has a small memory footprint (10 MB on disk, ~5M min heap), while leveraging enterprise grade server technology-- and the inner workings are simple. It starts up very fast and has very small overhead. It's great for running sites on even limited hardware like a Raspberry Pi since it has a smaller footprint than, say, Tomcat.
8-
9-
## Extensible
10-
11-
As small as RunWAR is, it still packs a lot of features. It can run any J2EE war including all recent versions of Adobe ColdFusion, Railo, and Lucee Server. It has a powerful Java-based web server built in that provides:
12-
* URL Rewriting
13-
* Virtual directories
14-
* Basic Authencitcation
15-
* Custom error pages
16-
* Full control of JVM args
17-
* System tray integration for managing servers
18-
19-
## Standards Compliant
20-
21-
Runwar is powered under the hood by a project called *Undertow* which actually does all the work.
22-
> Undertow is a flexible performant web server written in java, providing both blocking and non-blocking API’s based on NIO.
23-
> http://undertow.io
24-
25-
Undertow is what powers JBoss WildFly and is a very active project with tons of support for stuff like web sockets and HTTP 2.0 and has excellent performance.
26-
27-
## Usage
28-
RunWAR can be run from the commandline like so. This will give you all the available options:
29-
```bash
30-
$> java -jar runwar-${version}.jar
31-
```
32-
33-
To start a quick server, it would look like this:
34-
```bash
35-
$> java -jar runwar.jar -war "path/to/war" --background false
36-
```
37-
38-
or
39-
40-
```bash
41-
$> java -jar runwar.jar -war "path/to/war" --port 8787 --dirs "virtualdir=/path/to/dir,virtualdir2=/path/to/dir2" --background false
42-
```
43-
44-
## CommandBox
45-
Runwar also powers the servers for CommandBox, a CLI, REPL, package manager, and server for CFML developers.
46-
47-
## License
48-
49-
Source code for this project is licensed under the [MIT License (MIT)] (http://www.opensource.org/licenses/mit-license.php).
3+
[README)](README.adoc)
504

0 commit comments

Comments
 (0)