Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 49BBC1863B for ; Mon, 25 Jan 2016 19:55:09 +0000 (UTC) Received: (qmail 37861 invoked by uid 500); 25 Jan 2016 19:55:08 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 37831 invoked by uid 500); 25 Jan 2016 19:55:08 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 72261 invoked by uid 99); 25 Jan 2016 19:33:47 -0000 X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.001 X-Spam-Level: **** X-Spam-Status: No, score=4.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, KAM_LIVE=1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=jodd-org.20150623.gappssmtp.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jodd-org.20150623.gappssmtp.com; s=20150623; h=content-type:from:to:cc:in-reply-to:references:subject:date :message-id:mime-version; bh=APVrH0pUBN9yha+V+hiSXnAxckgHGLNsRw9xfdZtfNo=; b=fr4EK0Bnnpq4qOfLU1Uvm6wQrMFZAaKjgamAdRmKLuDXbjPZ2IL+aAjB0UkSTcBIzR sUY1fcbLUVFnyeKjY1IC6D3WRMYm6COwa3144ib3bUYQaNsvzcgtJ6vRZUjwyFtGbT2D 8bma3h1LRZVz6UkSuJtJmQsToN4xcYmKFTPqxjbWBzGweB9nTkBx6VDPSLVwCZ9ZeXUe QiGWVHd6warbnXzgoW42EHsXqDP7tkP5dSitdLFGzfgrJty5rP3uew1j5XeUPg0YVxqg 5Rh2nljO4XDA7LlrTMyAB+pJMHjmzAe/8itpiVzOW1aktjAZ6ulLrqCN+yFzqmeWX0Jw jwtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:from:to:cc:in-reply-to:references :subject:date:message-id:mime-version; bh=APVrH0pUBN9yha+V+hiSXnAxckgHGLNsRw9xfdZtfNo=; b=XWet4MCcEciPSRfF+C5WVcX2/uLpYVvBK6vDvIsT0Tr+dhAaR5JmCkqOcAKIoBj3J7 4yaoi87P0unR7r0eGHRKzmLrlJSSfKwUKbh2olC6wTVkFE8n3FfIOpAua8PrF/XliOS4 k1iSkfbqHNRJi6usiCOD2xD3mXBf00eh+HUCgdCae96GGsGX9iLD+OtOuYaXBZus+QAL ZpZwXypVqLH6qx7S2Q0b92utqLoYut/7r7tzVmC/lMb95VhxDlOH3ZSBv5q/Aet/f6W/ 76AzNHAEPyAGVoi6df0Lyes7uirze64aFtVBvsEML99tbjC57zMmQyX4OOvZi0lv0XHX 1WQQ== X-Gm-Message-State: AG10YOSIN0IQd0seEJsLB8QRuwFBnXpGjR03OTqFujVanfuOk6L2hIQLANaBhgRWgz1IFQ== X-Received: by 10.55.78.198 with SMTP id c189mr23476063qkb.95.1453750406372; Mon, 25 Jan 2016 11:33:26 -0800 (PST) Content-Type: multipart/alternative; boundary="----sinikael-?=_1-14537504048710.8059090797323734" From: Igor Spasic To: Martin Gainty Cc: Struts Users Mailing List In-Reply-To: References: <56A215E9.50608@apache.org>,,,,,,<1453745499290-0a69ad2f-afcef549-1e45446e@jodd.org>,<1453745991884-d9b43d32-50f679c3-b48d279a@jodd.org>,<1453746661349-e4d16615-79c5b52f-bac615c2@jodd.org> Subject: Re: Jodd/Madvoc MVC framework Date: Mon, 25 Jan 2016 20:33:23 +0100 X-Cm-Message-Id: 1453750404660311cde10042efda34ff6f381444f14fa49f56a67884a14091819458350 X-Cm-Draft-Id: WyJhIiwzLCJkcmFmdF9pZCIsIjE0NTM3NTA0MDMwMDAiLCJjIiwiMTUyNDM2MDMzMDQ5ODE1MDk4NyIsInYiLDFd X-Mailer: CloudMagic Message-Id: <1453750405043-362f4896-34023303-9f6e0d61@jodd.org> MIME-Version: 1.0 ------sinikael-?=_1-14537504048710.8059090797323734 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: 7bit That is very strange - it is not happening here neither on the travis; and travis does download it all from scratch (twice, once for java7 and for java8), look: https://travis-ci.org/oblac/jodd [https://travis-ci.org/oblac/jodd] There is nothing to authenticate, or to set - just run the gradle wrapper and that is all. All artifacts are on maven. Be aware that the central Maven 2 repository is HTTP only and HTTPS is not supported, as far as i know - i dont know how it happens that your gradle using it. Did you pull latest commits? Also see: http://stackoverflow.com/questions/22887829/peer-not-authenticated-while-importing-gradle-project-in-eclipse [http://stackoverflow.com/questions/22887829/peer-not-authenticated-while-importing-gradle-project-in-eclipse] Would you be so kind to: 1) check if you have pulled latest commits 2) run: gradlew clean --stacktrace If you want I can help you directly, via some email, chat or Jodds Slack or... whatever :) Let me know! On Mon, Jan 25, 2016 at 20:20, Martin Gainty wrote: >java -version java version "1.8.0_40" Java(TM) SE Runtime Environment (build 1.8.0_40-b26) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode) jodd2>gradlew build Downloading https://services.gradle.org/distributions/gradle-2.10-bin.zip Exception in thread "main" javax.net.ssl.SSLException: java.security.ProviderExc eption: SunPKCS11 requires configuration file argument >gradle -version ------------------------------------------------------------ Gradle 2.3 ------------------------------------------------------------ Build time: 2015-02-16 05:09:33 UTC Build number: none Revision: 586be72bf6e3df1ee7676d1f2a3afd9157341274 Groovy: 2.3.9 Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013 JVM: 1.8.0_40 (Oracle Corporation 25.40-b25) OS: Windows 7 6.1 amd64 is JDK 1.8.0_40 ok? is ANT 1.9.3 ok? is Gradle 2.3 ok? is there a SunPKCS11 configuration item missing for $JAVA_HOME/jre/lib/security/java.policy? if I run gradle from the jodd directory I see: jodd2>gradle FAILURE: Build failed with an exception. * What went wrong: Could not resolve all dependencies for configuration ':runtime'. > Could not resolve org.codehaus.groovy:groovy-all:2.4.4. Required by: :buildSrc:unspecified > Could not GET 'https://repo1.maven.org/maven2/org/codehaus/groovy/groovy-al l/2.4.4/groovy-all-2.4.4.pom'. > peer not authenticated MG>how to authenticate ? > Could not resolve org.yaml:snakeyaml:1.13. MG>how to specify repo for this artifact ? Required by: :buildSrc:unspecified > Could not HEAD 'https://repo1.maven.org/maven2/org/yaml/snakeyaml/1.13/snak eyaml-1.13.pom'. > peer not authenticated MG>How to authenticate ? > Could not resolve org.codehaus.groovy.modules.http-builder:http-builder:0.7.1. MG>where is http-builder located ? Required by: :buildSrc:unspecified > Could not GET 'https://repo1.maven.org/maven2/org/codehaus/groovy/modules/h ttp-builder/http-builder/0.7.1/http-builder-0.7.1.pom'. > peer not authenticated > Could not resolve org.apache.httpcomponents:httpmime:4.3. Required by: :buildSrc:unspecified > Could not GET 'https://repo1.maven.org/maven2/org/apache/httpcomponents/htt pmime/4.3/httpmime-4.3.pom'. > peer not authenticated MG>How to authenticate ? * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 10.994 secs thanks! Martin ______________________________________________ -------------------------------------------------------------------------------- From: igor@jodd.org To: mgainty@hotmail.com CC: user@struts.apache.org Subject: Re: Jodd/Madvoc MVC framework Date: Mon, 25 Jan 2016 19:31:00 +0100 Ok, fixed :) Travis is working again. The issue was that gradle 2.10 uses groovy 2.4.4 and we used some old groovy version. We have some gradle plugins. Please let me know if this worked now. Thanx! On Mon, Jan 25, 2016 at 19:19, Igor Spasic wrote: Uh, there is some strange gradle (wrapper) behavior... Sorry for all the trouble, I will let you know when its fixed. On Mon, Jan 25, 2016 at 19:11, Igor Spasic wrote: Hi! Can you check now? We moved to Gradle 2.10 yesterday, but obviously there was a left over from previous version (2.6). Would you be so kind to pull the change and try again? It worked here. On Mon, Jan 25, 2016 at 18:34, Martin Gainty wrote: can anyone clone ? > gradlew build Downloading https://services.gradle.org/distributions/gradle-2.6-all.zip Exception in thread "main" javax.net.ssl.SSLException: java.security.ProviderExc eption: SunPKCS11 requires configuration file argument ...if I bypass cert checking I get the zip... wget --no-check-certificate https://services.gradle.org/distributions/gradle-2.6-all.zip what is gradlew missing to download https\://services.gradle.org/distributions/gradle-2.6-all.zip ? Martin ______________________________________________ > Date: Mon, 25 Jan 2016 10:32:45 -0500 > Subject: Re: Jodd/Madvoc MVC framework > From: davelnewton@gmail.com > To: user@struts.apache.org > > 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 :( > > On Mon, Jan 25, 2016 at 10:01 AM, Christoph Nenning < > Christoph.Nenning@lex-com.net> wrote: > > > > The async thing is nice; that would be a good thing to bring into S2. > > > > > > I still don't like the string-based action returns; strings are just > > awful. > > > I don't have a better solution (yet). > > > > > > It might be a good time for me to rethink the code-based config I'd > > > implemented some time ago, e.g., use a Groovy or whatever DSL to config > > the > > > results, that way they end up being code artifacts. > > > > > > > > > > Another approach could be to define a Result class to avoid mapping of > > strings, e.g.: > > > > return new Result("dispatch", "test.jsp"); > > > > > > This would keep current result types with all their string-parameters. But > > it would not be necessary to configure them and no name-matching would > > take place. > > > > > > > > Regards, > > Christoph > > > > This Email was scanned by Sophos Anti Virus > > > > > > -- > e: davelnewton@gmail.com > m: 908-380-8699 > s: davelnewton_skype > t: @dave_newton > b: Bucky Bits > g: davelnewton > so: Dave Newton ------sinikael-?=_1-14537504048710.8059090797323734--