wiktor-obrebski / SublimeJavaCompiler

Java compiler package for Sublime 2 Text and Sublime 3 Text.
31 stars 12 forks source link

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

Open tnomad01 opened 11 years ago

tnomad01 commented 11 years ago

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.

wiktor-obrebski commented 10 years ago

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.

cailurus commented 10 years ago

thx, i've updated