diff --git a/plug-ins/index.html b/plug-ins/index.html index 5c0c1ee..9ec04e0 100644 --- a/plug-ins/index.html +++ b/plug-ins/index.html @@ -106,7 +106,32 @@ Once you have at least one project configured, the plug-in lets you invoke the f
Clean the project
-

Packaging

+

Application

+

+ The "application" plug-in lets you run your application directly from kobaltw. You configure + it as follows: +

+
+application {
+    mainClass = "com.beust.kobalt.wrapper.Main"
+    jvmArgs("-Djava.library.path=libs", "-Ddebug=true")
+}
+
+

+ And you launch you app with "run": +

+
+./kobaltw run
+
+

Here's the list of configuration parameters for the application directive:

+
+
mainClass
+
The class in your code that contains the main function.
+
jvmArgs
+
Arguments to pass to the JVM.
+
+ +

Packaging

The Packaging plug-in lets you generate various archives for your project: jar, war and zip files, each of them defining a directive by the same name inside the assemble directive: