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.3
edited by awa
on 25.02.2022, 14:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -219,14 +219,14 @@
219 219  
220 220  {{code language="plaintext"}}https://artifactory.xima-services.de/artifactory/libs-release-local/archetype-catalog.xml{{/code}}
221 221  
222 -== Deploy plugin
222 +== Deploy-Plugin
223 223  
224 -When developing a plugin, you often need to build a new snapshot version and upload it to a running {{formcycle/}} server. To ease that process, the deploy plugin can be used to upload the plugin automatically as part of the Maven build process. It consists of two parts:
224 +Um beim Entwickeln nicht jedes Mal eine neue Plugin-Version manuell über die Oberfläche hochladen zu ssen, kann das Deploy-Plugin verwendet werden. Dieses besteht aus 2 Teilen:
225 225  
226 -* A Maven plugin, which is run at the end of the build process and sends the plugin JAR file to a running {{formcycle/}} server via HTTP.
227 -* A {{formcycle/}} plugin, which provides the endpoint that takes the plugin from the HTTP requests and installs it to {{formcycle/}}.
226 +* Ein Maven-Plugin, welches nach dem Bauen das Plugin via HTTP an einen laufenden {{formcycle/}}-Server sendet
227 +* Ein Plugin für {{formcycle/}}, welche die Gegenstelle in {{formcycle/}} bereitstellt und das Plugin aus dem HTTP-Request in {{formcycle/}} installiert.
228 228  
229 -For more details, see [[help page of the deploy plugin>>doc:Formcycle.PluginDocumentation.FormcycleDeployPluginPlugin]]. For most cases, the following configuration in the //pom.xml// is all you need to enable the deploy plugin:
229 +Weitere Details können im [[Hilfe-Artikel zum Deploy-Plugin>>doc:Formcycle.PluginDocumentation.FormcycleDeployPluginPlugin]] nachgelesen werden. Für die meisten Fälle reicht folgende Konfiguration in der //pom.xml// des Plugin-Projekts aus:
230 230  
231 231  {{code language="xml"}}
232 232   <properties>
... ... @@ -251,14 +251,15 @@
251 251   </build>
252 252  {{/code}}
253 253  
254 -Assuming the deploy plugin is installed as a system plugin of a {{formcycle/}} server, you can build and upload your plugin project as follows:
254 +Sofern das Deploy-Plugin bereits in {{formcycle/}} installiert ist, kann das Plugin-Projekt dann beim Bauen wie folgt hochgeladen werden:
255 +
255 255  {{code language="bash"}}
256 256  mvn clean install -DfcDeployUrl=http://localhost:8080/xima-formcycle -DfcDeployToken=admin
257 257  {{/code}}
258 258  
259 -If you are using Eclipse, you can also add the //fcDeployUrl// and //fcDeployToken// parameters to a launch configuration.
260 +Wird Eclipse benutzt, kann auch eine Launch-Configuration mit den //fcDeployUrl// und dem //fcDeployToken// angelegt werden.
260 260  
261 -== FC server plugin ==
262 +== FC-Server-Plugin ==
262 262  
263 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.
264 264