Showing posts with label portableapps. Show all posts
Showing posts with label portableapps. Show all posts

Tuesday, August 28, 2012

Portable Apps for Development

I am a fan of the portableapps system and have been for several years.  I have begun to mess around with web development, adobe air, and android development. I have several portable apps that I use for this.

1) Eclipse Portable - Java, Adobe Air, HTML IDE. Not the latest version but certainly adequate for some of the development I am doing.

2) Mozilla Firefox Portable - This is the browser that I use to preview HTML coding.

3) Inkscape Portable - Open source SVG graphics editor. Useful for logos.

4) IcoFX Portable - an icon creation/editing tool.

5) ColorPic - Get the color codes for any pixel on your screen.

6) FotoGrafix Portable - an image editor. Useful for combing images, resizing images, and touchups.

I find these apps quite helpful in my daily development work.

Thursday, August 16, 2012

Building and deploying AIR apps in Eclipse using HTML and Javascript

Here is the setup I use for developing, building, and deploying Adobe air apps in Eclipse. I have the following installed on a USB drive:

1) Eclipse portable: Eclipse SDK Version: 3.7.2
2) Adobe AIR SDK

I create my project as a General project. Here is the structure I use:

ProjectName
    image File Folder
    cSS File Folder
    inc File Folder - javascripts
    ProjectName.html (pseudo Index.html)
    ProjectName-app.xml 
    page1.html
    page2.html

The must follow items are in red. The other items can really be named whatever you like. To use my external run configurations the project structure has to have the items in red above. The advantage to following this structure is I do not have to create a new external run config for each new project. Here's a "Hello World" project structure to illustrate the above.


 When I am ready to test the app in AIR I use the following external run configuration:

Before running this configuration, you must select the ProjectName-app.xml file.

When I want to generate a certificate I use the following run configuration:




The certificate file cert.p12 will be in the base workspace directory.

To build the project as an AIR app for windows, I use the following run configuration:



Once again, before running this configuration, you must select the ProjectName-app.xml file.

When using these external run configurations, the most frequent error is caused by not selecting the  ProjectName-app.xml file first.

Thursday, August 2, 2012

Going Portable with Eclipse IDE

Recently, I had the urge to do some HTML coding for a new website. Having used Eclipse before as an HTML editor, I decided to go that route again. I installed Eclipse Indigo on my desktop and then installed the Aptana Studio 3 plugin. This is cool. Next, I realized I would like to have the HTML development in a portable app. I've been a fan of www.portableapps.com for some time. They didn't have one listed, but a google search gave this version of Eclipse portable. I loaded this on my USB drive with no pproblem. Next, I tried to add the Aptana Studio3 plugin. I tried the "update site" way first and I coould never get it to load completely. Next, I tried to load a downloaded version. This didn't work either. So I gave up on Aptana Studio 3 and looked for alternatives. What I found was the web page editor plugin. This provides a decent html editor and you can test the code in an external browser. Now I have a development system which totally resides on my USB drive allowing me to take it with me to work and play. The disadvantage of the web editor plugin over the Aptana plugin is that the web editor plugin doesn't support ftp. I haven't arrived at the point where I need this yet. I'll let you know the solution when I do.

Addendum 7 Sept 2012: One issue you might have using the external run configurations is that the usb drive with eclipse may have different drive letter for different computers. To solve this difference between my home and office computer I changed the drive letter of the usb drive to Q: for both computers. Then all my run configs reference Q: and they work on both computers.