|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
How to build Struts 2.0.11.1?Hello,
I wan't to build Struts 2.0.11.1 - to get more into the code and maybe try to patch something. I have installed Maven under: C:\Program Files\Java\apache-maven-2.0.9 Java Version used: java version "1.5.0_09" Checktout Struts from: https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_0_11_1 into my project folder: C:\Projekte\struts2\src\struts_2_0_11_1 and in that folder I entered mvn and the build fails with the message: Results : Failed tests: testTransform4WithDocumentInclude(org.apache.struts2.views.xslt.XSLTResultTest ) testStaticTree(org.apache.struts2.views.jsp.ui.TreeTest) Tests run: 686, Failures: 2, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 minutes 12 seconds [INFO] Finished at: Wed May 07 10:30:25 CEST 2008 [INFO] Final Memory: 13M/39M [INFO] ------------------------------------------------------------------------ Has anyone expiriences what to do to build Struts 2 from the source? Thanks in advance! Hans-Georg |
|
|
Re: How to build Struts 2.0.11.1?Ensure you're following these instuctions:
http://struts.apache.org/2.x/docs/building-the-framework-from-source.html and running a clean with the all profile: > mvn clean install -Pall As a last resort, clear your maven repository/use an alternate empty one. All tests have to pass for a release to be committed, so these kinds of problems are usually caused by a conflict in the local maven repository. Good luck! Hans-Georg wrote: > Hello, > > I wan't to build Struts 2.0.11.1 - to get more into the code and maybe try > to patch something. > > I have installed Maven under: > C:\Program Files\Java\apache-maven-2.0.9 > > Java Version used: java version "1.5.0_09" > > Checktout Struts from: > https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_0_11_1 > > into my project folder: > C:\Projekte\struts2\src\struts_2_0_11_1 > > and in that folder I entered mvn > and the build fails with the message: > > Results : > > Failed tests: > > testTransform4WithDocumentInclude(org.apache.struts2.views.xslt.XSLTResultTest > ) > testStaticTree(org.apache.struts2.views.jsp.ui.TreeTest) > > Tests run: 686, Failures: 2, Errors: 0, Skipped: 0 > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] There are test failures. > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 3 minutes 12 seconds > [INFO] Finished at: Wed May 07 10:30:25 CEST 2008 > [INFO] Final Memory: 13M/39M > [INFO] > ------------------------------------------------------------------------ > > Has anyone expiriences what to do to build Struts 2 from the source? > > Thanks in advance! > > Hans-Georg > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: How to build Struts 2.0.11.1?You can also ask questions on #struts in freenode, for some real-time feedback.
musachy On Wed, May 7, 2008 at 10:28 PM, Jeromy Evans <jeromy.evans@...> wrote: > Ensure you're following these instuctions: > http://struts.apache.org/2.x/docs/building-the-framework-from-source.html > > and running a clean with the all profile: > > > mvn clean install -Pall > > As a last resort, clear your maven repository/use an alternate empty one. > > All tests have to pass for a release to be committed, so these kinds of > problems are usually caused by a conflict in the local maven repository. > Good luck! > > > > Hans-Georg wrote: > > > Hello, > > > > I wan't to build Struts 2.0.11.1 - to get more into the code and maybe try > > to patch something. > > > > I have installed Maven under: > > C:\Program Files\Java\apache-maven-2.0.9 > > > > Java Version used: java version "1.5.0_09" > > > > Checktout Struts from: > > https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_0_11_1 > > > > into my project folder: > > C:\Projekte\struts2\src\struts_2_0_11_1 > > > > and in that folder I entered mvn > > and the build fails with the message: > > > > Results : > > > > Failed tests: > > > testTransform4WithDocumentInclude(org.apache.struts2.views.xslt.XSLTResultTest > > ) > > testStaticTree(org.apache.struts2.views.jsp.ui.TreeTest) > > > > Tests run: 686, Failures: 2, Errors: 0, Skipped: 0 > > > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] There are test failures. > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 3 minutes 12 seconds > > [INFO] Finished at: Wed May 07 10:30:25 CEST 2008 > > [INFO] Final Memory: 13M/39M > > [INFO] > > ------------------------------------------------------------------------ > > > > Has anyone expiriences what to do to build Struts 2 from the source? > > > > Thanks in advance! > > > > Hans-Georg > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free Forum Powered by Nabble | Forum Help |