This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def configPath = "H:\\fc\\config" | |
/** | |
* copy spring config file from subprojects to direct path(configPath) | |
*/ | |
task collectConfigFiles() { | |
def path = new File(configPath) | |
path.deleteDir() | |
path.mkdirs() | |
project.subprojects.findAll { it.subprojects.isEmpty() }.each({ p -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.java.hxhua01; | |
public class TestMethod { | |
public static void main(String[] args) { | |
test01(1000); | |
test02(100, 6, 3);//1-100之間,可以被6整除,每行輸出3個 | |
System.out.println("****************"); | |
int s = add(3, 5); | |
System.out.println(s); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com; | |
public class Hello { | |
public static void main(String[] args) { | |
System.out.println("hello world"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cn.com.hxiao.test; | |
/** | |
* Created by hxiao on 2014/3/29. | |
*/ | |
public class FirstDemo { | |
private String name; | |
public int getAge() { |