It could be a datetime issue. Use a recursive touch in the whole work dir to fix that.
On Sat, Mar 30, 2019, 00:42 John McDonnell <mcdonnell.j...@gmail.com> wrote: > Hi Brad, > > I thought this error might have been on the confluence but cant see it. > > It's one of 3 things. > 1. Incorrect java version, > 2. Incorrect ant version > 3. not everything is cloned correctly. > > Can you check the read me? and maybe try recloning if all is fine? > > Failing that, check the dev mailing list archives: > > https://lists.apache.org/list.html?d...@netbeans.apache.org:lte=2y:The%20following%20error%20occurred%20while%20executing%20this%20line%3A > > You'll hopefully see an answer there. > > John > > > > On Fri, 29 Mar 2019 at 22:48, Brad Walker <bwal...@musings.com> wrote: > > > I'm trying to build the Netbeans version contained in Github and I'm > having > > a problem.. > > > > Here is the error that I see.. > > > > ... > > -prepare-mandatory-files-for-module: > > [createlicensesummary] All tests passed > > > > up-to-date: > > > > compile: > > [nb-javac] Compiling 21 source files to > > /home/bwalker/src/incubator-netbeans/ide/xml.catalog/build/classes > > [repeat] warning: [options] bootstrap class path not set in > conjunction > > with -source 1.6 > > [repeat] > > > > > /home/bwalker/src/incubator-netbeans/ide/xml.catalog/src/org/netbeans/modules/xml/catalog/impl/sun/Catalog.java:33: > > error: cannot access NbCatalogResolver > > [repeat] import org.apache.xml.resolver.tools.NbCatalogResolver; > > [repeat] ^ > > [repeat] bad class file: > > > > > /home/bwalker/src/incubator-netbeans/nbbuild/build/public-package-jars/org-apache-xml-resolver.jar(org/apache/xml/resolver/tools/NbCatalogResolver.class) > > [repeat] class file has wrong version 54.0, should be 52.0 > > [repeat] Please remove or make sure it appears in the correct > > subdirectory of the classpath. > > [nbmerge] Failed to build target: all-xml.catalog > > > > BUILD FAILED > > /home/bwalker/src/incubator-netbeans/nbbuild/build.xml:514: The following > > error occurred while executing this line: > > /home/bwalker/src/incubator-netbeans/nbbuild/build.xml:509: The following > > error occurred while executing this line: > > /home/bwalker/src/incubator-netbeans/nbbuild/build.xml:556: The following > > error occurred while executing this line: > > /home/bwalker/src/incubator-netbeans/nbbuild/templates/common.xml:201: > > Compile failed; see the compiler error output for details. > > > > Total time: 39 seconds > > bwalker@brads-T460s:~/src/incubator-netbeans$ > > > > Any ideas about what might be going on? > > > > -brad w. > > >