Sharing Large Applications without Rebuilding the AppXRay Database

If you have a shared project that takes a very long time to build (more than 15 minutes), you can build the AppXRay database on a single machine and then share it with other users. This technique should only be used for very large projects. There are two ways to do this:

If both users have a copy of the project files, with AppXRay disabled:

  1. The first user enables AppXRay (right click on the project and choose Enable AppXRay) and allows AppXRay to build its database. The AppXRay status will be displayed by the project name in the AppXplorer view, and you must wait til the build completes and no more status messages are displayed.
  2. The first user then copies the following folder from their workspace folder :

    .metadata/.plugins/com.m7.nitrox/<project>/ArtifactDb

    to the second user's project folder.

  3. The second user then enables AppXRay (right click on the project and choose Enable AppXRay).

If the second user does not have a copy of the project files:

  1. From the operating system, the first user copies the project folder to a new shared folder.
  2. From the operating system, the first user copies the following folder from their workspace folder :

    .metadata/.plugins/com.m7.nitrox/<project>/ArtifactDb

    to the new shared folder.

  3. From the operating system, in the new shared folder, the first user deletes the file
  4. .settings/com.bea.workshopstudio

  5. The second user opens Workshop and chooses New > Dynamic Web Project From Existing Source. For the project source, the second user specifies the new shared folder created by the first user.
  6. The new project will be created with the files from the new shared folder, AppXRay will be enabled, and the AppXRay database will not need to be rebuilt. The ArtifactDb folder will not be copied to the new project, but instead will be installed into the workspace metadata folder automatically.

Note that this feature only works if BOTH users have version 3.2 installed. This feature does not work with previous versions.


Still need help? Post a question on the Workshop newsgroup.