|
|
|
|
|
|
This chapter includes the following information:
ePublisher AutoMap is accessed from the command line as any Windows command line application would be. In fact, the ePublisher AutoMap command line application is called WebWorks.Automap.exe. This application is installed at the root of your ePublisher AutoMap installation. The default location is:
C:\Program Files\WebWorks\ePublisher AutoMap\WebWorks.AutoMap.exe
|
|
If you chose a different location when you installed ePublisher AutoMap, then WebWorks.Automap.exe will be installed to that location and your paths should be adjusted accordingly. |
|
|
WebWorks.Automap.exe depends on other files installed in the ePublisher AutoMap directory. You cannot move or copy WebWorks.Automap.exe independently. |
|
2. |
Type cd “cd”. |
|
3. |
Type WebWorks.AutoMap.exe and hit the Enter key. |
WebWorks ePublisher AutoMap 9.3.20098.0
Usage: WebWorks.Automap.exe [-f|--nonotify] [-s|--stagingdir directory]
[-u|--userformats directory] [-t|--target target1,target2]
[-n|--nodeploy] [-d|--deployfolder directory] [-c|--clean] [-l|--cleandeploy] [-k|--keys]
ePublisher Express project or Automap job file
The following is an example of how the ePublisher AutoMap command line application may be called:
WebWorks.AutoMap.exe -s=”c:\Jobs\Staging” –t=”WebWorks Help” “c:\Projects\MyProject.wep”
In this case, ePublisher AutoMap will run the MyProject.wep job located in c:\Projects. The staging folder is set to c:\Jobs\Staging and only the WebWorks Help target will be generated.
|
|
The command line options have both shortened and verbose formats. For example, the clean option can be specified as –c or --clean. Both mean exactly the same thing and it is possible to mix the shortened and verbose formats across the options. |
|
|
Some options require specifying additional information. For example, the staging folder option is specified as --stagingdir=directory path. The equal sign must be included without spaces on either side. |
|
|
In cases where directory paths are specified, it is recommended, but not required, to include those paths in double quotes. This is to handle any paths that may contain spaces. For example, c:\projects will work as expected; however, c:\my projects will fail. The correct format for the latter is “c:\my projects”. |
|
|
The --target option is capable of taking one or more target names. Multiple target names are separated with commas but no spaces. For example, --target=one, two, three will fail. The correct format is --target=one,two,three (no spaces). |