Hi Alexander

Thank you;

I will do so and send in to you the error reports found on my Windows 7 system 
when I build with maven and gradle.

maybe you can say a word about the corrct setup/settings/configuration and 
conditioning of tomcat in order to make svnkit-test running.
Is tomcat's-JVM used for your test purpose, i.e. required to listen on a 
certain port?

Guess when I download from svnkit/trunk I need to use the svnkit's maven snap 
shoot repository to catch artifacts. 
not the release repository. Is that correct?

Will change that in my maven settings.xml


also - I just figured out on my Vista System behind a FW, after adding 
systemProp.http.proxyHost=bcproxyserver.ch.winterthur.com
systemProp.http.proxyport=8080
systemProp.http.proxyUser=C770817
systemProp.http.proxyPassword=orbxorbx
systemProp.http.nonProxyHosts=localhost
systemProp.http.auth.preference=Basic
to build.gradle, as well as to the wrapper.properties


Cygwin> cd /cygdrive/e/gradle
Cygwin> ./gradlew -v
sh-4.1$ ./gradlew -v
Downloading http://services.gradle.org/distributions/gradle-1.0-rc-3-bin.zip
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping 
C:\Users\C770817\.gradle\wrapper\dists\gradle-1.0-rc-3-bin\59nkhr3nl96fm3u00sr182b0pj\gradle-1.0-rc-3-bin.zip
 to 
C:\Users\C770817\.gradle\wrapper\dists\gradle-1.0-rc-3-bin\59nkhr3nl96fm3u00sr182b0pj

------------------------------------------------------------
Gradle 1.0-rc-3
------------------------------------------------------------

Gradle build time: Sonntag, 29. April 2012 23:51 Uhr UTC
Groovy: 1.8.6
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

sh-4.1$

And just redoing the same results in (not downloading) but using it

sh-4.1$ ./gradlew -v

------------------------------------------------------------
Gradle 1.0-rc-3
------------------------------------------------------------

Gradle build time: Sonntag, 29. April 2012 23:51 Uhr UTC
Groovy: 1.8.6
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

sh-4.1$

So it works like a sniff an downloads the zip into 
C:\Users\C770817\.gradle\wrapper\dists as gradle-1.0-rc-3-bin




When I delete this ZIP file AND do the same at a new default directory, in this 
case at  
Cygwin> cd ../../../svnkit/trunk
Cygwin> ./gradlew -v

sh-4.1$ cd svnkit/trunk
sh-4.1$ ls
CHANGES.txt  build.defaults.gradle  gradle       pom.xml          svnkit      
svnkit-distribution  svnkit-test
LICENSE.txt  build.gradle           gradlew      settings.gradle  svnkit-cli  
svnkit-javahl16      target
README.txt   build.pom.gradle       gradlew.bat  src              svnkit-dav  
svnkit-osgi
sh-4.1$
sh-4.1$ ./gradlew -v
Downloading http://services.gradle.org/distributions/gradle-1.0-rc-3-bin.zip

Exception in thread "main" java.io.IOException: Server returned HTTP response 
code: 407 for URL: 
http://services.gradle.org/distributions/gradle-1.0-rc-3-bin.zip
        at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)
        at org.gradle.wrapper.Download.downloadInternal(Download.java:49)
        at org.gradle.wrapper.Download.download(Download.java:37)
        at org.gradle.wrapper.Install.createDist(Install.java:54)
        at org.gradle.wrapper.Wrapper.execute(Wrapper.java:44)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:37)
sh-4.1$




This happens with or without first deleting the just downloaded ZIP file. 
Also, and perhaps important for my problem - it did not work for the commands 
seen above 
unless I deleted some crap in wrapper/dists. but after that deletion of crap, a 
clean download of the ZIP; I 
would not have expect this behavior from the gradle wrapper by just running the 
same from a different default directory.


and later on with gradle 1.4 which was released tonigth, just downloaded today 
and in use now,


from a NetBeans Shell Terminal


sh-4.1$ cd cygdrive/e/asf/svnkit/trunk
sh-4.1$ gradle build -x test -x signMaven --debug 

starts running, then it outputs
....
14:53:49.332 [DEBUG] 
[org.gradle.api.internal.externalresource.transport.http.JavaSystemPropertiesHttpProxySettings]
 Found java system property 'http.nonProxyHosts': localhost. Will ignore proxy 
settings for these hosts.

14:53:49.364 [DEBUG] 
[org.gradle.api.internal.externalresource.transport.http.HttpClientConfigurer] 
Using Credentials [username: C770817] and NTLM Credentials [user: C770817, 
domain: , workstation: C036357] for authenticating against 
'bcproxyserver.ch.winterthur.com:80'

the above is in error as port 80 is definitly wrong and I can't say from where 
port 80 is taken. Also I am asking for Basic authentication not NTLM. 

And later it finds
14:53:49.473 [DEBUG] 
[org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] setting 
'http.auth.preference' to 'Basic'
while 'Basic' as a hint is absolut right and wanted, the previous NTLM 
Credentials are not wanted, are not set properly, are not needed as long as I 
go for 'BASIC' authentication.

Also - I do not know 
- where gradle which seams to use ivy configures ivy 
or 
- if for this nested calling a configure record is required for ivy? 
- Very stupid if this is true.

Generally speaking:_
what is for svnkit the correct place to specify all required proxy 
authentication settings 
including info for http.auth.preference=Basic which I assume is then passed 
correctly from 
tool gradle to sub-tool ivy and vice versa.
All else is a nigthmar.


Josef


-----Ursprüngliche Nachricht-----
Von: svnkit-users-boun...@svnkit.com [mailto:svnkit-users-boun...@svnkit.com] 
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 <josef.stadelm...@axa-winterthur.ch> 
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

Reply via email to