Skip to content

Commit e050314

Browse files
committed
Added functions to maven functions file
1 parent cf3eb95 commit e050314

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

EasyKey.maven/ezk-maven-functions.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
#!/bin/bash
22

3+
enableLogging() {
4+
echo "SQL:"
5+
echo "logging:"
6+
echo " level:"
7+
echo " org: "
8+
echo " springframework: "
9+
echo " test: "
10+
echo " context:"
11+
echo " jdbc: DEBUG"
12+
echo " jdbc:"
13+
echo " datasource:"
14+
echo " init: DEBUG"
15+
echo "Autoconfig:"
16+
echo "logging.level.org.springframework=DEBUG"
17+
echo "logging.level.com.myapp=DEBUG"
18+
}
19+
20+
showProperties() {
21+
selectItem "find ./src -type f -name 'application*.*'" "awk '{print \$1}'"
22+
if [[ $fname == "" ]]; then return 0; fi
23+
vim "$fname"
24+
}
25+
326
mvnCleanEclipse(){
427
mvn clean:clean
528
mvn eclipse:clean

EasyKey.maven/maven.sh

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,6 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
88
source "$script_dir/../shellmenu.sh"
99
source "$script_dir/ezk-maven-functions.sh"
1010

11-
enableLogging() {
12-
echo "SQL:"
13-
echo "logging:"
14-
echo " level:"
15-
echo " org: "
16-
echo " springframework: "
17-
echo " test: "
18-
echo " context:"
19-
echo " jdbc: DEBUG"
20-
echo " jdbc:"
21-
echo " datasource:"
22-
echo " init: DEBUG"
23-
echo "Autoconfig:"
24-
echo "logging.level.org.springframework=DEBUG"
25-
echo "logging.level.com.myapp=DEBUG"
26-
}
27-
28-
showProperties() {
29-
selectItem "find ./src -type f -name 'application*.*'" "awk '{print \$1}'"
30-
if [[ $fname == "" ]]; then return 0; fi
31-
vim "$fname"
32-
}
33-
3411
menuInit "Super MAVEN Home"
3512
submenuHead "Maven:"
3613
menuItemClm a "Clean all eclipse" "mvnCleanEclipse" b "Maven analyze dependencies" "mvn dependency:analyze"

0 commit comments

Comments
 (0)