|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * docs/web-console-guide/master.adoc |
| 4 | + |
| 5 | +:_content-type: PROCEDURE |
| 6 | +[id="web-create-project_{context}"] |
| 7 | += Creating a project |
| 8 | + |
| 9 | +You can create a project in the {WebName} with the *Create project* wizard. |
| 10 | + |
| 11 | +.Procedure |
| 12 | + |
| 13 | +. In the {WebName}, click *Projects*. |
| 14 | +. Click *Create project*. |
| 15 | +. Enter a unique name for the project, an optional description, and click *Next*. |
| 16 | ++ |
| 17 | +. To upload applications, click the *Upload* tab, click *Browse*, select the application files you want to upload, and click *Close*. |
| 18 | ++ |
| 19 | +Uploading applications stores them directly on the {ProductShortName} server. |
| 20 | + |
| 21 | +. To register a server path, click the *Server path* tab and enter the *Server-side path* of the application in the field. |
| 22 | ++ |
| 23 | +Registering the server path of an application ensures that {ProductShortName} always uses the latest version. |
| 24 | +. Click *Next*. |
| 25 | +. Click one or more transformation targets. |
| 26 | ++ |
| 27 | +image::web-console-transformation-targets.png[Transformation targets] |
| 28 | +. Click *Next*. |
| 29 | +. Select packages and click *>* to include them in the analysis. |
| 30 | +. Click *Next*. |
| 31 | ++ |
| 32 | +. If you want to add a custom rule, click *Add rule*. |
| 33 | ++ |
| 34 | +See the link:{ProductDocRulesGuideURL}[{RulesDevBookName}] for more information. |
| 35 | + |
| 36 | +* To upload a ruleset file, click the *Upload* tab, click *Browse*, select one or more files, and click *Close*. |
| 37 | ++ |
| 38 | +A ruleset file must have a `.windup.xml` extension. The uploaded file is stored on the {ProductShortName} server. |
| 39 | ++ |
| 40 | +* To register the server path of a ruleset file, click the *Server path* tab, enter the *Rules* path, and click *Save*. |
| 41 | ++ |
| 42 | +Registering the server path ensures that the {ProductShortName} server always uses the latest version of the ruleset files. |
| 43 | ++ |
| 44 | +. Click *Next*. |
| 45 | ++ |
| 46 | +. If you want to add a custom label, click *Add label*. |
| 47 | +* To upload a labelset file, click the *Upload* tab, click *Browse*, select one or more files, and click *Close*. |
| 48 | ++ |
| 49 | +A labelset file must have a `.windup.label.xml` extension. The uploaded file is stored on the {ProductShortName} server. |
| 50 | ++ |
| 51 | +* To register a server path, click the *Server path* tab, enter the *Labels path* of the label files in the field, and click *Save*. |
| 52 | ++ |
| 53 | +Registering the server path ensures that the {ProductShortName} server always uses the latest version of the labelset files. |
| 54 | ++ |
| 55 | +. Click *Next*. |
| 56 | ++ |
| 57 | +. Review the following *Advanced options* and make any necessary changes: |
| 58 | +
|
| 59 | +* *Target* |
| 60 | +* *Source* |
| 61 | +* *Exclude tags*: Rules with these tags are not processed. |
| 62 | +* *Additional classpath*: Enter a space-delimited list of additional `.jar` files or directories so that they are available for decompilation or other analysis. |
| 63 | +* *Application name* |
| 64 | +* *Mavenize group ID* |
| 65 | +* *Ignore path*: Enter a path for files to exclude from analysis. |
| 66 | +* *Export CSV*: Exports the report data as a CSV file. |
| 67 | +* *Export Summary*: Generates an `analysisSummary.json` export file in the output directory. The file contains analysis summary information for each application analyzed, including the number of incidents and story points by category, and all of the technology tags associated with the analyzed applications. |
| 68 | +* *Export reports zip*: Creates a `reports.zip` file in the output folder. The file contains the analysis output, typically, the reports. If requested, it can also contain the CSV export files. |
| 69 | +* *Disable Tattletale*: Disables generation of a Tattletale report for each application. |
| 70 | +* *Class Not Found analysis*: Enables analysis of Java files that are not available on the class path. |
| 71 | ++ |
| 72 | +[NOTE] |
| 73 | +==== |
| 74 | +This option should not be used if some classes are unavailable for analysis. |
| 75 | +==== |
| 76 | +
|
| 77 | +* *Compatible Files report*: Generating a Compatible Files report might take a long time for large applications. |
| 78 | +* *Exploded app*: The input directory contains the unpackaged source files of an application. |
| 79 | +* *Keep work dirs*: Retains temporary files, for example, the graph database or extracted archive files, for debugging purposes. |
| 80 | +* *Skip reports*: HTML reports are not generated. Must be enabled if you enabled *Export CSV*. |
| 81 | +* *Allow network access*: Validates any XML files within the analyzed applications against their schema. |
| 82 | ++ |
| 83 | +[NOTE] |
| 84 | +==== |
| 85 | +This option might reduce performance. |
| 86 | +==== |
| 87 | +* *Mavenize*: Creates a Maven project directory structure based on the structure and content of the application. |
| 88 | +* *Source mode*: Indicates that the application files are raw source files, not compiled binaries. The sourceMode argument has been deprecated. There is no longer the need to specify it. MTR can intuitively process any inputs that are presented to it. In addition, project source folders can be analyzed with binary inputs within the same analysis execution. |
| 89 | +* *Analyze known libraries*: Analyze known software artifacts embedded within your application. By default, {ProductShortName} only analyzes application code. |
| 90 | ++ |
| 91 | +[NOTE] |
| 92 | +==== |
| 93 | +This option might result in a longer execution time and a large number of migration issues being reported. |
| 94 | +==== |
| 95 | +* *Transaction analysis*: [Tech Preview] Generates a Transactions report that displays the call stack, which executes operations on relational database tables. The Enable Transaction Analysis feature supports Spring Data JPA and the traditional `preparedStatement()` method for SQL statement execution. It does not support ORM frameworks, such as Hibernate. |
| 96 | ++ |
| 97 | +[NOTE] |
| 98 | +==== |
| 99 | +Transaction analysis is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them |
| 100 | +in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. |
| 101 | +==== |
| 102 | +* *Skip source code reports:* Adding this option skips generating a _Source code report_ when generating the application analysis report. Use this advanced option when concerned about source code information appearing in the application analysis. |
| 103 | +
|
| 104 | +. Click *Next*. |
| 105 | ++ |
| 106 | +. Review your project and click *Save* or *Save and run*. |
| 107 | ++ |
| 108 | +The project is displayed in the *Projects* screen. |
0 commit comments