在 Windows 2000 中的默认位置安装 Application Server 8.2 时,如果运行 asant deploy,可能会遇到以下错误:
$ C:/Sun/JavaES5/appserver/bin/asant deploy The input line is too long. The syntax of the command is incorrect. |
此问题在于 Windows 2000 中的命令行不能超过 1000 个字符,并且根据系统配置,默认的 ANT_OPTS 环境可能导致 asant deploy 命令行过长。此问题仅针对 Windows 2000。
在 Windows 2000 上,将 Application Server 安装在较短的目录路径中,例如 C:\JES5_AS。