Skip to content

This repository contains source code of OpenClover Core as well as its integrations: Clover-for-Ant, Clover-for-Eclipse and Clover-for-IDEA plugins. Sources are licensed under Apache 2.0 license.

License

satob/clover

 
 

Repository files navigation

About

This repository contains source code of OpenClover Core as well as its integrations: Clover-for-Ant, Clover-for-Eclipse and Clover-for-IDEA plugins. Sources are licensed under Apache 2.0 license.

Documentation

User documentation:

Developer guides:

Support Knowledge Base:

Q&A forums:

Bug and feature tracker:

Download page:

Source code:

See also:

Quick setup for developing OpenClover

  • Install JDK 1.8, Ant 1.10+, Maven 3.8+, Git
  • Prepare work environment:
# Prepare repacked third party libraries
mvn install -f clover-core-libs/jarjar/pom.xml
mvn install -Prepack -f clover-core-libs/pom.xml
mvn install -Prepack -f clover-idea/clover-jtreemap/pom.xml

# Download Eclipse IDE binaries
ant clover-eclipse-libs.build

# Download KTremap fork and install it
git clone https://bitbucket.org/atlassian/ktreemap
cd ktreemap
git checkout ktreemap-1.1.0-atlassian-01
# an old maven-antrun-plugin does not recognize <target> tag
sed -i -e 's@<artifactId>maven-antrun-plugin</artifactId>@<artifactId>maven-antrun-plugin</artifactId><version>3.1.0</version>@' pom.xml
# maven-dependency-plugin fails because of missing eclipse artifact so copy JARs manually
mkdir -p target/eclipse; cp ../target/dependencies/eclipse/4.4/plugins/*.jar target/eclipse
mvn install -Dmdep.skip=true  
cd ..

Now you can work with the code. A naming convention for Ant targets is:

< global | module-name >.< build | test.build | test | clean | repkg >

There are more global and module-specific targets available, see build.xml files.

Examples:

# Compile everything, including tests
ant global.test.build

# Check binary compatibility wtih all Eclipse versions supported 
ant clover-eclipse.build.all.versions

# Check binary compatibility wtih all IntelliJ versions supported
ant clover-idea.test.all.versions

# Run tests for three main modules
ant clover-core.test clover-ant.test groovy.test

Copyright @ 2002 - 2017 Atlassian Pty Ltd Copyright @ 2017 - 2022 modifications by OpenClover.org

About

This repository contains source code of OpenClover Core as well as its integrations: Clover-for-Ant, Clover-for-Eclipse and Clover-for-IDEA plugins. Sources are licensed under Apache 2.0 license.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 62.0%
  • Groovy 15.6%
  • JavaScript 13.8%
  • CSS 3.7%
  • GAP 3.4%
  • XSLT 0.7%
  • Other 0.8%