Hi Alexander
and another one from VISTA, running a DOS window, gradle is known, maven works,
ant as well,
so why is gradle-1.4.0 behaving so differently and catches for an 'ext' in a
build.defaults.gradle file
Josef
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]
Im Auftrag von Alexander Kitaev
Gesendet: Donnerstag, 24. Januar 2013 15:07
An: SVNKit Library Users List
Betreff: Re: svnkit - build and testing
Hello Josef,
Recently we've changed trilead library that we also maintain and also updated
dependency on it in the build.gradle file. Recent SVNKit artifact in our maven
repository
(http://maven.tmatesoft.com/content/repositories/snapshots/org/tmatesoft/svnkit/svnkit/1.7.8-SNAPSHOT/svnkit-1.7.8-20130123.215933-6.pom)
refers to trilead_build216-SNAPSHOT version which has proper constructor.
> Tests run: 233, Failures: 0, Errors: 159, Skipped: 42
>
> <<svnkit-kit-test-failures-1.txt>>
>
> please allow me one question:
>
> is it expected and do ALL this test run on Windows Vista?
We run tests on Linux and only occasionally run them on Windows 7.
Most of the tests (but not all) are expected to pass, but they also need
environment pre-configured, for instance Apache server installed and available
for test. Please send me failures report, probably I will be able to provide
more information on that.
Alexander Kitaev,
TMate Software,
http://subgit.com/ - Svn to Git Migration!
http://svnkit.com/ - Java [Sub]Versioning Library!
http://hg4j.com/ - Java Mercurial Library!
http://sqljet.com/ - Java SQLite Library!
On 23 January 2013 16:25, Stadelmann Josef <[email protected]>
wrote:
> http://svn.svnkit.com/repos/svnkit/trunk/
>
> have moved this code into a maven project with maven pom's.xml taken
> from central repo (build 7 Jan 2013)
>
> SVNKit Library (svnkit) modul at
>
> class org.tmatesoft.svn.core.internal.io.svn.ssh.SshHost.java
>
> has a method in error (it does not compile on my windows Vista with
> JDK6, NetBeans 7.2 and external maven-3.1
>
> private SshConnection openConnection() throws IOException {
>
> Connection connection = new Connection(myHost, myPort);
>
> connection.connect(new ServerHostKeyVerifier() {
>
> public boolean verifyServerHostKey(String hostname, int
> port, String serverHostKeyAlgorithm, byte[] serverHostKey) throws
> Exception {
>
> if (myHostVerifier != null) {
>
> myHostVerifier.verifyServerHostKey(hostname, port,
> serverHostKeyAlgorithm, serverHostKey);
>
> }
>
> return true;
>
> }
>
> }, myConnectTimeout, myReadTimeout, myConnectTimeout); IS
>
> , myConnectTimeout, myReadTimeout); SHOULD BE
>
> should pass only 2 params, because Connection.connect() accepts only 2
> timeout args, at most.
>
> Also I guess, it does not make muche sense to pass twice the same
> myConnectTimeout value.
>
>
>
> BTW: the latest greates source packages build error free after that
> little change,
>
> BTW: but the surefire testing for svnkit is a nigthmar!
>
>> mvn install –DskipTest=true
>
> works perfect on my Vista System
>
>> mvn install
>
> fails on surefire testing with
>
> Tests run: 233, Failures: 0, Errors: 159, Skipped: 42
>
> <<svnkit-kit-test-failures-1.txt>>
>
> please allow me one question:
>
> is it expected and do ALL this test run on Windows Vista?
>
> or is there something Unix/Platform specific I have to consider; i.e.
> ProcessBuilder.java (forking and the like)
>
> (I ask this because this is the case with JGit and there with file
> access (deleting a repositoory while certain files a restill open))
>
> BTW: from where can I take down the lates greates svnkit.war to be
> dropped into an application servers webapp directory?
>
> with my currecnt (too old I guess) JSVN, I have populated very
> successfully on OpenVMS a source repository. The bad thing:
>
> I can not checkout and get an internal server error reported. I can
> however browse via http to this repository using a
>
> TouirtoiseSVN Client, as well as having cmld lines from a PC both JSVN
> and native SVN, as well as from other terminals on
>
> OpenVMS.
>
> too bad – I make no preogress because I can't check out from OpenVMS.
>
> Regards
>
> Josef
On my dos window running as Admin
E:\asf\svnkit\trunk>gradle -v
------------------------------------------------------------
Gradle 1.0-milestone-3
------------------------------------------------------------
Gradle build time: Monday, 25 April 2011 5:40:11 PM EST
Groovy: 1.7.10
Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Ivy: 2.2.0
JVM: 1.6.0_30 (Sun Microsystems Inc. 20.5-b03)
OS: Windows Vista 6.0 x86
so fa OK
E:\asf\svnkit\trunk>gradle build -x test -x signMaven --info --debug
--stacktrace > x.txt
16:38:52.039 [ERROR] [org.gradle.BuildExceptionReporter]
16:38:52.039 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed
with an exception.
16:38:52.039 [ERROR] [org.gradle.BuildExceptionReporter]
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter] * Where:
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter] Script
'E:\asf\svnkit\trunk\build.defaults.gradle' line: 1
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter]
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred
evaluating script.
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter] Cause: Could not find
property 'ext' on root project 'org.tmatesoft.svnkit'.
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter]
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter]
org.gradle.api.GradleScriptException: A problem occurred evaluating script.
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.groovy.scripts.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:51)
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127)
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:82)
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:32)
16:38:52.055 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:54)
16:38:52.071 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:114)
16:38:52.071 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.project.AbstractProject.apply(AbstractProject.java:854)
16:38:52.071 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.Project$apply.call(Unknown Source)
16:38:52.071 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:35)
16:38:52.071 [ERROR] [org.gradle.BuildExceptionReporter] at
build_3if8pr2tumrukdvmfp3p6534lq$_run_closure1.doCall(E:\asf\svnkit\trunk\build.gradle:13)
16:38:52.071 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:61)
16:38:52.071 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:31)
16:38:52.071 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.project.AbstractProject.buildscript(AbstractProject.java:901)
16:38:52.071 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.Project$buildscript.call(Unknown Source)
16:38:52.086 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.project.ProjectScript.buildscript(ProjectScript.groovy:43)
16:38:52.086 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.Script$buildscript.callCurrent(Unknown Source)
16:38:52.086 [ERROR] [org.gradle.BuildExceptionReporter] at
build_3if8pr2tumrukdvmfp3p6534lq.run(E:\asf\svnkit\trunk\build.gradle:12)
16:38:52.086 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.groovy.scripts.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:49)
16:38:52.086 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:116)
16:38:52.086 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptProcessor.java:38)
16:38:52.086 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.configuration.DefaultProjectEvaluator.evaluate(DefaultProjectEvaluator.java:38)
16:38:52.086 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:487)
16:38:52.102 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:71)
16:38:52.102 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:23)
16:38:52.102 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:21)
16:38:52.102 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:38)
16:38:52.102 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:35)
16:38:52.102 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:463)
16:38:52.102 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:458)
16:38:52.102 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
16:38:52.102 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:141)
16:38:52.117 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112)
16:38:52.117 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:80)
16:38:52.117 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41)
16:38:52.117 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27)
16:38:52.117 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:32)
16:38:52.117 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.launcher.ExceptionReportingAction.execute(ExceptionReportingAction.java:21)
16:38:52.117 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:219)
16:38:52.117 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:203)
16:38:52.133 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.launcher.Main.execute(Main.java:55)
16:38:52.133 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.launcher.Main.main(Main.java:40)
16:38:52.133 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:46)
16:38:52.133 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:28)
16:38:52.133 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.launcher.GradleMain.main(GradleMain.java:24)
16:38:52.133 [ERROR] [org.gradle.BuildExceptionReporter] Caused by:
groovy.lang.MissingPropertyException: Could not find property 'ext' on root
project 'org.tmatesoft.svnkit'.
16:38:52.133 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.AbstractDynamicObject.propertyMissingException(AbstractDynamicObject.java:43)
16:38:52.133 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:35)
16:38:52.149 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.CompositeDynamicObject.getProperty(CompositeDynamicObject.java:54)
16:38:52.149 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.api.internal.project.DefaultProject_Decorated.getProperty(Unknown
Source)
16:38:52.149 [ERROR] [org.gradle.BuildExceptionReporter] at
build_defaults_6bgkhc9eimr5jutqooi6efcged.run(E:\asf\svnkit\trunk\build.defaults.gradle:1)
16:38:52.149 [ERROR] [org.gradle.BuildExceptionReporter] at
org.gradle.groovy.scripts.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:49)
16:38:52.149 [ERROR] [org.gradle.BuildExceptionReporter] ... 43 more
16:38:52.149 [ERROR] [org.gradle.BuildExceptionReporter]
E:\asf\svnkit\trunk>dir
Volume in drive E is LaCie
Volume Serial Number is B098-2591
Directory of E:\asf\svnkit\trunk
28.01.2013 16:38 <DIR> .
28.01.2013 16:38 <DIR> ..
29.10.2012 17:55 781 build.defaults.gradle
28.01.2013 14:49 4'528 build.gradle
29.10.2012 17:55 461 build.pom.gradle
22.01.2013 12:13 20'965 CHANGES.txt
23.01.2013 11:17 <DIR> gradle
28.01.2013 14:27 5'902 gradlew
28.01.2013 14:41 2'636 gradlew.bat
19.04.2012 09:23 2'647 LICENSE.txt
24.01.2013 19:12 10'648 pom.xml
29.10.2012 17:55 1'987 README.txt
19.04.2012 09:23 209 settings.gradle
24.01.2013 15:57 <DIR> src
28.01.2013 11:01 <DIR> svnkit
28.01.2013 11:02 <DIR> svnkit-cli
28.01.2013 11:02 <DIR> svnkit-dav
28.01.2013 11:02 <DIR> svnkit-distribution
24.01.2013 12:33 <DIR> svnkit-javahl16
28.01.2013 11:02 <DIR> svnkit-osgi
28.01.2013 11:02 <DIR> svnkit-test
28.01.2013 11:09 <DIR> target
28.01.2013 16:38 4'856 x.txt
11 File(s) 55'620 bytes
12 Dir(s) 736'916'320'256 bytes free