相关详细信息如下:
gen-list-with-flagging:
gen-list:
debug-filter-flag-check:
debug:
[pipeline] java.lang.NullPointerException
BUILD FAILED
D:\workdir\hawebs\resources\hadocs\projects\derby\trunk\build.xml:168: The follo
wing error occurred while executing this line:
D:\workdir\hawebs\resources\hadocs\projects\derby\trunk\build.xml:212: The follo
wing error occurred while executing this line:
D:\workdir\hawebs\resources\hadocs\projects\derby\trunk\DITA-OT1.5\build_preproc
ess.xml:80: java.lang.NullPointerException
Total time: 10 seconds
D:\workdir\hawebs\resources\hadocs\projects\derby\trunk>
[attach]342[/attach]
主要原因是环境变量没有被正确设置。
这时候可以进入到DITA的目录下,运行startcmd.bat命令
D:\workdir\hawebs\resources\hadocs\projects\derby\trunk>cd DITA-OT1.5
D:\workdir\hawebs\resources\hadocs\projects\derby\trunk\DITA-OT1.5>startcmd.bat
在弹出的新窗口中重新运行ant的编译命令
[attach]343[/attach]
这时候应该能收到编译成功的结果,因为DITA的环境变量已经在startcmd.bat 中被设置了。
[attach]344[/attach]