|
| 1 | +--- |
| 2 | +sidebar_label: "Delete JBoss deployment descriptor files" |
| 3 | +--- |
| 4 | + |
| 5 | +import Tabs from '@theme/Tabs'; |
| 6 | +import TabItem from '@theme/TabItem'; |
| 7 | + |
| 8 | +# Delete JBoss deployment descriptor files |
| 9 | + |
| 10 | +**io.moderne.java.server.jboss.DeleteJBossDescriptors** |
| 11 | + |
| 12 | +_Removes jboss-web.xml and jboss-deployment-structure.xml files as they are no longer needed after a migration._ |
| 13 | + |
| 14 | +## Recipe source |
| 15 | + |
| 16 | +This recipe is only available to users of [Moderne](https://docs.moderne.io/). |
| 17 | + |
| 18 | + |
| 19 | +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview). |
| 20 | + |
| 21 | + |
| 22 | +## Usage |
| 23 | + |
| 24 | +This recipe has no required configuration options. Users of Moderne can run it via the Moderne CLI: |
| 25 | +<Tabs groupId="projectType"> |
| 26 | + |
| 27 | + |
| 28 | +<TabItem value="moderne-cli" label="Moderne CLI"> |
| 29 | + |
| 30 | +You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. |
| 31 | + |
| 32 | +```shell title="shell" |
| 33 | +mod run . --recipe DeleteJBossDescriptors |
| 34 | +``` |
| 35 | + |
| 36 | +If the recipe is not available locally, then you can install it using: |
| 37 | +```shell |
| 38 | +mod config recipes jar install io.moderne.recipe:rewrite-java-application-server:{{VERSION_IO_MODERNE_RECIPE_REWRITE_JAVA_APPLICATION_SERVER}} |
| 39 | +``` |
| 40 | +</TabItem> |
| 41 | +</Tabs> |
| 42 | + |
| 43 | +## See how this recipe works across multiple open-source repositories |
| 44 | + |
| 45 | +import RecipeCallout from '@site/src/components/ModerneLink'; |
| 46 | + |
| 47 | +<RecipeCallout link="https://app.moderne.io/recipes/io.moderne.java.server.jboss.DeleteJBossDescriptors" /> |
| 48 | + |
| 49 | +The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories. |
| 50 | + |
| 51 | +Please [contact Moderne](https://moderne.io/product) for more information about safely running the recipes on your own codebase in a private SaaS. |
| 52 | +## Data Tables |
| 53 | + |
| 54 | +<Tabs groupId="data-tables"> |
| 55 | +<TabItem value="org.openrewrite.table.SourcesFileResults" label="SourcesFileResults"> |
| 56 | + |
| 57 | +### Source files that had results |
| 58 | +**org.openrewrite.table.SourcesFileResults** |
| 59 | + |
| 60 | +_Source files that were modified by the recipe run._ |
| 61 | + |
| 62 | +| Column Name | Description | |
| 63 | +| ----------- | ----------- | |
| 64 | +| Source path before the run | The source path of the file before the run. `null` when a source file was created during the run. | |
| 65 | +| Source path after the run | A recipe may modify the source path. This is the path after the run. `null` when a source file was deleted during the run. | |
| 66 | +| Parent of the recipe that made changes | In a hierarchical recipe, the parent of the recipe that made a change. Empty if this is the root of a hierarchy or if the recipe is not hierarchical at all. | |
| 67 | +| Recipe that made changes | The specific recipe that made a change. | |
| 68 | +| Estimated time saving | An estimated effort that a developer to fix manually instead of using this recipe, in unit of seconds. | |
| 69 | +| Cycle | The recipe cycle in which the change was made. | |
| 70 | + |
| 71 | +</TabItem> |
| 72 | + |
| 73 | +<TabItem value="org.openrewrite.table.SearchResults" label="SearchResults"> |
| 74 | + |
| 75 | +### Source files that had search results |
| 76 | +**org.openrewrite.table.SearchResults** |
| 77 | + |
| 78 | +_Search results that were found during the recipe run._ |
| 79 | + |
| 80 | +| Column Name | Description | |
| 81 | +| ----------- | ----------- | |
| 82 | +| Source path of search result before the run | The source path of the file with the search result markers present. | |
| 83 | +| Source path of search result after run the run | A recipe may modify the source path. This is the path after the run. `null` when a source file was deleted during the run. | |
| 84 | +| Result | The trimmed printed tree of the LST element that the marker is attached to. | |
| 85 | +| Description | The content of the description of the marker. | |
| 86 | +| Recipe that added the search marker | The specific recipe that added the Search marker. | |
| 87 | + |
| 88 | +</TabItem> |
| 89 | + |
| 90 | +<TabItem value="org.openrewrite.table.SourcesFileErrors" label="SourcesFileErrors"> |
| 91 | + |
| 92 | +### Source files that errored on a recipe |
| 93 | +**org.openrewrite.table.SourcesFileErrors** |
| 94 | + |
| 95 | +_The details of all errors produced by a recipe run._ |
| 96 | + |
| 97 | +| Column Name | Description | |
| 98 | +| ----------- | ----------- | |
| 99 | +| Source path | The file that failed to parse. | |
| 100 | +| Recipe that made changes | The specific recipe that made a change. | |
| 101 | +| Stack trace | The stack trace of the failure. | |
| 102 | + |
| 103 | +</TabItem> |
| 104 | + |
| 105 | +<TabItem value="org.openrewrite.table.RecipeRunStats" label="RecipeRunStats"> |
| 106 | + |
| 107 | +### Recipe performance |
| 108 | +**org.openrewrite.table.RecipeRunStats** |
| 109 | + |
| 110 | +_Statistics used in analyzing the performance of recipes._ |
| 111 | + |
| 112 | +| Column Name | Description | |
| 113 | +| ----------- | ----------- | |
| 114 | +| The recipe | The recipe whose stats are being measured both individually and cumulatively. | |
| 115 | +| Source file count | The number of source files the recipe ran over. | |
| 116 | +| Source file changed count | The number of source files which were changed in the recipe run. Includes files created, deleted, and edited. | |
| 117 | +| Cumulative scanning time (ns) | The total time spent across the scanning phase of this recipe. | |
| 118 | +| Max scanning time (ns) | The max time scanning any one source file. | |
| 119 | +| Cumulative edit time (ns) | The total time spent across the editing phase of this recipe. | |
| 120 | +| Max edit time (ns) | The max time editing any one source file. | |
| 121 | + |
| 122 | +</TabItem> |
| 123 | + |
| 124 | +</Tabs> |
0 commit comments