Before using the wrd-config command you need to set up a workspace environment variable. For more information, see the related topic about setting up a rapid deployment environment. After you have set up your command line, you can use the following syntax and arguments to run the tool.
The free-form project ("freeform") allows you to create or drop in your J2EE artifacts (such as servlet source, JSP, static Web content, EJB classes or source files, Java™ class files, and all other generic files) into the free-form project. These resources are automatically placed in the appropriate location in the J2EE project structure.
The automatic installation project ("autoappinstall") creates a single project that listens for fully composed EAR or module files. If EAR files are placed inside this project, the EAR file is automatically deployed to the server. If the EAR file is deleted, then that application is uninstalled from the server. If you place WAR or EJB jar files in a automatic installation project, the rapid deployment tool generates the necessary EAR wrapper and then publishes that EAR file on the server. For RAR files, a wrapper is not created. The standalone RAR files are published to the server.
Optional parameters:
WRD-config.bat -project "MyProject" -style "freeform" -runtime "was60" -runtimePath "c:\WebSphere\AppServer"
WRD-config.bat -project "MyProject" -style "autoappinstall"
WRD-config.bat -project "MyProject" -style "freeform" -runtime "was60" -runtimePath "c:\WebSphere\AppServer" -configPath "c:\configData\myHeadlessConfig.xml"
WRD-config.bat -configData "c:\configData\myHeadlessConfig.xml"
WRD-config.bat -project "MyProject" -rebuild
WRD-config.bat -project "MyProject" -configure
WRD-config.bat -project "MyProject" -properties
WRD-config.bat -listStyles -listServers