Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ Auth configuration files can found in the [auth](auth) folder.

* **HTTP Patch Spring** (MIT), [jdk_11_maven/cs/rest/http-patch-spring](jdk_11_maven/cs/rest/http-patch-spring), from [https://github.com/cassiomolin/http-patch-spring](https://github.com/cassiomolin/http-patch-spring)

* **Jasper** (MIT), [jdk_25_maven/cs/rest/jasper](jdk_25_maven/cs/rest/jasper), from [https://github.com/cjmalloy/jasper](https://github.com/cjmalloy/jasper)

* **Languagetool** (LGPL), [jdk_8_maven/cs/rest/original/languagetool](jdk_8_maven/cs/rest/original/languagetool), from [https://github.com/languagetool-org/languagetool](https://github.com/languagetool-org/languagetool)

* **Market** (MIT), [jdk_11_maven/cs/rest-gui/market](jdk_11_maven/cs/rest-gui/market), from [https://github.com/aleksey-lukyanets/market](https://github.com/aleksey-lukyanets/market)
Expand Down
11 changes: 10 additions & 1 deletion experiments/wb-exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,14 @@
JDK_11 = "JDK_11"
JDK_17 = "JDK_17"
JDK_21 = "JDK_21"
JDK_25 = "JDK_25"

def isJava(sut):
return (sut.platform == JDK_8
or sut.platform == JDK_11
or sut.platform == JDK_17
or sut.platform == JDK_21
or sut.platform == JDK_25
)

class Sut:
Expand Down Expand Up @@ -190,6 +192,7 @@ def __init__(self, name, platform):
Sut("genome-nexus", JDK_8),
Sut("gestaohospital", JDK_8),
Sut("http-patch-spring", JDK_11),
Sut("jasper", JDK_25),
Sut("languagetool", JDK_8),
Sut("market", JDK_11),
Sut("microcks", JDK_21),
Expand Down Expand Up @@ -274,12 +277,16 @@ def __init__(self, name, platform):
if JAVA_HOME_21 == "":
raise Exception("You must specify a JAVA_HOME_21 env variable specifying where JDK 21 is installed")

JAVA_HOME_25 = os.environ.get("JAVA_HOME_25", "")
if JAVA_HOME_25 == "":
raise Exception("You must specify a JAVA_HOME_25 env variable specifying where JDK 25 is installed")

JACOCO_AGENT = "not-defined"
JACOCO_CLI = "not-defined"

if JACOCO:

JACOCO_LOCATION = WFD + "/jacoco"
JACOCO_LOCATION = WFD_DIR + "/jacoco"

JACOCO_AGENT = os.path.join(JACOCO_LOCATION, "jacocoagent.jar")
JACOCO_CLI = os.path.join(JACOCO_LOCATION, "jacococli.jar")
Expand Down Expand Up @@ -496,6 +503,8 @@ def getJavaExeByJDK(platform):
path = JAVA_HOME_17 +"/bin/java"
elif platform == JDK_21:
path = JAVA_HOME_21 +"/bin/java"
elif platform == JDK_25:
path = JAVA_HOME_25 +"/bin/java"
else:
raise Exception("ERROR: unhandled JVM version: " + platform)

Expand Down
18 changes: 18 additions & 0 deletions jdk_25_maven/cs/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.evomaster</groupId>
<artifactId>evomaster-benchmark-jdk25</artifactId>
<version>4.3.0</version>
</parent>

<artifactId>evomaster-benchmark-jdk25-cs</artifactId>
<packaging>pom</packaging>

<modules>
<module>rest</module>
</modules>

</project>
32 changes: 32 additions & 0 deletions jdk_25_maven/cs/rest/jasper/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Development artifacts
target/
.github/
.mvn/
docs/
.idea/
storage/
gatling/
repl/
.DS_Store

# Documentation
_includes/
docs/
*.md
LICENSE

# Git and config files not needed for build
.git/
.gitignore
.gitattributes
.editorconfig

# Build scripts not used in Docker (image has its own Maven)
mvnw
mvnw.cmd
Dockerfile

# Scripts and local dev files
docker-compose.yaml
.dockerignore
_config.yml
20 changes: 20 additions & 0 deletions jdk_25_maven/cs/rest/jasper/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab
indent_size = 2

[*.{java,xml,json}]
indent_size = 4

[*.{md,yml,yaml,json}]
indent_style = space
trim_trailing_whitespace = false

[CODEOWNERS]
indent_size = 8
150 changes: 150 additions & 0 deletions jdk_25_maven/cs/rest/jasper/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
# This file is inspired by https://github.com/alexkaratarakis/gitattributes
#
# Auto detect text files and perform LF normalization
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
* text=auto

# The above will handle all files NOT found below
# These files are text and should be normalized (Convert crlf => lf)

*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
*.coffee text
*.css text
*.cql text
*.df text
*.ejs text
*.html text
*.java text
*.js text
*.json text
*.less text
*.properties text
*.sass text
*.scss text
*.sh text eol=lf
*.sql text
*.txt text
*.ts text
*.xml text
*.yaml text
*.yml text

# Documents
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.markdown text
*.md text
*.adoc text
*.textile text
*.mustache text
*.csv text
*.tab text
*.tsv text
*.txt text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
copyright text
*COPYRIGHT* text
INSTALL text
license text
LICENSE text
NEWS text
readme text
*README* text
TODO text

# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.tif binary
*.tiff binary
*.ico binary
# SVG treated as an asset (binary) by default. If you want to treat it as text,
# comment-out the following line and uncomment the line after.
*.svg binary
#*.svg text
*.eps binary

# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.class binary
*.jar binary
*.war binary

## LINTERS
.csslintrc text
.eslintrc text
.jscsrc text
.jshintrc text
.jshintignore text
.stylelintrc text

## CONFIGS
*.conf text
*.config text
.editorconfig text
.gitattributes text
.gitconfig text
.gitignore text
.htaccess text
*.npmignore text

## HEROKU
Procfile text
.slugignore text

## AUDIO
*.kar binary
*.m4a binary
*.mid binary
*.midi binary
*.mp3 binary
*.ogg binary
*.ra binary

## VIDEO
*.3gpp binary
*.3gp binary
*.as binary
*.asf binary
*.asx binary
*.fla binary
*.flv binary
*.m4v binary
*.mng binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.swc binary
*.swf binary
*.webm binary

## ARCHIVES
*.7z binary
*.gz binary
*.rar binary
*.tar binary
*.zip binary

## FONTS
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary
13 changes: 13 additions & 0 deletions jdk_25_maven/cs/rest/jasper/.m2/settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- <mirrors>-->
<!-- <mirror>-->
<!-- <id>google-maven-central</id>-->
<!-- <name>Google Maven Central</name>-->
<!-- <url>https://maven-central.storage.googleapis.com/maven2/</url>-->
<!-- <mirrorOf>central</mirrorOf>-->
<!-- </mirror>-->
<!-- </mirrors>-->
</settings>
21 changes: 21 additions & 0 deletions jdk_25_maven/cs/rest/jasper/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 Chris Malloy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading