Running Workspace from Adobe Sources

As we have already mentioned, LiveCycle Workspace is a Flex application. Assuming that your default install root is at C:\Adobe\LiveCycle8.2, you can find its Flex project archive, adobe-workspace-src.zip, at the following location:

[root]\LiveCycle_ES_SDK\misc\Process_Management\Workspace

You can benefit greatly from these source files. First, it’s the best way to acquire knowledge of how Flex applications work with the LiveCycle API. Second, you can customize the look and feel of the Workspace, or you can completely cannibalize it, borrowing certain pieces for your business application.

In any case, the first step is to rebuild the Workspace from sources and ensure that you can run and debug it. This is also the best scenario for debugging your Flexlets as well.

To rebuild and run the Workspace from sources, you must first prepare the enterprise application archive, or EAR (this example uses JBoss). To accomplish this, you must follow these steps:

  1. Find adobe-workspace-client.ear under [root]\jboss\server\all\deploy.

  2. Expand (unzip) the file farata-workspace-client.ear as farata-workspace-client.ear into a working directory on your hard drive.

  3. Find the file application.xml inside the adobe-workspace-client.ear folder.

  4. Replace the reference to adobe-workspace-client.war with a reference to farata-workspace-client.war: <web-uri>farata-workspace-client.war</web-uri>.

  5. Replace the context root workspace with farata_workspace <context-root>farata_workspace</context-root> ...

Get Agile Enterprise Application Development with Flex now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.