DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9615>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9615 cannot run "ant test.all" after building struts Summary: cannot run "ant test.all" after building struts Product: Struts Version: Nightly Build Platform: Other OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Test AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi, I'm writing an application using struts, and I'm trying to write a test case for a potential bug in the nested:define tag that would be in the current main line of code. I can build the binaries from the cvs repository but unfortunately, I cannot get the tests to run: - First, there is an inconsistency in the use of cactus which I was able to resolve: The build-test.xml refers to an older release (probably commons-cactus-23-1.1): <taskdef name="runservertests" classname="org.apache.commons.cactus.ant.RunServerTestsTask"> .... While the code refers to a newer release (probably jakarta-cactus-23-1.2). - Second, I get compilation errors: init: prepare.test: compile.test: [javac] Compiling 7 source files to /home/jlh/brt/struts/jakarta-struts/target/test/classes [javac] /home/jlh/brt/struts/jakarta-struts/src/test/org/apache/struts/action/TestActionServlet.java:110: cannot resolve symbol [javac] symbol : method initApplication () [javac] location: class org.apache.struts.action.ActionServlet [javac] servlet.initApplication(); [javac] ^ [javac] /home/jlh/brt/struts/jakarta-struts/src/test/org/apache/struts/action/TestActionServlet.java:130: cannot resolve symbol [javac] symbol : method initApplication () [javac] location: class org.apache.struts.action.ActionServlet [javac] servlet.initApplication(); [javac] ^ [javac] /home/jlh/brt/struts/jakarta-struts/src/test/org/apache/struts/action/TestActionServlet.java:132: cannot resolve symbol [javac] symbol : variable application [javac] location: class org.apache.struts.action.ActionServlet [javac] assert(servlet.application != null); [javac] ^ [javac] /home/jlh/brt/struts/jakarta-struts/src/test/org/apache/struts/action/TestActionServlet.java:133: cannot resolve symbol [javac] symbol : variable application [javac] location: class org.apache.struts.action.ActionServlet [javac] assert(servlet.application.getReturnNull() == true); [javac] ^ [javac] /home/jlh/brt/struts/jakarta-struts/src/test/org/apache/struts/action/TestActionServlet.java:136: cannot resolve symbol [javac] symbol : variable application [javac] location: class org.apache.struts.action.ActionServlet [javac] assertEquals(servlet.application, config.getServletContext().getAttribute(Action.MESSAGES_KEY)); [javac] ^ [javac] /home/jlh/brt/struts/jakarta-struts/src/test/org/apache/struts/config/TestApplicationConfig.java:110: cannot resolve symbol [javac] symbol : constructor ApplicationConfig (java.lang.String,<null>) [javac] location: class org.apache.struts.config.ApplicationConfig [javac] config = new ApplicationConfig("", null); [javac] ^ [javac] /home/jlh/brt/struts/jakarta-struts/src/test/org/apache/struts/config/TestApplicationConfig.java:175: cannot resolve symbol [javac] symbol : method getDescription () [javac] location: class org.apache.struts.config.DataSourceConfig [javac] dsc.getDescription()); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 7 errors BUILD FAILED /home/jlh/brt/struts/jakarta-struts/build-tests.xml:128: Compile failed; see the compiler error output for details. If I'm missing information, let me know where I should look. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>