<commit_before>JBoss Server Migration Tool
=================

The JBoss Server Migration Tool is a tool that migrates JBoss Application Servers. It reads the server configurations files for a previous release of WildFly or JBoss EAP, referred to as the source server, and migrates them to this (target) server. Besides the configurations, the tool is also capable of migrating modules, deployments and other resources found in the source server.

System Requirements
------------

* [Java 8.0 (Java SDK 1.8)](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) or later

Run the Server Migration Tool
------------

1. Open a terminal and navigate to the `../bin/` directory.
2. Run the following command.

        For Linux|Mac:   ./jboss-server-migration.sh --source SOURCE_SERVER_PATH
        For Windows: jboss-server-migration.bat --source SOURCE_SERVER_PATH

    Replace `SOURCE_SERVER_PATH` with the path to previous version of the server installation that you want to migrate from, for example:  `${user.home}/jboss-eap-6.4/`

3. When you execute the command, the tool displays a list of the files to be migrated and then prompts you whether you want to continue.

        ----------------------------------------
        ----  JBoss Server Migration Tool  -----
        ----------------------------------------

        Retrieving servers...
        [org.jboss.migration.core.logger] (main) SOURCE server name: EAP, version: 6.4.0.GA.
        [org.jboss.migration.core.logger] (main) TARGET server name: JBoss EAP, version: 7.0.0.GA.
        
        ----------------------------------------------------------
        ----------------------------------------------------------
        
        Server migration starting...
        
        Migrate the source's standalone server?
        yes/no?

    Type `y` or `yes` to continue with the migration.    
4. You are presented with information and prompts similar to the following.

        [org.jboss.migration.core.task.ServerMigrationTask#3] (main) Standalone server migration starting...
        
        [org.jboss.migration.core.task.ServerMigrationTask#5] (main) Retrieving source's standalone configurations...
        [org.jboss.migration.core.task.ServerMigrationTask#5] (main) /path_to_source_server/standalone/configuration/standalone-full-ha.xml<commit_msg>[JBEAP-12154] Fix the target server name in README.md<commit_after>JBoss Server Migration Tool
=================

The JBoss Server Migration Tool is a tool that migrates JBoss Application Servers. It reads the server configurations files for a previous release of WildFly or JBoss EAP, referred to as the source server, and migrates them to this (target) server. Besides the configurations, the tool is also capable of migrating modules, deployments and other resources found in the source server.

System Requirements
------------

* [Java 8.0 (Java SDK 1.8)](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) or later

Run the Server Migration Tool
------------

1. Open a terminal and navigate to the `../bin/` directory.
2. Run the following command.

        For Linux|Mac:   ./jboss-server-migration.sh --source SOURCE_SERVER_PATH
        For Windows: jboss-server-migration.bat --source SOURCE_SERVER_PATH

    Replace `SOURCE_SERVER_PATH` with the path to previous version of the server installation that you want to migrate from, for example:  `${user.home}/jboss-eap-6.4/`

3. When you execute the command, the tool displays a list of the files to be migrated and then prompts you whether you want to continue.

        ----------------------------------------
        ----  JBoss Server Migration Tool  -----
        ----------------------------------------

        Retrieving servers...
        [org.jboss.migration.core.logger] (main) SOURCE server name: EAP, version: 6.4.0.GA.
        [org.jboss.migration.core.logger] (main) TARGET server name: JBoss EAP, version: 7.1.0.GA.
        
        ----------------------------------------------------------
        ----------------------------------------------------------
        
        Server migration starting...
        
        Migrate the source's standalone server?
        yes/no?

    Type `y` or `yes` to continue with the migration.    
4. You are presented with information and prompts similar to the following.

        [org.jboss.migration.core.task.ServerMigrationTask#3] (main) Standalone server migration starting...
        
        [org.jboss.migration.core.task.ServerMigrationTask#5] (main) Retrieving source's standalone configurations...
        [org.jboss.migration.core.task.ServerMigrationTask#5] (main) /path_to_source_server/standalone/configuration/standalone-full-ha.xml
{'fraction_non_alphanumeric': 0.17478991596638654, 'fraction_numerical': 0.012394957983193277, 'mean_word_length': 2.157161803713528, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7487652', 'n_tokens_mistral': 1293, 'n_tokens_neox': 1210, 'n_words': 444}