April 2009 Archives

Versioning in LiveCycle ES

| No Comments
Time to bust a myth. I'll call it LiveCycle Myth 101.1

While working on a process orchestration today in a truly team oriented setup, we were working on a single version of a process in bits and pieces. Great progress was made, happy hour came early to work today but then someone saved had an older copy of the process open on their computer...and they decided to save it........the horror....the pain......but wait, this is livecycle we are talking about....its smart...its fancy....it must have stored the previous copy we were working with in the database...it must have...

So we went ahead with our quest for the old process, tore apart the database....and found the table that contains the process orchestrations. We found our process....the jubilant team roared, the happy hour was back....and then we diffed the copy from the database with an exported copy of the process....and it went quiet in the room....it was the same process XML.

Moral of the story:
Keep a backup of the current version, LiveCycle will not save the day everyday, sometimes it takes regular good old common sense. Export a copy of your work and save it in the SVN or better yet, create a new version of the process everytime you reach a milestone. This way, the database will save each version of the process!

Share what you learn...and Happy Coding :)

Native Drag and Drop with Adobe Air

| No Comments

I came across a good article for native drag and drop support in Air apps. Thought i'd re-share it with the world :)

Native drag and drop link

Share what you learn....Happy Coding :)

Remote Debugging Using Flex Builder IDE

| No Comments

About a year ago, i came across the wonderful world of remote debugging and was surprised to find such a powerful feature within Flex Builder. I have been using it since then for every project. I have listed a step by step guide on how to configure your Flex IDE to use remote debugging.

Its important to note that if you have exported the project as a release to the remote site, this approach will not work(for the obvious release that its no longer a dev project). To use remote debugging, developers like myself just copy the contents of the bin folder and use these files for remote debugging.

Initially,I had a painful experience finding an article on Remote Debugging with Flex 3. Here's some free  advice in a few time saving steps:

1. Copy your project to a remote site (In my case: http://myDevServer:9080/myRemoteApp). You should copy the files out directly from the Bin folder of your project as mentioned above.

2. In Flex Builder 3, navigate to Run > Debug > Other... or click on that bug icon and click on other.

 

Rem-Debug0.PNG

3. In the Create, Manage and Run Configurations dialog that just opened up, either create a new configuration or keep the one that just opened up for you ( I'm assuming you were debugging the app locally on your PC before you decided to run remote debugging).

4. In the URL or Path to Launch section, uncheck the Use defaults checkbox.

 

Rem-Debug1.PNG

5. In the debug, run and profile fields, add the location of the html file hosted on the remote server( Developers tend to point these to the swf file, it doesn't work that way).
e.g., http://myDevServer:9080/myRemoteApp/index.html

 

Rem-Debug2.PNG

6. Click on the apply button,close your eyes and click the debug button to start debugging your remote application.

Share with you learn...and Happy Coding :)

Thanks to Gavin and Sarah, I was able to acquire a $5 license for confluence a few days ago. Sarah was kind enough to point out the fact that two of the super hot plugins can actually be used for free.
The installation of confluence went smoothly but when it came down to the installtion of the plugins, i kept on getting the following error:
error.JPG

After some in depth research, i found out that this error was due to the fact that MySQL has a max_allowed_packet variable that controls the maximum size of its communication buffer. To set the max_allowed_packet variable for mysql to a value of for example 16MB, you can follow one of the two options:

Option1:
Login into the MySQL Administrator >>Startup Variables >> Advanced Networking(Tab) >> Data /Memory Size >> Max Packet Size and set it to 16MB

MySQL_MAX_ALLOWED.JPG

Option 2:
Use either of the following commands:
 shell> mysql --max_allowed_packet=16777216

 shell> mysql --max_allowed_packet=16M


Happy Coding :)

Best Practices:Sync your Flex Project using Subclipse

| No Comments

I've noticed that a lot of Flex Developers aren't fimiliar with checking in their source code for the projects into the SVN (Subversion Client) through Flex Builder using Subclipse. Its really simple since Flex Builder is built on the Eclipse framework. If you are using the Eclipse Plugin it will be the same steps for you as well. Here's how you do it.

Step 1. From your Flex IDE, click on help >> Software Updates >> Find and Install

 

 

0.PNGStep 2. Select the "Search for new features to Install " option

 

1.PNG

Step 3. In the "Update sites to visit " window, click on "New Remote site " and add the following URL as show in the diagram. Once done, click on "OK" and click on finish. This should update your flex builder with Subclipse.

 

     

2.JPG

To verify your installation, Window >>  Perspective >> Other and you should see "SVN Repository Exploring " at the bottom. Click on "OK" and you should be able to see the SVN Perspective.

 

3.PNG

 

4.PNG

Go ahead and check in/ Check out your project directly to/from the SVN.

Happy Coding :)

Pages

About this Archive

This page is an archive of entries from April 2009 listed from newest to oldest.

May 2009 is the next archive.

Find recent content on the main index or look in the archives to find all content.