struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Jodd/Madvoc MVC framework
Date Tue, 26 Jan 2016 14:18:23 GMT
I had the wrong providers listed in $JAVA_HOME/jre/lib/security/java.securityas soon as I security.removeProvider
SunPKCS11 provider and replaced with sun.security.rsa.SunRsaSign I was able to grab the gradle
distro and unpack, compile, run-tests and assemble
security.provider.10=sun.security.rsa.SunRsaSignsecurity.removeProvider.10=sun.security.pkcs11.SunPKCS11
also igor made 2 changes yesterday which you should incorporate:build.gradle
dependencies:
org.codehaus.groovy:groovy-all:2.2.1 upgraded to org.codehaus.groovy:groovy-all:2.4.4
gradle-wrapper.propertiesdistributionUrl=https\://services.gradle.org/distributions/gradle-2.6-all.zipdistributionUrl=https\://services.gradle.org/distributions/gradle-2.10-bin.zip
https://github.com/oblac/jodd/compare/master@%7B1day%7D...master
 gradlew.bat build
produced windows specific errors:

513 tests completed, 2 failed, 3 skipped:jodd-core:test FAILED
jodd.io.FileNameUtilTestexpected:<C:\Users\mgainty]/> but was:<[~]/>jodd.util.PathUtilTestorg.junit.ComparisonFailure:
expected:<[/aaa/bbb/]ccc> but was:<[\aaa\bbb\]ccc>
FAILURE: Build failed with an exception.
* What went wrong:Execution failed for task ':jodd-core:test'.> There were failing tests.
See the report at: /jodd2/jodd-core/build/reports/tests/index.html(easily correctable)

I am curious why integration tests need both MySQL Database AND Postgres Database?For integration
tests you will need also to set up databases named: 'jodd-test' on localMySql (access: root/root!)
and PostgreSQL (postgres/root!).
Thanks Christoph!
Martin
> To: user@struts.apache.org
> Subject: Re: Jodd/Madvoc MVC framework
> From: Christoph.Nenning@lex-com.net
> Date: Tue, 26 Jan 2016 10:26:37 +0100
> 
> > I'm just not a fan of declaring things based on strings, including 
> result
> > types.
> > 
> > I don't know what the easiest/best answer is, probably I'll end up doing
> > nothing :(
> > 
> 
> Well, result type strings could be avoided with specialized classes, like
> 
> return new InstantDispatcherResult("foo.jsp");
> return new InstantActionRedirectResult("fooAction");
> 
> 
> Regards,
> Christoph
> 
> This Email was scanned by Sophos Anti Virus
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message