GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - javaee/mvc-spec: This is a Read-Only mirror repository for JSR 371. For ongoing work, issue tracker and latest versions, go to https://github.com/jakartaee/mvc

This repository was archived by the owner on Aug 10, 2023. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

212 Commits
212 Commits

Folders and files

NameName
Last commit message
Last commit date
.travis
.travis
 
 
api
api
 
 
spec
spec
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE-ASL.txt
LICENSE-ASL.txt
 
 
LICENSE-JCP-nonfinal.txt
LICENSE-JCP-nonfinal.txt
 
 
LICENSE-JCP.txt
LICENSE-JCP.txt
 
 
README.adoc
README.adoc
 
 
pom.xml
pom.xml
 
 

Repository files navigation

PROJECT MOVED

This project has been migrated to Eclipse Foundation. This repository is for legacy review access only. Anyone interested in MVC’s current progress should head on over to the [Jakarta EE MVC Specification project](https://github.com/jakartaee/mvc).

JSR 371 Specification and API

This project contains the specification document and Java API sources. The project is organized into two modules: api and spec. The api module contains the Java API sources, which may be used to generate the API JAR and JavaDoc. The spec module contains the specification document sources, which may be used to generate the specification document.

Generating the API and JavaDoc

Just enter mvn clean install at the command line. Maven will generate the following artifacts.

API Jar
  • The jar containing the api interfaces and classes.

  • In the directory: /api/target

API JavaDoc
  • The JavaDoc for the api interfaces and classes.

  • In the directory: api/target/apidocs

Generating the Specification

run mvn clean install in the spec directory

The PDF and HTML will be generated in spec/target/generated-docs/

Tagging phrases for the TCK

The [MVC TCK](https://https://github.com/mvc-spec/mvc-tck) is a suite of unit tests for validating the compliance of MVC implementations with the specification.

The tests of the TCK are based on assertions representing sentences and phrases in this specification. Labels on specific text elements of the specification are used to mark those which should lead to an assertion in the TCK. The following values are allowed:

  • tck-testable: The tagged element must be represented by a testable assertion in the TCK

  • tck-not-testable: The tagged element must be represented by a non-testable assertion in the TCK (e.g. assertions regarding thread safety)

  • tck-ignore: The tagged element must be excluded when creating a TCK assertion for an outer element. Can be used to exlude explanatory phrases contained in an element marked as tck-testable.

  • tck-needs-update: The tagged element must be marked with a note in the TCK audit file saying that the tests for this assertion need to be updated, e.g. due to a spec update. Can be used together with tck-testable and tck-not-testable: Some sentence…​.

  • tck-id-SOME_ID: This tag defines an ID that has to be used to reference this particular assertion in the TCK. SOME_ID can be any text, number or special character`- anything up to the next space " " or closing bracket ]` will be taken as the ID. Can be used together with tck-testable: Some sentence…​. tck-testable without a defined id will get a letter assigned as their ID, in the order of apperance within their section (a, b, c, …​)

Audit XML to calculate spec coverage in tests

mvn clean install (or just mvn generate-resources) in the spec directory will create a tck-audit.xml file under target/generated-docs. This file contains the [tck-testable] assertions found in the spec (asciidoc), and is used in the TCK project to analyse the spec coverage in tests.

The process is copied and adapted from the beanvalidation spec project (https://github.com/beanvalidation/beanvalidation-spec).

About

This is a Read-Only mirror repository for JSR 371. For ongoing work, issue tracker and latest versions, go to https://github.com/jakartaee/mvc

github.com/jakartaee/mvc

Resources

Readme

Contributing

Contributing
Activity
Custom properties

Stars

6 stars

Watchers

7 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.