[ANN] svc-script-velocity
Aleksandar Vidakovic <[email protected]> Fri, 10 Jun 2005 01:44:51 +0200
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <1118360691.11099.14.camel@popper> |
Salut all,
just wanted to inform you that version 2.0 of svc-script-velocity is
available in CVS HEAD. This release contains following changes:
- move from scratchpad to HEAD
- fixed project structure for maven build system
- fixed unit tests
- fixed a runtime property issue
As far as I could verify it with the included (basic) unit test the
service works.
There is one issue which is not directly related to this service: with
the current version of the keel maven plugin it is not possible to run
the unit tests, because the test templates are not included in the
uberjar. In my local installation I modified
org.keel.tools.config.KeelUberJar and added following lines (beginning
from line 215):
[code]
if (name.endsWith(".vm")) {
System.out.println(" * * * * * * * * including " + name);
return false;
}
[/code]
With this change velocity templates are included in the uberjar and the
unit test works. Didn't check this in, because I don't know if this is
wanted. There is a similar problem with ehcache expecting an
ehcache-failsafe.xml at the root of uberjar (comments?).
Even though, the unit test class shows how to use this service. For more
information about velocity look at http://jakarta.apache.org/velocity.
If you have any problems please report them to me.
Cheers,
Aleks
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com