Skip to content

gpe-mw-training/windup-sample-apps

 
 

Repository files navigation

Windup 2.0

Get involved at: http://windup.jboss.org

Project Source Code Format

This project has an agreed upon source format style documented via an Eclipse code formatter profile ( https://github.com/windup/windup/blob/master/Eclipse_Code_Format_Profile.xml ). If using an alternate IDE, plugins are available to allow use of this profile (see below.) All contributions should be formatted using this profile before submission.

Installation and Usage

To install an alpha release of Windup, simply take the following steps:

  1. Configure your Maven settings to use the JBoss Nexus community repository: http://repository.jboss.org/nexus/content/groups/public/. If you are new to Maven, details on how to configure Maven can be found here: https://community.jboss.org/wiki/MavenGettingStarted-Users.

  2. Install Forge 2 from: https://github.com/forge/core#jboss-forge-20

  3. Run the forge cli or Eclipse plugin with CTRL+4

    localhost:Desktop user$ forge
        _____
       |  ___|__  _ __ __ _  ___
       | |_ / _ \| `__/ _` |/ _ \  \\
       |  _| (_) | | | (_| |  __/  //
       |_|  \___/|_|  \__, |\___|
                       |___/
    JBoss Forge, version [ 2.4.2-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]
  4. Run "addon-install" with the following parameters:

    [bin]$ addon-install --groupId org.jboss.windup.legacy.application --name legacy-windup --version 2.0.0.Alpha1
  5. Run windup-1x via forge. Example:

    run-windup-1-x --input input --output output --packages pkg --excludeBuiltinRules --supplementalRulesFolder /path/to/my/rules
    TIP

    A supplemental rules folder should contain all rules with the naming convention (*.windup.xml).

For reference, if all goes well, your terminal should look something like this:

localhost:Desktop user$ forge
    _____
   |  ___|__  _ __ __ _  ___
   | |_ / _ \| `__/ _` |/ _ \  \\
   |  _| (_) | | | (_| |  __/  //
   |_|  \___/|_|  \__, |\___|
                   |___/
JBoss Forge, version [ 2.4.2-SNAPSHOT ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]

[Desktop]$
[Desktop]$ addon-install --groupId org.jboss.windup.legacy.application --name legacy-windup --version 2.0.0.Alpha1
***SUCCESS*** Addon org.jboss.windup.legacy.application:legacy-windup,2.0.0.Alpha1 was installed successfully.
[Desktop]$
[Desktop]$
[Desktop]$ run-windup-1-x
--input  --output  --packages  --excludePackages  --fetchRemote  --sourceMode  --targetPlatform  --supplementalRulesFolder  --excludeBuiltinRules
[Desktop]$
[Desktop]$ run-windup-1-x

You can also get information on the command by typing man run-windup-1-x

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.5%
  • Other 0.5%