SublimeJavaCompiler icon indicating copy to clipboard operation
SublimeJavaCompiler copied to clipboard

"Generate Jar.." in complex Java project with multiple libs fails to compile in ST2

Open tnomad01 opened this issue 11 years ago • 2 comments

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.

tnomad01 avatar Oct 10 '13 09:10 tnomad01

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.

wiktor-obrebski avatar Dec 20 '13 17:12 wiktor-obrebski

thx, i've updated

cailurus avatar Dec 26 '13 12:12 cailurus