You 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.
Procedure
- 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.
- The following activities occur when you drop a static Web
content to a free-form project:
- 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: If you want to monitor the
rapid deployment activity, run your rapid deployment session with
console output. You can complete this by running the rapid deployment
launch tool as follows:
wrd.bat -monitor
wrd.sh -monitor
- The application is synchronized with the server.
- 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.
- The following activities occur when you remove a static
Web content from a free-form project:
- 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
- The application is synchronized with the server.