You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Frank W. Zammetti" <fz...@omnytex.com> on 2005/08/02 07:28:07 UTC
Maven build issues
Hi all,
I finally got around to getting Struts 1.3 to build for me, and I'm
seeing some exceptions during the build (although it completes
successfully). It actually looks like the following snippet runs twice,
which I think I saw somewhere is a known issue with JUnit tests and
Maven? Here's the snippet, if anyone can tell me whether this is
expected and can be ignored or I need to do something to resolve it,
that'd be great...
test:test-resources:
Copying 9 files to
C:\Temp\etc\..\etc\target\test-classes\org\apache\struts\reso
urces
Copying 4 files to C:\Temp\etc\..\etc\target\test-classes
test:compile:
[javac] Compiling 21 source files to C:\Temp\etc\target\test-classes
Note:
C:\Temp\etc\src\test\org\apache\struts\config\TestActionConfigMatcher.java
uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
test:test:
[junit] Running org.apache.struts.action.TestActionMessage
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
[junit] Running org.apache.struts.action.TestActionMessages
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.094 sec
[junit] Running org.apache.struts.action.TestActionRedirect
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.188 sec
[junit] Running org.apache.struts.action.TestActionServlet
Missing type value for noTypeForm form bean
Missing type value for name form property
Unable to create an instance of
org.apache.struts.action.TestActionServlet$Custo
mFormBeanConfigArg
java.lang.InstantiationException:
org.apache.struts.action.TestActionServlet$Cus
tomFormBeanConfigArg
at java.lang.Class.newInstance0(Class.java:293)
at java.lang.Class.newInstance(Class.java:261)
at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.
java:177)
at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.
java:152)
at
org.apache.struts.action.ActionServlet.processFormBeanConfigClass(Act
ionServlet.java:1061)
at
org.apache.struts.action.TestActionServlet.testProcessFormBeanConfigC
lassError(TestActionServlet.java:455)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUni
tTestRunner.java:325)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JU
nitTask.java:848)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
ask.java:556)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
ask.java:532)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:36
8)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Missing key value for java.lang.NullPointerException global exception config
Unable to create an instance of
org.apache.struts.action.TestActionServlet$Custo
mExceptionConfigArg
java.lang.InstantiationException:
org.apache.struts.action.TestActionServlet$Cus
tomExceptionConfigArg
at java.lang.Class.newInstance0(Class.java:293)
at java.lang.Class.newInstance(Class.java:261)
at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.
java:177)
at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.
java:152)
at
org.apache.struts.action.ActionServlet.processExceptionConfigClass(Ac
tionServlet.java:1327)
at
org.apache.struts.action.TestActionServlet.testProcessExceptionConfig
ClassError(TestActionServlet.java:679)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUni
tTestRunner.java:325)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JU
nitTask.java:848)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
ask.java:556)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
ask.java:532)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:36
8)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Missing path value for success global forward
Unable to create an instance of
org.apache.struts.action.TestActionServlet$Custo
mForwardConfigArg
java.lang.InstantiationException:
org.apache.struts.action.TestActionServlet$Cus
tomForwardConfigArg
at java.lang.Class.newInstance0(Class.java:293)
at java.lang.Class.newInstance(Class.java:261)
at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.
java:177)
at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.
java:152)
at
org.apache.struts.action.ActionServlet.processForwardConfigClass(Acti
onServlet.java:1196)
at
org.apache.struts.action.TestActionServlet.testProcessForwardConfigCl
assError(TestActionServlet.java:899)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUni
tTestRunner.java:325)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JU
nitTask.java:848)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
ask.java:556)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
ask.java:532)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:36
8)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Unable to create an instance of
org.apache.struts.action.TestActionServlet$Custo
mActionConfigArg
java.lang.InstantiationException:
org.apache.struts.action.TestActionServlet$Cus
tomActionConfigArg
at java.lang.Class.newInstance0(Class.java:293)
at java.lang.Class.newInstance(Class.java:261)
at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.
java:177)
at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.
java:152)
at
org.apache.struts.action.ActionServlet.processActionConfigClass(Actio
nServlet.java:1477)
at
org.apache.struts.action.TestActionServlet.testProcessActionConfigCla
ssError(TestActionServlet.java:1103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUni
tTestRunner.java:325)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JU
nitTask.java:848)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
ask.java:556)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitT
ask.java:532)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:36
8)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
g.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
mAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
[junit] Tests run: 34, Failures: 0, Errors: 0, Time elapsed: 0.579 sec
[junit] Running org.apache.struts.action.TestDynaActionForm
[junit] Tests run: 44, Failures: 0, Errors: 0, Time elapsed: 0.234 sec
[junit] Running org.apache.struts.action.TestDynaActionFormClass
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
[junit] Running
org.apache.struts.chain.commands.generic.TestCopyFormToConte
xt
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.422 sec
[junit] Running
org.apache.struts.chain.commands.generic.TestWrappingLookupC
ommand
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.11 sec
[junit] Running
org.apache.struts.chain.commands.servlet.TestAuthorizeAction
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.219 sec
[junit] Running
org.apache.struts.chain.commands.servlet.TestPerformForward
exception: The path of an ForwardConfig cannot be null
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.297 sec
[junit] Running
org.apache.struts.chain.commands.servlet.TestSetOriginalURI
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.204 sec
[junit] Running org.apache.struts.config.TestActionConfig
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.187 sec
[junit] Running org.apache.struts.config.TestActionConfigMatcher
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.5 sec
[junit] Running org.apache.struts.config.TestFormBeanConfig
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.156 sec
[junit] Running org.apache.struts.config.TestFormPropertyConfig
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
[junit] Running org.apache.struts.config.TestForwardConfig
[junit] Tests run: 15, Failures: 0, Errors: 0, Time elapsed: 0.094 sec
[junit] Running org.apache.struts.config.TestModuleConfig
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 12.943 sec
[junit] Running org.apache.struts.util.TestRequestUtils
[junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 0.547 sec
[junit] Running org.apache.struts.validator.TestValidWhen
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.219 sec
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Maven build issues
Posted by "Frank W. Zammetti" <fz...@omnytex.com>.
Ok, at least it isn't just me :)
I've never actually used Maven before, but I don't mind doing some
research to try and deal with that issue. I'll see what I can do.
My other goal is to deal with all those javadoc errors. I don't know
about anyone else, but I hate seeing things like that during a build...
anything less than a perfect, clean build is unacceptable to me, even
when it's only relatively minor things like javadoc errors.
Frank
Wendy Smoak wrote:
> From: "Frank W. Zammetti" <fz...@omnytex.com>
>
>> I finally got around to getting Struts 1.3 to build for me, and I'm
>> seeing some exceptions during the build (although it completes
>> successfully). It actually looks like the following snippet runs
>> twice, which I think I saw somewhere is a known issue with JUnit tests
>> and Maven? Here's the snippet, if anyone can tell me whether this is
>> expected and can be ignored or I need to do something to resolve it,
>> that'd be great...
>
>
> Compare yours to...
> http://svn.apache.org/builds/struts/maven/trunk/nightly/logs/maven-build-20050802.log
>
>
> (That's the log file from the nightly builds that run on James'
> machine.) It looks like you're seeing the same thing we all are.
>
> The issue with tests running twice is listed under 5.4 on
> http://wiki.apache.org/struts/StrutsMaintenanceMaven , and I just added
> a link to a possible fix. If you have time to investigate this, (or any
> of the things listed at the bottom of the page,) patches are welcome. :)
>
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Maven build issues
Posted by Wendy Smoak <ja...@wendysmoak.com>.
From: "Frank W. Zammetti" <fz...@omnytex.com>
> I finally got around to getting Struts 1.3 to build for me, and I'm seeing
> some exceptions during the build (although it completes successfully). It
> actually looks like the following snippet runs twice, which I think I saw
> somewhere is a known issue with JUnit tests and Maven? Here's the
> snippet, if anyone can tell me whether this is expected and can be ignored
> or I need to do something to resolve it, that'd be great...
Compare yours to...
http://svn.apache.org/builds/struts/maven/trunk/nightly/logs/maven-build-20050802.log
(That's the log file from the nightly builds that run on James' machine.)
It looks like you're seeing the same thing we all are.
The issue with tests running twice is listed under 5.4 on
http://wiki.apache.org/struts/StrutsMaintenanceMaven , and I just added a
link to a possible fix. If you have time to investigate this, (or any of
the things listed at the bottom of the page,) patches are welcome. :)
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org