Downgraded SilkSvn from 1.9.7 (showed as version 1.11) to version 1.8.9.
130 tests pass, 238 tests fail and only 577 errors now. The errors are a
bit different though, they fall into 3 different errors mainly:
1) svn: E200009: Could not add all targets because some targets are already
versione
2) Could not initialize class org.apache.subversion.javahl.SVNClient
3) tried to access method
org.netbeans.modules.subversion.FileStatusCache.cleanUp()V from class
org.netbeans.modules.subversion.AbstractSvnTestCase
There is still one test looking for files in my user directory as well:
C:\Users\{username}\.test-kenai (The system cannot find the file specified)
java.io.FileNotFoundException
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileReader.<init>(FileReader.java:72)
at org.netbeans.modules.subversion.ApiTest.setUp(ApiTest.java:70)
at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:452)
at org.netbeans.junit.NbTestCase.run(NbTestCase.java:275)
On Tue, Jun 25, 2019 at 10:14 AM Pete Whelpton <[email protected]> wrote:
> Hi Aaron,
>
> Just a very quick guess from looking at the source, it seems
> like SvnFileSystemTest.java is running svnadmin at the command line to
> create the repo. My guess is that your svnadmin CLI is further ahead ( >=
> 1.10 ? ) than JavaHL libraries in NB support (SVN 1.8, 1.9?)...
>
> If you amend your PATH variable to point to an earlier version of svnadmin
> (e.g. 1.9.x), do those tests pass?
>
> P
>
> On Tue, Jun 25, 2019 at 4:07 PM Aaron Ho-Means <[email protected]> wrote:
>
> > Ah... sorry about that, I am running NetBeans 11 on Windows 10 and set
> > JAVA_HOME to use jdk8u192-b12. I ran 'ant -Dcluster.config=full' after
> > cloning to my system. Then I opened the Subversion project and before
> > making any changes right clicked and ran tests. 71 pass, 69 fail and 932
> > caused an error. The most common stack trace is below. Looking closer
> > today, there seems to be a mix of things I have and things I don't. I
> have
> > the directory for the one below but another test is looking for files in
> > C:\Users\{username}\.test-kenai.
> >
> > org.apache.subversion.javahl.ClientException: Can't create session
> > svn: Unable to connect to a repository at URL
> >
> >
> 'file:///C:/development/open-source/netbeans/ide/subversion/build/test/unit/data/repo'
> > Couldn't open a repository
> > svn: Unable to open repository
> >
> >
> 'file:///C:/development/open-source/netbeans/ide/subversion/build/test/unit/data/repo'
> > Unsupported FS format
> > svn: Expected FS format between '1' and '7'; found format '8'
> >
> > org.tigris.subversion.svnclientadapter.SVNClientException
> > at
> >
> >
> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.mkdir(AbstractJhlClientAdapter.java:2733)
> > at
> >
> >
> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.mkdir(AbstractJhlClientAdapter.java:1020)
> > at
> >
> >
> org.netbeans.modules.subversion.client.SvnClientInvocationHandler.handle(SvnClientInvocationHandler.java:436)
> > at
> >
> >
> org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invokeMethod(SvnClientInvocationHandler.java:381)
> > at
> >
> >
> org.netbeans.modules.subversion.client.SvnClientInvocationHandler.invoke(SvnClientInvocationHandler.java:189)
> > at com.sun.proxy.$Proxy2.mkdir(Unknown Source)
> > at org.netbeans.modules.subversion.TestKit.svnimport(TestKit.java:118)
> > at
> >
> >
> org.netbeans.modules.subversion.InteceptorTest.svnimport(InteceptorTest.java:4328)
> > at
> >
> >
> org.netbeans.modules.subversion.InteceptorTest.setUp(InteceptorTest.java:110)
> > at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:452)
> > at org.netbeans.junit.NbTestCase.run(NbTestCase.java:275)
> > at org.apache.subversion.javahl.SVNClient.mkdir(Native Method)
> > at
> >
> >
> org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.mkdir(AbstractJhlClientAdapter.java:2730)
> >
> > On Mon, Jun 24, 2019 at 5:09 PM Eric Bresie <[email protected]> wrote:
> >
> > > Can you provide more details? What files are missing?
> > >
> > > Have you done what is present in the readme file to build an
> appropriate
> > > ant cluster build? Maybe something hasn’t been build yet to run your
> > test.
> > >
> > > What version of environment are you using?
> > >
> > > Eric Bresie
> > > [email protected]
> > > > On June 24, 2019 at 6:00:18 PM CDT, Aaron Ho-Means <
> [email protected]
> > >
> > > wrote:
> > > > Hello, I am new to working on open source projects so please let me
> > know
> > > if
> > > > there is a document covering this somewhere.
> > > >
> > > > I picked this ticket as something easy to take on for a first timer
> and
> > > > even found a solution quickly, but I can't get the tests to run. They
> > are
> > > > looking for files that don't exist on my system and I can't find
> them.
> > > >
> > > > Which way should I go from here?
> > >
> >
>