mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 08:48:55 +00:00
[wizard] add group and description to jettyRun
This commit is contained in:
parent
0a4f4c60a9
commit
150e743f00
3 changed files with 9 additions and 3 deletions
|
@ -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'
|
||||
}
|
||||
'''
|
||||
]
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue