You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Laurie Harper <la...@holoweb.net> on 2005/11/17 22:45:15 UTC
taglib build broken?
I'm not sure if this is something I'm doing wrong or a problem in the
code; I confirmed via 'maven --debug java:compile' that the right
Commons Validator jar (1.2.0) is being used but I'm getting a compile
error. Is this something that was missed in the upgrade to validator
1.2.0 maybe?
$ maven java:compile
...
[javac] Compiling 85 source files to ...
/Users/laurie/src/local/jakarta-struts/taglib/src/java/org/apache/struts/taglib/html/JavascriptValidatorTag.java:508:
cannot find symbol
symbol : method
getVarValue(org.apache.commons.validator.Var,javax.servlet.ServletContext,javax.servlet.http.HttpServletRequest,boolean)
location: class org.apache.struts.validator.Resources
String varValue = Resources.getVarValue(var,
application, request, false);
^
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
BUILD FAILED
File...... /Users/laurie/.maven/cache/maven-java-plugin-1.4/plugin.jelly
Element... ant:javac
Line...... 53
Column.... 48
Compile failed; see the compiler error output for details.
Total time: 24 seconds
Finished at: Thu Nov 17 16:42:18 EST 2005
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: taglib build broken?
Posted by Laurie Harper <la...@holoweb.net>.
Wendy Smoak wrote:
> On 11/17/05, Laurie Harper <la...@holoweb.net> wrote:
>>Hmm. The class it's failing to find a method on is s Commons Validator
>>class though, isn't it? At any rate, I've tried 'maven clean
>>java:compile jar' in core/ (as well as 'maven multiproject:clean' in
>>build/) and I still get the failure compiling in taglibs/.
>
> What about 'maven jar:install' ? Unless you get it into your local
> repository, taglib will still be looking at an old version.
Grr, I new it'd be some daft mavenism ;-) Thanks Wendy, that got it.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: taglib build broken?
Posted by Wendy Smoak <ws...@gmail.com>.
On 11/17/05, Laurie Harper <la...@holoweb.net> wrote:
> Hmm. The class it's failing to find a method on is s Commons Validator
> class though, isn't it? At any rate, I've tried 'maven clean
> java:compile jar' in core/ (as well as 'maven multiproject:clean' in
> build/) and I still get the failure compiling in taglibs/.
What about 'maven jar:install' ? Unless you get it into your local
repository, taglib will still be looking at an old version.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: taglib build broken?
Posted by Laurie Harper <la...@holoweb.net>.
Wendy Smoak wrote:
> On 11/17/05, Laurie Harper <la...@holoweb.net> wrote:
>
>>I'm not sure if this is something I'm doing wrong or a problem in the
>>code; I confirmed via 'maven --debug java:compile' that the right
>>Commons Validator jar (1.2.0) is being used but I'm getting a compile
>>error. Is this something that was missed in the upgrade to validator
>>1.2.0 maybe?
>
> It's building fine here... taglib depends on core, so you might want
> to re-build the core .jar file if you haven't done that recently.
> I've run into that sort of thing before.
Hmm. The class it's failing to find a method on is s Commons Validator
class though, isn't it? At any rate, I've tried 'maven clean
java:compile jar' in core/ (as well as 'maven multiproject:clean' in
build/) and I still get the failure compiling in taglibs/.
If it's working for you, I must have something out-of-sync locally. I'll
try a fresh checkout and/or deleting my ~/.maven.
Thanks,
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: taglib build broken?
Posted by Wendy Smoak <ws...@gmail.com>.
On 11/17/05, Laurie Harper <la...@holoweb.net> wrote:
> I'm not sure if this is something I'm doing wrong or a problem in the
> code; I confirmed via 'maven --debug java:compile' that the right
> Commons Validator jar (1.2.0) is being used but I'm getting a compile
> error. Is this something that was missed in the upgrade to validator
> 1.2.0 maybe?
It's building fine here... taglib depends on core, so you might want
to re-build the core .jar file if you haven't done that recently.
I've run into that sort of thing before.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org