Peter Martin

MOST RECENT POST

*New* FlexAntTask - fails build if test suite doesn't execute

The FlexAntTask will now fail the build if there is an error executing the test suite e.g. a socket timeout. In the past the error was swallowed as the server socket runs in a separate thread - any errors are now passed back to the task and re-thrown.

Binary distribution

 

Source Distribution

 

Example Project

 

Ant Task Parameters

Attribute
Description
Required
swf The name of SWF containing the tests to execute. Yes
port The port to receive the test results on from FlexUnit. The default port is 1024. No
timeout The time in milliseconds to wait for results from FlexUnit before stopping the building process. The default is 60 seconds. You need to allow enought time for your tests to run as the socket is opended prior to the test execution. No
toDir The output directory for the test resutlts. The default is the working directory. No
haltonfailure Stop the build process if a test fails. The default is true. No
failureproperty The name of the property to set in the event of a failure. The default is 'flexunit.failed''. No
verbose Causes the flexunit tasks to print status messages. The default is false. No

Continue reading "*New* FlexAntTask - fails build if test suite doesn't execute"

Posted by pmartin at 07:07 PM | Comments (2)

July 23, 2008

Delivery of a Mission-Critical RIA for NATO

At MAX 2008 North America I will co-presenting Delivery of a Mission-Critical RIA for NATO with Mansour Raad of ESRI.

We will presenting on Tuesday @ 4:30PM in Moscone West 2011 so come along and see us.

The session will take a look at a mission critical application developed for the NATO E-3a Component to plan missions flown by their AWAC aircraft.

The MSS application has been developed using Flex 3 and LiveCycle Data Services and makes heavy use of Data Management Services, which enables users to collaborate on mission planning.

A key element of the MSS application is the world map, which allows users to visualize and work with geo-spatial data. The map has been developed using ESRI's AWX Flex API. The map is driven using managed data so a change to a geo object is immediately pushed to all users currently working with that geo object!

During the session will take an extensive look at the application and how it has been engineered using AWX and LiveCycle Data Services.

Posted by pmartin at 05:07 PM | Comments (2)

June 04, 2008

Scotch on the Rocks: Introduction to Data Mangement

Today I spoke at Scotch on the Rocks. My presentation provided an introduction to Data Management. You can download my slides from here and the demo app from here.

The demo provides 5 applications:

Main - vanilla DataMangement application - it doesn't get any simpler than this :)
Main1 - adds autoCommit="false" and revertChanges()
Main2 - adds createItem()
Main3 - adds deleteItem()
Main4 - adds conflict handling

Thanks to everyone who attended.

Posted by pmartin at 09:39 PM | Comments (0)

September 27, 2007

FlexUnit for Ant now supports Mac OS X

A big thank you to Tom Sugden who has added support for Mac OS X.

For more details on how to use FlexUnit for Ant please see my earlier blog. There is also documentation on the flexunit Ant task parameters at the end of this blog. You can download FlexUnit from Adobe Labs.

Continue reading "FlexUnit for Ant now supports Mac OS X"

Posted by pmartin at 10:45 PM | Comments (5)

MAXchalking on Client-side Data Modelling in Flex with Data Management Services

At MAX myself an Tom Sugden will be doing a "chalk-and-talk" session. The "chalking" will last for 10-20 minutes. During this time we hope to bang a few heads together to help us answer three questions we have with the design of our client-side model.

We will start by providing you with some context, not much mind you as the clock is ticking. We will quickly move to draw up our design pattern for the managed-model and talk you through the problems it solves.

Posted by pmartin at 10:10 PM | Comments (0)

AC will be lurking in the corridors of MAX

Adobe Consulting will be holding a series of "chalk and talk" sessions at MAX this year. These include:

The idea behind "chalk and talk" is to reflect what goes on in the "war room" of any project, when the developers gather around the whiteboard to discuss their ideas on how the software will be designed. I am sure these sessions will be fun and informal and gives us all the opportunity to put our ideas forward.

Posted by pmartin at 09:00 PM | Comments (1)

September 26, 2007

I am bitterly disappointed with MAX

Today I have been scheduling the sessions I want to see while I am at MAX and I am bitterly disappointed. There is so much good stuff!! It has not been easy to prioritise and I wish we had more time to see more. How about making MAX five days next year? My choices this year are leaning towards AIR, plus a few other things on the side. So here are my top picks for MAX 2007:

  • Working with Persistent Data in in Adobe Integrated Runtime (AIR)
  • Customizing the Flex Framework
  • Flex on Rails
  • Advanced LiveCycle Data Services For Developers
  • Adobe Integrated Runtime (AIR) Tips and Tricks
  • Flex Roadmap
  • Boot Camp for Adobe Integrated Runtime (AIR)
  • Building Stunning Flex Applications with Flex Builder and Creative Suite 3
  • Building Rich Internet Applications Cairngorm and LiveCycle Data Services - so good I am going to it twice
  • Adobe Integrated Runtime (AIR) Security

I will be speaking "Building Rich Internet Applications Cairngorm and LiveCycle Data Services". If you are interested in LiveCycle Data Services please make sure you also check out Jeff Vroom's talk on "Advanced LiveCycle Data Services For Developers" - I've seen his presentation and it looks good. Be warned though, Jeff is also presenting at the same time as me on the Wednesday (who did the scheduling?), so make sure you make it to his first session on the Tuesday (9:15am). Jeff is "Mr Data Services" to the point I have named a section in my presentation after him. So if you want hear some "Vroomisms" please make sure come along to both our sessions.

My final recommendation would be Steven's Webster's talk on "Design-Led Innovation: Creating Disruptive Experiences". I would go myself, but why go to Chicago to hear Steven speak when I see and hear him most days in Edinburgh (and I have heard it many times before)? Joking aside, this will be an engaging session and Steven will blend Flex, AIR and LiveCycle to show how you can deliver compelling solutions the Adobe Consulting way.

Posted by pmartin at 11:51 PM | Comments (1)

August 16, 2007

Speaking at MAX 2007 on Cairngorm "Enterprise"

I am going to be at MAX 2007 in Chicago speaking about our ideas and current thinking that is shaping the future release of Cairngorm "Enterprise". The title of my session is "Building Rich Internet Applications with Cairngorm and LiveCycle Data Services. My session is a case study on an Adobe Consulting project that has used Cairngorm "Enterprise". The session will focus on how we have used Data Management Services and take a look inside Cairngorm "Enterprise". I hope to see you there.

Alistair McLeod will be giving the same presentation in Barcelona.

Posted by pmartin at 05:57 PM | Comments (0)

May 04, 2007

SOA Single Point of Entry Anti-Pattern

Contrary to the title of my blog post, my objective here is not to play a game of buzzword bingo or to talk in three-letter acronyms (TLAs) – although we may have some fun along the way and may even invent some new TLAs.

My objective is to introduce you to an architecture we are increasingly coming across and to set out a structured argument as to why I consider this to be an anti-pattern. If you want a definition of an anti-pattern take a look at Wikipedia.

It was during a conversation with Alistair McLeod that he termed this an “SOA Single Point of Entry Anti-Pattern” so the credit or discredit must fall at Ali’s feet :)

Continue reading "SOA Single Point of Entry Anti-Pattern"

Posted by at 10:18 AM | Comments (5)

February 16, 2007

FDS Plugin V2

I am please to say V2 of my FDS Plugin is now available for download on the Flex Exchange. Thanks to all those who took the time to downloaded the BETA and for reporting the bugs you found. In particular the following bugs have been fixed:

  • The plugin will now run with Java 1.4.
  • The paths in the project are correct on Mac OS X.
  • The 'user_classes' folder is now included in the project classpath.
  • If you compile locally the Web Tools Plaform WAR export will now include the Flex generated files (e.g. *.swf) and the Flex source files if selected.

Continue reading "FDS Plugin V2"

Posted by at 09:48 AM | Comments (12)

January 17, 2007

Continuous Integration with CruiseControl + FlexUnit + XDoclet2

Last year I blogged about XDoclet2 and FlexUnit and Ant . In this entry I am going to look at setting up CruiseControl for continuous integration. I have setup my CruiseControl server on Linux so I will do my best to make sure these instruction also apply to Windows. I also used Perforce as my source control repository so I have included the extra steps that are required to get CruiseControl working with Perforce. CruiseControl supports many other repositories such as Subversion and CVS. Please refer the the CuriseControl configuration reference for more details.

Continue reading "Continuous Integration with CruiseControl + FlexUnit + XDoclet2"

Posted by at 07:34 PM | Comments (3)