0
我們正在使用下面的一段ant build文件來恢復oracle轉儲。oracle'imp'實用程序返回結果代碼3
<exec executable="imp" failonerror="true">
<arg line="system/passwordOfSystem" fromuser="myuser" touser="myuser" file="path_to_dump_file"/>
</exec>
當這個得到執行它沒有給出下面的結果。
[exec] About to enable constraints...
[exec] Import terminated successfully with warnings.
BUILD FAILED
build.xml:: The following error occurred while executing this line:
build.xml:: The following error occurred while executing this line:
build.xml:: exec returned: 3
我知道設置failonerror =「false」會擺脫這個問題。但不想這樣做,因爲這意味着它永遠不會失敗(即使轉儲損壞)。任何想法這個結果代碼是什麼意思?
什麼是警告?有一個選項來抑制一些.. ignore = y – Jayan