Skip to content

Commit

Permalink
Merge pull request #35 from six42/gradlehtml
Browse files Browse the repository at this point in the history
Updated build instructions
  • Loading branch information
six42 authored Oct 31, 2019
2 parents 81cbb97 + f28e7c6 commit e6dc77c
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ classes/*
*.jar

FitNesseRoot/RecentChanges.wiki
FitNesseRoot/RerunLastFailures.wiki
FitNesseRoot/PlugIns/content.txt
FitNesseRoot/PlugIns/properties.xml
FitNesseRoot/PlugIns.wiki
Expand Down
23 changes: 11 additions & 12 deletions FitNesseRoot/PlugIns/JdbcSlim/Installation/BuildInstructions.wiki
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,26 @@

!note git clone https://github.com/six42/jdbcslim.git

!5 place the following files in the folder plugins/jdbcslim
!4 build and run all tests, run the command

|fitnesse-standalone.jar | http://fitnesse.org (tested with version 20190716)|
|dbfit-core-3.2.0.jar | http://dbfit.github.io/dbfit/ (extract from zip)|
|commons-codec-1.10.jar | http://dbfit.github.io/dbfit/ (extract from zip)|
|h2-1.4.196.jar | http://www.h2database.com/html/download.html|
$ ./gradlew test

!note ant jar
NB. On windows call gradlew.bat instead of ./gradlew.

!note ant run

!5 Start your browser at http://localhost:8080 and execute the suite .Plugins.JdbcSlim.UserGuide
!4 start !-FitNesse-!

$ ./gradlew run

!5 once all tests pass run
Start your browser at http://localhost:8001 and execute the suite .Plugins.JdbcSlim.UserGuide

!note ant build

!5 to validate that the acceptance test pass from the command line.

!5 In case you use different versions from the above jars you have to update the pages:
!4 validate that the acceptance test pass from the command line.

$ ./gradlew acceptanceTest

!3 In case you use different versions from the above jars you have to update the pages:
.PlugIns.JdbcSlim.Installation
.PlugIns.JdbcSlim.XxTestMoreDrivers.HtwoTest.ScenarioLibrary
.PlugIns.JdbcSlim.XxTestMoreDrivers.HtwoTest.SuiteSetUp
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
Help: Warning: Ant is not the strategic build tool and new versions are not tested against it
Static
Suites: decommission
---
!1 Build.Ant

!help

!3 To build !-JdbcSlim-! yourself do the following:

!note git clone https://github.com/six42/jdbcslim.git

!5 place the following files in the folder plugins/jdbcslim

|fitnesse-standalone.jar | http://fitnesse.org (tested with version 20190716)|
|dbfit-core-3.2.0.jar | http://dbfit.github.io/dbfit/ (extract from zip)|
|commons-codec-1.10.jar | http://dbfit.github.io/dbfit/ (extract from zip)|
|h2-1.4.196.jar | http://www.h2database.com/html/download.html|

!note ant jar

!note ant run

!5 Start your browser at http://localhost:8080 and execute the suite .Plugins.JdbcSlim.UserGuide


!5 once all tests pass run

!note ant build

!5 to validate that the acceptance test pass from the command line.

!5 In case you use different versions from the above jars you have to update the pages:
.PlugIns.JdbcSlim.Installation
.PlugIns.JdbcSlim.XxTestMoreDrivers.HtwoTest.ScenarioLibrary
.PlugIns.JdbcSlim.XxTestMoreDrivers.HtwoTest.SuiteSetUp

Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
Help: Warning: Maven is not the strategic build tool and new versions are not tested against it
Suites: decommission
---
!1 Installation.Maven
!1 Build.Maven

!help

Execute `mvn clean compile dependency:copy-dependencies package` to copy dependencies and build `jdbcslim.jar` in the folder `plugins/jdbcslim`.

Execute `mvn exec:exec` to start FitNesse (default: http://localhost:8080).

JdbcSlim testpages available on .Plugins.JdbcSlim.UserGuide (http://localhost:8080/Plugins.JdbcSlim.UserGuide) execute this suite to verify tests can run.
´JdbcSlim´ testpages available on .Plugins.JdbcSlim.UserGuide (http://localhost:8080/Plugins.JdbcSlim.UserGuide) execute this suite to verify tests can run.

!contents -R2 -g -p -f -h
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apply plugin: 'signing'
apply plugin: 'eclipse'

group 'com.github.six42'
version = '1.2.4-SNAPSHOT'
version = '1.2.4'
//version = new Date().format('yyyyMMdd')

println "Building ${project.name} v${project.version}..."
Expand Down

0 comments on commit e6dc77c

Please sign in to comment.