PDA

View Full Version : Integrating JS Builder 2 with Aptana / Eclipse



swarm
6 May 2010, 4:10 AM
Hi,


Does anyone know of a way to integrate JS Builder with aptana / eclipse? I've been playing around with adding this as a custom builder but not having much luck.

Just wondering if anyone in the community knows how/if this can be done. If it can - it would be pretty awesome!

Thanks,


Andrew

swarm
13 Sep 2010, 4:50 AM
Just for those who want to know... which I know there will be some.

Edit: I've written a blog post which describes integrating JS Builder 3 it in much more detail here (http://www.swarmonline.com/2011/02/how-to-integrate-js-builder-3-with-eclipse-or-aptana-on-windows/).

It's actually done really easily using the "External Tools Configurations" in eclipse (for Windows) - this is the green play button with a little toolbox beside it.

Create a new one (call it something like Ext JS Builder or whatever you want) ,

In location put the location to cmd.exe

Working Directory is the location of the directory of the builder:

Arguments should look like this:




/C java -jar JSBuilder2.jar -v -p "${workspace_loc:/MyProject/builder/build.jsb2}" -d "${workspace_loc:/MyProject/}



Apply that and add the builder to the project. CTRL + B will now build your project with JS Builder.

headkit
23 Jan 2012, 3:33 AM
and for OSX?
:-(

swarm
23 Jan 2012, 3:41 AM
I've not tried with OSX actually.

I've just been using Sencha's SDK tools for Ext JS 4 and it seems to work nicely.