Menu
  • HOME
  • TAGS

How to create a Simple Build Script for Visual Studio from the Command Line?

batch-file,visual-studio-2012,cmd,build-script

Found the solution, as noted by Jimmy, one needs to remove the environment variable %comspec% as that is a shortcut to CMD.exe. However, just removing "%comspec" /k will cause a CMD instance to open and then exit after a second. I also previously tried the call function which created a...

Gradle - How to run a JAR provided by buildscript

jar,gradle,build-script

JavaExec forks a new process so the script classpath is gone. You need to configure it: task x(type:JavaExec) { main = "com.ochafik.lang.jnaerator.JNAerator" classpath = buildscript.configurations.classpath } ...