[wizard] add group and description to jettyRun

This commit is contained in:
Stefan Oehme 2015-10-06 10:24:46 +02:00
parent 0a4f4c60a9
commit 150e743f00
3 changed files with 9 additions and 3 deletions

View file

@ -68,8 +68,10 @@ class WebProjectDescriptor extends ProjectDescriptor {
task jettyRun(type:JavaExec) {
dependsOn(sourceSets.main.runtimeClasspath)
classpath = sourceSets.main.runtimeClasspath.filter{it.exists()}
main = "«config.language.basePackage».web.ServerLauncher"
main = '«config.language.basePackage».web.ServerLauncher'
standardInput = System.in
group = 'run'
description = 'Starts an example Jetty server with your language'
}
'''
]

View file

@ -16,6 +16,8 @@ dependencies {
task jettyRun(type:JavaExec) {
dependsOn(sourceSets.main.runtimeClasspath)
classpath = sourceSets.main.runtimeClasspath.filter{it.exists()}
main = "org.xtext.example.mydsl.web.ServerLauncher"
main = 'org.xtext.example.mydsl.web.ServerLauncher'
standardInput = System.in
group = 'run'
description = 'Starts an example Jetty server with your language'
}

View file

@ -16,6 +16,8 @@ dependencies {
task jettyRun(type:JavaExec) {
dependsOn(sourceSets.main.runtimeClasspath)
classpath = sourceSets.main.runtimeClasspath.filter{it.exists()}
main = "org.xtext.example.mydsl.web.ServerLauncher"
main = 'org.xtext.example.mydsl.web.ServerLauncher'
standardInput = System.in
group = 'run'
description = 'Starts an example Jetty server with your language'
}