Re: How to build Struts 2.0.11.1?
Hi, > I'm unsatisfied that not all tests are ok but I'll look for that > separately. > Probably you have problem with DataTimePickerTagTest, if yes, don't borrow, there is some problem with Locale settings to parse data. I've tried to figure what it is, but till now I don't know how to solve the problem. Maybe someone who write this tag will be know. Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart http://jdn.pl/blog/416 http://www.lenart.org.pl/
Re: How to build Struts 2.0.11.1?
Thanks for the help! The hint with the property -Dmaven.test.skip=true was sufficient for me to come forward I'm unsatisfied that not all tests are ok but I'll look for that separately. Hans-Georg -- View this message in context: http://www.nabble.com/How-to-build-Struts-2.0.11.1--tp17100141p17124816.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to build Struts 2.0.11.1?
Also make sure that you download and build xwork (needs to be on the same folder as struts). Following the steps (in the link), and adding -Dmaven.test.skip=true to maven commands should be enough. musachy On Wed, May 7, 2008 at 10:48 AM, Graham Leggett <[EMAIL PROTECTED]> wrote: > Hans-Georg wrote: > > > > Thanks for the link - I already found it but it doesn't help me. > > > > Is there anyone else who is able to build struts from the source? > > Can anyone tell what he did to set up the "development" environment? > > > > After correctly installing a recent copy of maven2, make sure you have an > internet connection (dependencies will be downloaded for you automatically), > change to the root of the source and type: > > mvn install > > That's pretty much it. > > I discovered the plugins directory didn't build when the main source built. > To build this I did this: > > cd plugins > mvn install > > > > > > > > > > > > > > > > > [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] > > > > > > > > > > > > > > > > Test failures are by default treated as build failures by maven. To work > around this (say, because you're fixing the broken tests, or you are working > on something else), run this: > > mvn install -Dmaven.test.skip=true > > Regards, > Graham > -- > -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to build Struts 2.0.11.1?
Hans-Georg wrote: Thanks for the link - I already found it but it doesn't help me. Is there anyone else who is able to build struts from the source? Can anyone tell what he did to set up the "development" environment? After correctly installing a recent copy of maven2, make sure you have an internet connection (dependencies will be downloaded for you automatically), change to the root of the source and type: mvn install That's pretty much it. I discovered the plugins directory didn't build when the main source built. To build this I did this: cd plugins mvn install [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] Test failures are by default treated as build failures by maven. To work around this (say, because you're fixing the broken tests, or you are working on something else), run this: mvn install -Dmaven.test.skip=true Regards, Graham -- smime.p7s Description: S/MIME Cryptographic Signature
Re: How to build Struts 2.0.11.1?
Thanks for the link - I already found it but it doesn't help me. Is there anyone else who is able to build struts from the source? Can anyone tell what he did to set up the "development" environment? Musachy Barroso wrote: > > This link could help: > > http://struts.apache.org/2.x/docs/building-with-maven.html > > musachy > > On Wed, May 7, 2008 at 4:39 AM, Hans-Georg Kruse > <[EMAIL PROTECTED]> 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 >> >> -- >> 249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro. >> Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-build-Struts-2.0.11.1--tp17100141p17106168.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to build Struts 2.0.11.1?
This link could help: http://struts.apache.org/2.x/docs/building-with-maven.html musachy On Wed, May 7, 2008 at 4:39 AM, Hans-Georg Kruse <[EMAIL PROTECTED]> 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 > > -- > 249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro. > Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 -- 249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro. Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]