SublimeJavaCompiler
SublimeJavaCompiler copied to clipboard
"Generate Jar.." in complex Java project with multiple libs fails to compile in ST2
Environment: Windows 7 64 bit, Sublime Text 2.0.2 Build 2221
Steps to recreate:
Java project has the following configuration in the javac file, and the java project has multiple resources and jars.
{
"project_name" : "test",
"output_dir" : "bin",
"sources_dir" : "src",
"resources" : ["resources/*"],
"libs" : ["lib/myUtils.jar","lib/open-csv.jar","lib/config.jar","lib/jdbc4.jar"],
"entry_file" : "com/exa/bigdata/Driver.java",
"entry_point" : "com.exa.bigdata.Driver"
}
Run the "Generate jars... " command in ST2 Use: Ctrl + SHIFT+P to access Command Menu, Type in > "Generate jars".
The following results happens:
-There is no
------------Compiling project------------
in the sublime console. -Resources all copy into my Output dir fine. -Libs do not get copied so well. Only the first one in the list gets copied to the output_dir/dist/lib . -There is no output in Sublime console with any information relating to the compilation, it is just blank.
Try it now if you still interesting on this. I updated code, fix many bugs, add encoding flag and few debug texts.
Sorry for delay.
thx, i've updated