launch task config commit

This commit is contained in:
geek 2017-06-22 13:43:28 +09:00
parent 19beb1b529
commit 8101c9cdbc
4 changed files with 59 additions and 1 deletions

6
.gitignore vendored
View File

@ -65,7 +65,7 @@ buildNumber.properties
# BlueJ files
*.ctxt
14
# Mobile Tools for Java (J2ME)
.mtj.tmp/
@ -83,3 +83,7 @@ hs_err_pid*
.idea/
*.iml
target/
.settings/
.classpath
.project
.vscode/settings.json

37
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,37 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Java Run",
"type": "java",
"request": "launch",
"stopOnEntry": false,
"preLaunchTask": "compile",
"jdkPath": "${env:JAVA_HOME}/bin",
"cwd": "${workspaceRoot}",
"startupClass": "com.loafle.overflow.proxy.db.DBProxy",
"sourcePath": ["${workspaceRoot}/src/main/java"],
"options": [
"-classpath",
"${workspaceRoot}/target/classes"
]
}
,
{
"name": "Java Debug Run",
"type": "java",
"request": "launch",
"stopOnEntry": true,
"preLaunchTask": "compile",
"jdkPath": "${env:JAVA_HOME}/bin",
"cwd": "${workspaceRoot}",
"startupClass": "com.loafle.overflow.proxy.db.DBProxy",
"sourcePath": ["${workspaceRoot}/src/main/java"],
"options": [
"-classpath",
"${workspaceRoot}/target/classes"
]
}
]
}

16
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,16 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "mvn",
"isShellCommand": true,
"showOutput": "always",
"suppressTaskName": true,
"tasks": [
{
"taskName": "compile",
"args": ["compile"],
"isTestCommand": true
}
]
}

View File

@ -2,6 +2,7 @@ syntax = "proto3";
option java_multiple_files = true;
option java_package = "com.loafle.overflow.db.api";
option java_generic_services = true;
message DBInput {
string targetDao = 1;