GithubHelp home page GithubHelp logo

yveshe / jakartaee-tck-tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eclipse-ee4j/jakartaee-tck-tools

0.0 0.0 0.0 583 KB

License: Other

Java 85.93% HTML 10.42% XSLT 0.61% Shell 3.04%

jakartaee-tck-tools's Introduction

CTS Tools Overview

This workspace contains CTS specific tools and documents. The tools and documents within the workspace are not part of the Java EE CTS package that is shipped to customers.

The workspace currently has 2 directories - docs and tools. The docs directory contains CTS developer documents as well as XSL style sheets and DTDs used in the assertion list generation. The tools directory contains all the CTS tools, set of library jars used by the CTS tools, set of java utility classes, and useful shell scripts.

How to build CTS tools in this workspace ?

Install Apache Ant and set an envronment variable ANT_HOME. Set <ANT_HOME>/bin to PATH variable.

cd TS_TOOLS_HOME/tools
ant 

Note : If you are a TCK developer and would like to add a tool to the workspace simply create a new directory under the tools directory and add your tool. You must follow some simple guidelines when adding a new tool.

  • All tools must be built using Ant.
  • You must have a src directory in your tool directory with all the source code placed in the directories that mimic the package declarations in the source file.
  • Your Ant build file should compile the java source and place it into a classes directory under your tool directory.
  • If you have a distribution feel free to create a dist directory and add a target to the ant build file to create the distribution. If you have any shell scripts included with your tool place them into a scripts directory.
  • It is nice if you include a README file at the top level to let people know what the tool is and how it works.
  • If you want your tools to be built with all the other tools, add an ant call in the build.xml file located in the tools directory, you can also add a clean ant call as well to remove your built tool.
  • At a minimum all ant build files should have a compile and clean target with compile being the default target.

Recommended directory structure:

  tools
   |
   |__ build.xml (builds all tools and scripts in tools directory)
   |
   |__ your-tool-dir
             |
             |__ build.xml
             |
             |__ src
             |    |
             |    |__ com/sun/cts/your-package-name/*.java
             |
             |__ classes (generated by ant build)
             |
             |__ dist (generated by ant build)
             |
             |__ scripts
                  |
                  |__ *.sh, *.bat

If you have an XSL style sheet or DTD to add to the gate place them under docs/xsl and docs/dtd respectively.

jakartaee-tck-tools's People

Contributors

bhatpmk avatar anajosep avatar alwin-joseph avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.