Home Download Buy Blog Forum Support

Is this doable? (Java, build paths)

Is this doable? (Java, build paths)

Postby PLoppz on Tue Mar 12, 2013 11:15 pm

Hey!
I'd really like to start developing in Java, without using those heavy IDEs with lots of stuff. So I grabbed Sublime Text 2, my favourite IDE/text editor and found a way to compile and run Java code by googling around (http://www.ryanburch.me/sublime-text-2- ... java-code/).
Works perfectly when not using libraries, but if I want to use a library then of course I need an option to add build paths of the current project. Is there any way to do this? That would be truly awesome. I would be very happy to continue using Sublime Text 2!

Thanks advance!
PLoppz
 
Posts: 2
Joined: Tue Mar 12, 2013 11:07 pm

Re: Is this doable? (Java, build paths)

Postby justinfoote on Thu Mar 28, 2013 6:18 am

If I were you, I'd check out ANT. IMO, you'll get a lot more mileage out of configuring your project to use it than you will getting it to work in your text editor. Especially if you're working on this code with anyone using a different editor.

Also, you can hook ANT into sublime pretty easily with your own extension.
I have mine set to run the command ["ant", "clean", "compile"], where clean and compile are targets I've set up in my ANT build script.
justinfoote
 
Posts: 4
Joined: Mon Feb 25, 2013 6:55 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 20 guests