我想讓phing與liquibase很好的工作。但是pPing給這個illustrous錯誤(我真的不能在網上找到)螞蟻失敗,liquibase路徑
Execution of target "update-database" failed for the following reason: PathElement (unknown) doesn't support the 'location' attribute.
BUILD FAILED
PathElement (unknown) doesn't support the 'location' attribute.
Total time: 0.1206 seconds
的特定命令的是:
<path id="liquibasepath">
<pathelement location="${basedir}/install/lib/liquibase.jar" />
<pathelement location="${basedir}/install/lib/jdbc-mysql.jar" />
</path>
我試着在網上搜索,但沒有使用phing沒有良好的文檔與liquibase。而這個錯誤並沒有帶來體面的結果。
乍一看,這似乎是運行liquibase ANT任務的ANT問題。你使用的是什麼版本的ANT? (我猜測它是ANT 1.6.5,現在已經很老了)。也許你可以用「更新數據庫」目標邏輯來更新你的問題,這樣你的問題就可以被重現。 –