You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Hans-Georg <Ha...@gmx.de> on 2008/05/07 16:26:47 UTC

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 
-- 
View this message in context: http://www.nabble.com/How-to-build-Struts-2.0.11.1--tp17106170p17106170.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


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


Re: How to build Struts 2.0.11.1?

Posted by Musachy Barroso <mu...@gmail.com>.
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
<je...@blueskyminds.com.au> 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@struts.apache.org
>  For additional commands, e-mail: dev-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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


Re: How to build Struts 2.0.11.1?

Posted by Jeromy Evans <je...@blueskyminds.com.au>.
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@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org