We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doInit() should factor in environment specific settings in order to create vertx_classpath.txt.
Suggestion: Change doInit() function to something along these lines....
def doInit() { File cpFile = new File("$projectDir/vertx_classpath.txt") if (!cpFile.exists()) { cpFile.createNewFile(); //modified for intellij build outputs String resourcesPaths = ""; sourceSets.main.getResources().getSrcDirs().each { resourcesPaths += "${it.path}\r\n" } String defaultCp = resourcesPaths+ "bin\r\n" + sourceSets.main.output.classesDir+"\r\n" + sourceSets.test.output.classesDir+"\r\n" + "build/deps\r\n"; cpFile << defaultCp; } def args = ['create-module-link', moduleName] Starter.main(args as String[]) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
doInit() should factor in environment specific settings in order to create vertx_classpath.txt.
Suggestion: Change doInit() function to something along these lines....
def doInit() {
File cpFile = new File("$projectDir/vertx_classpath.txt")
if (!cpFile.exists()) {
cpFile.createNewFile();
//modified for intellij build outputs
String resourcesPaths = "";
sourceSets.main.getResources().getSrcDirs().each {
resourcesPaths += "${it.path}\r\n"
}
String defaultCp =
resourcesPaths+
"bin\r\n" +
sourceSets.main.output.classesDir+"\r\n" +
sourceSets.test.output.classesDir+"\r\n" +
"build/deps\r\n";
cpFile << defaultCp;
}
def args = ['create-module-link', moduleName]
Starter.main(args as String[])
}
The text was updated successfully, but these errors were encountered: