Sharing the Code

Programming stuff that might be useful to others

Tag: Eclipse

Adding Android’s source to Eclipse

Sometimes it would be nice to click on an Android class and be able to see the source in Eclipse. You could download the source using Git but you then have to rearrange the Java files. The following is the most straight forward way I have found.

Read more

Compiling Flash files in Ant

If you have FDT (an actionscript Eclipse plugin) you can compile your FLAs using Ant. But you first need to set the location of Flash in FDT settings by going to Window > Preferences > FDT > Tools > Flash in Eclipse and entering the location of flash.exe in the Flash IDE text box (it will probably be something like C:\Program Files\Adobe\Adobe Flash CS3\Flash.exe). This will compile the FLAs in Flash – it would probably be faster if it used a command-line compiler like the one that comes with the Flex SDK but I haven’t looked into integrating this yet.

Read more

Using Subversion in Ant

I had a bit of a problem getting SVN to work within Ant in Eclipse on a Windows machine. SvnAnt can use Java JNI to connect to some SVN DLLs but I couldn’t find where to download the DLLs. It can also use the command line version of SVN. I found the latter simpler to setup.

Read more