# updateDatabase ant task expected the changelogfile to be in file system

**URL:** <https://forum.liquibase.org/t/updatedatabase-ant-task-expected-the-changelogfile-to-be-in-file-system/3151>\
**Category:** General Discussion\
**Created:** [December 16, 2014, 11:13pm UTC](https://forum.liquibase.org/t/updatedatabase-ant-task-expected-the-changelogfile-to-be-in-file-system/3151 "2014-12-16T23:13:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![un1416214967681r32id](https://avatars.discourse-cdn.com/v4/letter/u/a698b9/32.png) [@un1416214967681r32id](https://forum.liquibase.org/u/un1416214967681r32id)\
**Post date:** [December 16, 2014, 11:13pm UTC](https://forum.liquibase.org/t/updatedatabase-ant-task-expected-the-changelogfile-to-be-in-file-system/3151/1 "2014-12-16T23:13:00Z")

</div>

It is in a jar and in 2.0.5 it worked

---

<div class="post-metadata">

**Author:** ![varelasavela](https://avatars.discourse-cdn.com/v4/letter/v/f14d63/32.png) [@varelasavela](https://forum.liquibase.org/u/varelasavela)\
**Post date:** [December 16, 2014, 11:13pm UTC](https://forum.liquibase.org/t/updatedatabase-ant-task-expected-the-changelogfile-to-be-in-file-system/3151/2 "2014-12-16T23:13:00Z")

</div>

Hi,

I have upgraded the liquibase from 2.0.5 to 3.3.1

In the old version the Ant task “updateDatabase” took the changelogfile relatively to the classpath (in my case : META-INF/database/root.changes.xml)

Now, it is looking for the file relatively to the file system folder and it fails.

Is any way to tell to Ant task “updateDatabase” to load changelogfile relatively to the classpath?

Thx

Evgeny

---

<div class="post-metadata">

**Author:** ![viper2843](https://avatars.discourse-cdn.com/v4/letter/v/e19b73/32.png) [@viper2843](https://forum.liquibase.org/u/viper2843)\
**Post date:** [December 16, 2014, 11:13pm UTC](https://forum.liquibase.org/t/updatedatabase-ant-task-expected-the-changelogfile-to-be-in-file-system/3151/3 "2014-12-16T23:13:00Z")

</div>

All files are checked relative to the basedir of the Ant file unless they are given an absolute path. Where is the change log file located? Is it in a jar file or is it sitting in a folder in your project structure?
