Hi,
* eastwoj <[EMAIL PROTECTED]> [24-03-2006 05:36]:
> 1) Running the maven tomcat:deploy goal, plugin.jelly file for
> maven-tomcat-plugin 1.2.1 does not seem to be recognizing that i've set
> maven.tomcat.deploy.mode=development. I can echo the correct value to the
> console, but the "if test" ( <j:if test="${maven.tomcat.deploy.mode ==
> 'development'}">) still fails.
I have encountered this problem too, and solved it. The tests seem to
fail because the way in which the variables are read is not correct.
Attached patch fixes this problem, at least for the tomcat:deploy and
tomcat:undeploy goals.
> 2) if i force it to pass by setting it to <j:if test="${true}">,(
> temporarily ignoring problem #1 ), i get a BUILD FAILED error,
> org/apache/tools/ant/taskdefs/Redirector
Out-of-the-box, the plugin depends on tomcat 5.5.12. I have changed
the dependencies of the plugin to depend on 5.5.15 (which you use
too), and found that I needed to add a dependency on ant. See
attached patch.
How to apply:
unjar the plugin
apply the patch(es)
rejar the plugin
You might want to use a slightly different version number, to
distinguish your modified version from the standard 1.2.1 version.
If convenient, I can supply a modified jar file, but I'm not going to
post this to the list.
Oh, by the way, I have e-mailed codeczar support about this problem,
but to no avail.. Now cc-ing the developer.
Hope this helps,
--
René Clerc - ([EMAIL PROTECTED]) - PGP: 0x9ACE0AC7
42. When I capture the hero, I will make sure I also get his dog,
monkey, ferret, or whatever sickeningly cute little animal capable
of untying ropes and filching keys happens to follow him around.
-"Peter Anspach's list of things to do as an Evil Overlord"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]