Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Creating data.json for java project

Options
fatmanur61
fatmanur61 Posts: 82

Hi,

I worked your example project demo which was java project. It included "demo.data.json" file. I did static analysis with using this "demo.data.json" file. I am trying to analyse my java project with Jtest static analysis and I need myproject data.json file. I don't know How can create "myproject.data.json" file. Could you guide me about creating "myproject.data.json" file?

Tagged:

Answers

  • Tomasz
    Tomasz Posts: 18
    edited June 2019
    Options

    You can use jtestcli and set of the -project.* options to create your own *.data.json file. However I would like to recommend using some dedicated build system (ie. gradle or maven) for building your project and let the jtest build plugin create json file automatically. You can check how it works by running gradle or maven cmdlines as described inside example demo project's README.txt.