div.collapsecontent{display:block;}

Express (Distributed operating systems), v8.0 > Develop and deploying applications > Rapid deployment of J2EE applications > Constructing a J2EE application from artifacts > Dropping J2EE artifacts into a free-form project > Add and deleting Web artifacts from a free-form project


Add and deleting static Web content to a free-form project

We can add or delete static Web content to or from a free-form project.


About this task

Static content maintains its directory structure. For example if /page1/index.html is placed in the free-form project, /page1/index.html iscopied into the Web module project, as a result, preserving the page1 folder in the Web module project.

Restriction: We can use the rapid deployment tools for packaging applications at J2EE 1.3 or 1.4 specification-levels. However, the rapid deployment tools do not support Java EE 5.0 (or later) nor J2EE 1.2 specification-level. For tools support of deploying Java EE 5 and later modules, you can use the monitored directory starting in WAS V8.0 release. For more details about the monitored directory, see Ways to install enterprise applications or modules and Installing enterprise application files by adding them to a monitored directory topics.


Procedure

  1. To add static Web contents to a free-form project, use your file management system to properly place your static Web content artifacts into the free-form project. The directory name of the free-form project has the same string value you had provided for the -project parameter used in the wrd-config command.
  2. The following activities occur when you drop a static Web content to a free-form project:

    1. The static Web content is mapped to the Web Content folder of the Web module project. The console output can look like this example when adding a static Web content file (called MyStatic.html) to a free-form project (called MyProject):
      [08:15:23 PM] [/MyProject/MyStatic.html] Added
      [08:15:23 PM] [/MyProject/MyStatic.html] copied to project [MyProjectWeb]
      

      Tip: To monitor the rapid deployment activity, run your rapid deployment session with console output. We can complete this by running the rapid deployment launch tool as follows:

      • wrd.bat -monitor
      • wrd.sh -monitor

    2. The application is synchronized with the server.

  3. To delete static Web contents from a free-form project, use your file management system to properly remove your static Web content artifacts from the free-form project. The directory name of the free-form project has the same string value you had provided for the -project parameter used in the wrd-config command.
  4. The following activities occur when you remove a static Web content from a free-form project:

    1. The console output can look like this example when removing a static Web content (called MyStatic.html) from a free-form project (called MyProject):
      [08:19:40 PM] [/MyProject/MyStatic.html] Deleted
      
    2. The application is synchronized with the server.


Feedback

+

Search Tips   |   Advanced Search