Comments (4)
Hi Kevin,
I don't have that problem on my machine. (I always run
http://code.google.com/p/dbdeploy/source/browse/trunk/validate_distribution_exam
ples.
sh before commit, which runs all the tests and checks the example ant file in
the
produced zip file works ok.)
What operating system are you using? What maven version? What java version?
(I use 64 bit fedora 11; maven 2.2.1; and sun java 1.6_something.)
I suspect the problem comes down to you using an older version of maven, and
the
resources plugin is incorrectly subtituting ${script.id} in the .ftl.
I've been bad and not locked down the versions of plugins used - if you confirm
what
version of maven you're using I'll ensure the right plugin is locked down.
Thanks
Original comment by [email protected]
on 13 Oct 2009 at 9:08
- Changed state: Accepted
from dbdeploy.
Actually, thinking about it a bit more, it's very silly that I've enabled
resource
filtering on src/main/resources - this was only to get the pom version into
welcome.txt so it can be displayed on startup.
Should just use getClass().getPackage().getImplementationVersion() instead.
Original comment by [email protected]
on 13 Oct 2009 at 9:15
- Added labels: Milestone-Release3.0M2, Priority-Critical
- Removed labels: Priority-Medium
from dbdeploy.
Hi Graham,
Thanks for the pointer. It looks to be a Maven issue. I'm using Maven 2.2.1 at
home
and it builds fine. At work I'm using 2.0.9, so I downloaded it at home to give
it a try.
With 2.0.9, the build has test failures and the generated delta script has the
same
problem reported in this issue. With Maven 2.0.10 and 2.2.1 (the only other two
I
have tried) it works fine.
Thanks for looking into it.
Original comment by [email protected]
on 13 Oct 2009 at 9:34
from dbdeploy.
Fixed in r127
Original comment by [email protected]
on 18 Oct 2009 at 6:58
- Changed state: Done
from dbdeploy.
Related Issues (20)
- Failed to apply change script to create oracle function
- Check for modified scripts HOT 1
- Issue when calling Oracle functions and Procedure
- No easy way to handle multi-line strings HOT 1
- initial sentences
- Standard comments style doesn't work for mysql
- UNDO is not working - does it need to be run manually?
- How to use dbdeploy ? I have configured HOT 1
- how I can do next when i use dbdeploy by maven dbdeploy plugin? Hope get your help?
- User selectable filename patterns HOT 1
- Optionally include a script to run after all deltas have been applied
- dbdeploy:change-script does not work with default scriptdirectory HOT 2
- update mysql changelog script
- Generated apply script should automatically rollback on errors
- How to keep script format?
- Support includes/excludes patterns for scripts
- Support encrypted database password in the maven plugin HOT 2
- ORA-00911: invalid character executing update script HOT 1
- fails to run statement with -- embedded in string
- Does dbdeploy support ParAccel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbdeploy.