Hi all,
I was getting tired of our semi out-of-sync README.txt in the lib directory I had a need
to avoid writing version specific jar names in the eclipse plugin.
Thus i've made a small change to the build in Hibernate3:
#1 Added a version.properties which is similar to README.txt, but machine readable ;)
#2 Added a versioncheck task (versionproperty.jar) that when given a version.properties and a list files crosscheck
these and reports any mismatches found. Furthermore it generate a README.txt which is similar to the current README.txt
#3 Added a versioncheck target in build.xml . If a mismatch is found the build fails (currently only activated for "dist").
If everything goes fine a README.txt is placed in the ${dist.lib} directory.
#4 Removed README.txt since is was out of date and now redundant
Now stuff can be kept more easily in sync (i found 5 errors in the current README ;) + a build file can read
version.properties and use name such as ${dom4j.lib} instead of dom4j-1.5.jar which needs to be updated whenever
someone changes that.
I didn't spend much time looking for alternatives to this since it took me half an hour to do, so if there is better
alternatives then speak up - at least this solution does the same and more as before :)
-- -- Max Rydahl Andersen callto://max.rydahl.andersen
Hibernate [EMAIL PROTECTED] http://hibernate.org
JBoss Inc [EMAIL PROTECTED] http://jboss.com
------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel