58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build Plugin to Development Server",
|
|
"type": "java (buildArtifact)",
|
|
"targetPath": "${workspaceFolder}/devserver/plugins/${workspaceFolderBasename}.jar",
|
|
"elements": [
|
|
"${compileOutput}",
|
|
"${dependencies}"
|
|
],
|
|
"problemMatcher": [],
|
|
},
|
|
{
|
|
"label": "Install Development Server",
|
|
"type": "shell",
|
|
"command": "${workspaceFolder}/buildtools/install.sh",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/buildtools"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Start Development Server",
|
|
"type": "shell",
|
|
"isBackground": true,
|
|
"command": "${workspaceFolder}/devserver/start.sh",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/devserver"
|
|
},
|
|
"dependsOn": [
|
|
"Build Plugin to Development Server",
|
|
],
|
|
"problemMatcher": [
|
|
{
|
|
"source": "Spigot Server",
|
|
"fileLocation": [
|
|
"autoDetect",
|
|
"${workspaceFolder}/src"
|
|
],
|
|
"pattern": [
|
|
{
|
|
"regexp": "^\\[\\d\\d:\\d\\d:\\d\\d\\] \\[[\\w\\s]+\/(\\w+)\\]: ([\\w \".()?]+\n[\\w \".()?:]+)$",
|
|
"severity": 1,
|
|
"message": 2
|
|
},
|
|
{
|
|
"regexp": "^\\s+at ([\\w.$]+)\\((\\w+\\.java):(\\d+)\\) ~\\[.+:.+\\]$",
|
|
"file": 2,
|
|
"line": 3,
|
|
"loop": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
} |