Commit 40a078fcb84abb49379eefbaa396809589c44b4c
1 parent
f843f9ac
README-Datei für IntelliJ IDEA erweitert
Showing
1 changed file
with
20 additions
and
3 deletions
README.md
| @@ -120,14 +120,31 @@ Quelle: https://tools.jboss.org/downloads/jbosstools/neon/4.4.3.Final.html | @@ -120,14 +120,31 @@ Quelle: https://tools.jboss.org/downloads/jbosstools/neon/4.4.3.Final.html | ||
| 120 | - WildFly 8.x | 120 | - WildFly 8.x |
| 121 | - Server's host name: localhost | 121 | - Server's host name: localhost |
| 122 | - Server name: WildFly 8.x beliebig wählen (Next >) | 122 | - Server name: WildFly 8.x beliebig wählen (Next >) |
| 123 | -- Create a new Server Adapter | 123 | +- "Create a new Server Adapter" |
| 124 | - The server is: Local | 124 | - The server is: Local |
| 125 | - Controlled by: Filesystem and shell Operations | 125 | - Controlled by: Filesystem and shell Operations |
| 126 | - Create new runtime (next page) (Next >) | 126 | - Create new runtime (next page) (Next >) |
| 127 | -- New Server | 127 | +- "New Server" |
| 128 | - Name WildFly 8.x Runtime | 128 | - Name WildFly 8.x Runtime |
| 129 | - Home Directory /home/<user>/wildfly-8.2.1.Final/ (oder das Verzeichnis, das Sie gewählt haben) | 129 | - Home Directory /home/<user>/wildfly-8.2.1.Final/ (oder das Verzeichnis, das Sie gewählt haben) |
| 130 | - Execution Environment: JavaSE-1.8 | 130 | - Execution Environment: JavaSE-1.8 |
| 131 | - Server base directory: standalone | 131 | - Server base directory: standalone |
| 132 | - Configuration file: standalone.xml (Next >) | 132 | - Configuration file: standalone.xml (Next >) |
| 133 | - - Add and Remove, ohne existierende Resources kann hier nichts konfiguriert werden (Finish) | 133 | + - "Add and Remove", das gewünschte Maven-Artefakt "swXercise" auswählen (Finish) |
| 134 | + | ||
| 135 | +## JBoss WildFly in IntelliJ IDEA einbinden | ||
| 136 | + | ||
| 137 | +### JBoss WildFly-Server initial bekanntmachen (nur für IntelliJ IDEA) | ||
| 138 | + | ||
| 139 | +- IDE-Menü "Run -> Edit Configurations..." | ||
| 140 | + - "Defaults -> JBoss Server -> Local" und Reiter "Server" | ||
| 141 | + - "Configure..." und einen neuen JBoss Server mittels seines JBoss Home-Verzeichnisses angeben | ||
| 142 | + | ||
| 143 | +### Run Configuration erstellen (nur für IntelliJ IDEA) | ||
| 144 | + | ||
| 145 | +- Wiederum IDE-Menü "Run -> Edit Configurations..." | ||
| 146 | + - Plus-Symbol, um eine neue WildFly-Run Configuration zu definieren | ||
| 147 | + - "JBoss Server -> Local" auswählen | ||
| 148 | + - Reiter "Server" und den zuvor bekanntgemachten JBoss-Server wählen | ||
| 149 | + - Reiter "Deployment" | ||
| 150 | + - Selected artifacts will be deployed at server startup -> das gewünschte Maven-Artefakt "swXercise" auswählen, und zwar das mit "exploded" markierte; deployt als ausgepackte Ordnerstruktur und nicht als "WAR-Datei" (vorteilhaft beim Hot-Deployment) |