Changes for page Plugin-Entwicklung


From version 1.4
edited by awa
on 25.02.2022, 15:03
Change comment: There is no comment for this version
To version 1.5
edited by awa
on 25.02.2022, 15:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -260,15 +260,15 @@
260 260  
261 261  == FC server plugin ==
262 262  
263 -Zum Testen eines Plugins ist es erforderlich, einen laufenden {{formcycle/}}-Server zu haben. Zur Vereinfachung der Entwicklung gibt es das //fc-server-maven-plugin//, welches mittels eines einzigen Befehls ein fertig eingerichtetes {{formcycle/}} lokal startet, wo auch bereits das Deploy-Plugin vorinstalliert ist.
263 +To test a plugin, you will need a running {{formcycle/}} server. The //fc-server-maven-plugin// can be used to start a fully configured {{formcycle/}} server with just a single command. It also comes with the deploy plugin preinstalled.
264 264  
265 -Sofern wie oben beschrieben in //~~/.m2/settings.xml// die //pluginGroup// hinterlegt wurde, kann in einem beliebiegen Verzeichnis wie folgt ein {{formcycle/}}-Server per Maven gestartet werden:
265 +If you added the //pluginGroup// to the //~~/.m2/settings.xml// as described above, you can start a {{formcycle/}} server with the following CLI command:
266 266  
267 267  {{code language="bash"}}
268 268  mvn fc-server:run-ms-war -DxfcVersion=7.0.10
269 269  {{/code}}
270 270  
271 -Nach kurzer Wartezeit (beim ersten Mal kann es länger dauern) ist dann ein {{formcycle/}}-Server gestartet. Die URL steht am Ende in der Kommandozeile, standardmäßig http://localhost:8080/xima-formcycle
271 +After a short amount of time (may take longer when you start it for the first time), you have a local {{formcycle/}} server running. The URL is printed in the command line, and should be http://localhost:8080/xima-formcycle by default.
272 272  
273 -Dies funktioniert auch in einem Ordner ohne Maven-Projekt. Falls keine {{formcycle/}} angegeben ist, wird eine Standard-Version genommen. Wird der Befehl innerhalb eines Plugin-Maven-Projekts ausgeführt, wird versucht, die Version von {{formcycle/}} aus dem Plugin-Projekt auszulesen.
273 +This command works even in a directory without a Maven project. When no {{formcycle/}} version is given, a default one is used. When you run the command in the root folder of a Maven project, the FC server Maven plugin tries to read the {{formcycle/}} version from the plugin.
274 274