If you specify a relative path, it will look up the data via the classpath you
have defined. Add /data/migrate/ to the classpath specified in your ant script
and it should work.
Nathan
From: Josef Sábl [mailto:[email protected]]
Sent: Thursday, March 05, 2009 9:29 AM
To: liquibase-user
Subject: [Liquibase-user] What file path should I use with load_data
I just configured LiquiBase. Everything works okay except the load_data.
I have my changelog in ...../data/migrate/changelog.xml
I have my CSV in ...../data/migrate/data/test.csv
But <loadData tableName="test" file="data/test.csv"> does not work and gives me
data/test.csv cannot be found error.
I am using NetBeans and run LiquiBase via Ant.
Thanks in advance.
--
Josef Sábl
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user