dirksm / c5-db-migration

Automatically exported from code.google.com/p/c5-db-migration
0 stars 0 forks source link

<migrationsPath> without trailing directory separator throws "Error parsing migration version from migrations" #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Place an applied migration in a custom <migrationsPath>
2. Add the <migrationsPath> to the <configuration> without a trailing
directory separator: <migrationsPath>src/sql/scripts</migrationsPath>
3. Run migrate
Throws "Error parsing migration version from migrations"
4. Add trailing directory separator:
<migrationsPath>src/sql/scripts/</migrationsPath>  Works as expected.

Version 0.9.7

Original issue reported on code.google.com by jeff.max...@gmail.com on 24 Apr 2009 at 4:47

GoogleCodeExporter commented 9 years ago

Original comment by christia...@gmail.com on 31 Aug 2009 at 6:26

GoogleCodeExporter commented 9 years ago

Original comment by christia...@gmail.com on 31 Aug 2009 at 6:28

GoogleCodeExporter commented 9 years ago
Fixed in 0.9.8-rc1 (note the new groupId com.carbonfive.db-support).  Why don't 
you
give it a try and let me know if it works as expected?

Original comment by christia...@gmail.com on 1 Sep 2009 at 4:33

GoogleCodeExporter commented 9 years ago
0.9.8-rc3 is what you should try... I missed a few things.

Original comment by christia...@gmail.com on 1 Sep 2009 at 9:03