You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Patrick Lightbody <fo...@opensymphony.com> on 2006/04/25 09:09:40 UTC

[action2] Maven build instructions...

Coming tomorrow morning. I promise :)
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=27449&messageID=53790#53790


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [action2] Maven build instructions...

Posted by Ted Husted <te...@gmail.com>.
I've started a page here if someone wants to extend it.

* http://confluence.twdata.org/display/WW/Building+the+Framework+from+Source

The Ant/Ivy stuff works for me, but the Maven build stalled.

[surefire] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.266 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.ComboBoxTest
[surefire] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.141 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.ComponentTest
[surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.DatePickerTagTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.187 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.DateTagTest
2006-04-29 18:50:43,234 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format' in class 'org.apache.struts.action2.TestAction' an
d locale 'en_US'
2006-04-29 18:50:43,250 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.hours' in class 'org.apache.struts.action2.TestActi
on' and locale 'en_US'
2006-04-29 18:50:43,250 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.future' in class 'org.apache.struts.action2.TestAct
ion' and locale 'en_US'
2006-04-29 18:50:43,265 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.hours' in class 'org.apache.struts.action2.TestActi
on' and locale 'en_US'
2006-04-29 18:50:43,265 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.past' in class 'org.apache.struts.action2.TestActio
n' and locale 'en_US'
2006-04-29 18:50:43,265 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.hours' in class 'org.apache.struts.action2.TestActi
on' and locale 'en_US'
2006-04-29 18:50:43,265 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.future' in class 'org.apache.struts.action2.TestAct
ion' and locale 'en_US'
2006-04-29 18:50:43,265 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.hours' in class 'org.apache.struts.action2.TestActi
on' and locale 'en_US'
2006-04-29 18:50:43,265 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.past' in class 'org.apache.struts.action2.TestActio
n' and locale 'en_US'
2006-04-29 18:50:43,281 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.seconds' in class 'org.apache.struts.action2.TestAc
tion' and locale 'en_US'
2006-04-29 18:50:43,281 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.future' in class 'org.apache.struts.action2.TestAct
ion' and locale 'en_US'
2006-04-29 18:50:43,281 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.minutes' in class 'org.apache.struts.action2.TestAc
tion' and locale 'en_US'
2006-04-29 18:50:43,281 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.future' in class 'org.apache.struts.action2.TestAct
ion' and locale 'en_US'
2006-04-29 18:50:43,296 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.days' in class 'org.apache.struts.action2.TestActio
n' and locale 'en_US'
2006-04-29 18:50:43,296 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.future' in class 'org.apache.struts.action2.TestAct
ion' and locale 'en_US'
2006-04-29 18:50:43,296 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.years' in class 'org.apache.struts.action2.TestActi
on' and locale 'en_US'
2006-04-29 18:50:43,296 WARN  [LocalizedTextUtil.java:457] : Unable to find text
 for key 'struts.date.format.future' in class 'org.apache.struts.action2.TestAct
ion' and locale 'en_US'
2006-04-29 18:50:43,312 ERROR [Date.java:277] : Could not convert object with ke
y 'myDate' to a java.util.Date instance
[surefire] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.DebugTagTest
[surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.DivTest
[surefire] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.DoubleSelectTest
[surefire] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.469 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.FieldErrorTagTest
[surefire] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.FileTest
[surefire] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.FormTagTest
[surefire] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.562 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.HeadTagTest
[surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.172 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.HiddenTest
[surefire] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.JspTemplateTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.LabelTest
[surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.156 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.OptionTransferSelectTa
gTest
2006-04-29 18:50:45,234 WARN  [OptionTransferSelect.java:262] : form enclosing o
ptiontransferselect org.apache.struts.action2.components.OptionTransferSelect@1a
4ea4f not found, auto select upon form submit of optiontransferselect will not w
ork
2006-04-29 18:50:45,296 WARN  [OptionTransferSelect.java:262] : form enclosing o
ptiontransferselect org.apache.struts.action2.components.OptionTransferSelect@1f
cd402 not found, auto select upon form submit of optiontransferselect will not w
ork
2006-04-29 18:50:45,343 WARN  [OptionTransferSelect.java:262] : form enclosing o
ptiontransferselect org.apache.struts.action2.components.OptionTransferSelect@27
26b2 not found, auto select upon form submit of optiontransferselect will not wo
rk
2006-04-29 18:50:45,406 WARN  [OptionTransferSelect.java:262] : form enclosing o
ptiontransferselect org.apache.struts.action2.components.OptionTransferSelect@1a
791f not found, auto select upon form submit of optiontransferselect will not wo
rk
2006-04-29 18:50:45,453 WARN  [OptionTransferSelect.java:262] : form enclosing o
ptiontransferselect org.apache.struts.action2.components.OptionTransferSelect@af
914c not found, auto select upon form submit of optiontransferselect will not wo
rk
2006-04-29 18:50:45,515 WARN  [OptionTransferSelect.java:262] : form enclosing o
ptiontransferselect org.apache.struts.action2.components.OptionTransferSelect@62
70b not found, auto select upon form submit of optiontransferselect will not wor
k
2006-04-29 18:50:45,562 WARN  [OptionTransferSelect.java:262] : form enclosing o
ptiontransferselect org.apache.struts.action2.components.OptionTransferSelect@1a
9cf52 not found, auto select upon form submit of optiontransferselect will not w
ork
[surefire] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.391 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.PasswordTest
[surefire] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.RadioTest
[surefire] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.172 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.ResetTest
[surefire] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.172 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.RichtexteditorCreateFo
lderResultTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.093 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.RichtexteditorFileUplo
adResultTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.RichtexteditorGetFolde
rsAndFilesResultTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.RichtexteditorGetFolde
rsResultTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.RichTextEditorTagTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.SelectTest
2006-04-29 18:50:46,468 ERROR [Component.java:221] : tag select, field list: You
 must specify a collection/array/map/enumeration/iterator. Example: people or pe
ople.{name}
[surefire] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.359 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.SubmitAjaxTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.SubmitTest
[surefire] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.61 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.TextareaTest
[surefire] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.TextfieldTest
[surefire] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.219 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.TokenTagTest
[surefire] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.062 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.TooltipTest
[surefire] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.36 sec
[surefire] Running org.apache.struts.action2.views.jsp.ui.UpDownSelectTagTest
2006-04-29 18:50:48,000 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@b57af1, theref
ore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,031 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@1d47f59, there
fore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,062 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@10c94a7, there
fore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,125 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@739aa3, theref
ore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,156 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@132be10, there
fore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,203 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@16f3619, there
fore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,234 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@104eabb, there
fore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,281 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@e3fd79, theref
ore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,328 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@87e9bf, theref
ore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,359 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@d1e07c, theref
ore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,390 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@590510, theref
ore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,437 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@3a5a9c, theref
ore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,468 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@e0ada6, theref
ore autoselect of all elements unpon form submission will not work
2006-04-29 18:50:48,515 WARN  [UpDownSelect.java:151] : no ancestor form found f
or updownselect org.apache.struts.action2.components.UpDownSelect@dff0ea, theref
ore autoselect of all elements unpon form submission will not work
[surefire] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 0.546 sec
[surefire] Running org.apache.struts.action2.views.jsp.URLTagTest
2006-04-29 18:50:48,640 WARN  [URL.java:168] : Unknown value for includeParams p
arameter to URL tag: unknown
[surefire] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 0.078 sec
[surefire] Running org.apache.struts.action2.views.TemplateEngineManagerTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0 sec
[surefire] Running org.apache.struts.action2.views.util.ContextUtilTest
[surefire] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
[surefire] Running org.apache.struts.action2.views.util.ResourceUtilTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.015 sec
[surefire] Running org.apache.struts.action2.views.util.TextUtilTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
[surefire] Running org.apache.struts.action2.views.util.UrlHelperTest
[surefire] Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 0.031 sec
[surefire] Running org.apache.struts.action2.views.xslt.XSLTResultTest
2006-04-29 18:50:48,734 ERROR [XSLTResult.java:234] : Location paramter is empty
. Check the <param name="location"> tag specified for this action.
2006-04-29 18:50:48,734 ERROR [XSLTResult.java:273] : Unable to render XSLT Temp
late with location=[nofile.xsl]
javax.xml.transform.TransformerException: Stylesheet nofile.xsl not found in res
ources.
        at org.apache.struts.action2.views.xslt.XSLTResult.getTemplates(XSLTResu
lt.java:296)
        at org.apache.struts.action2.views.xslt.XSLTResult.execute(XSLTResult.ja
va:244)
        at org.apache.struts.action2.views.xslt.XSLTResultTest.testNoFileFound(X
SLTResultTest.java:64)
        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:585)
        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 sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBatt
ery.java:242)
        at org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.j
ava:216)
        at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
        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:585)
        at org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBo
oter.java:313)
        at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:221)

        at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:371)

        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46 seconds
[INFO] Finished at: Sat Apr 29 18:50:48 EDT 2006
[INFO] Final Memory: 9M/50M
[INFO] ------------------------------------------------------------------------

C:\projects\Apache\webwork2>

-Ted.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: [action2] Maven build instructions...

Posted by Patrick Lightbody <fo...@opensymphony.com>.
Finally - sorry about the delay. 

To all developers: please try to use Maven. If you have problems, let me know and we'll get them resolved.

http://confluence.twdata.org/display/WW/Building+with+Maven
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=27449&messageID=56816#56816


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org