There have been a lot of repository restructurings and reorganizations over the past few days, which may cause one or two problems still at this time -- and it is best to join and write the 'dev' mailing list if what you're trying to do is work with the sources:
https://netbeans.apache.org/community/mailing-lists.html Thanks, Gj On Wed, Sep 12, 2018 at 9:06 AM, Giacomo Trimarchi < giac...@amarulasolutions.com> wrote: > Hi, > > I can not build Netbeans 9 anymore, Can someone suggest a solution ? > > My system: > - Linux Ubuntu 18.04 > - java version "1.8.0_181" > Java(TM) SE Runtime Environment (build 1.8.0_181-b13) > J ava HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) > - Apache Ant(TM) version 1.10.1 compiled on February 2 2017 > > Steps to reproduce: > - git fetch > - git pull origin master (I did : git reset --hard origin/master as well) > - ant tryme (or ant -Dcluster.confg=full) > > Result: > BUILD FAILED > /home/giacomo/incubator-netbeans/nbbuild/build.xml:478: The following > error occurred while executing this line: > /home/giacomo/incubator-netbeans/nbbuild/build.xml:473: The following > error occurred while executing this line: > /home/giacomo/incubator-netbeans/nbbuild/build.xml:520: The following > error occurred while executing this line: > /home/giacomo/incubator-netbeans/nbbuild/templates/projectized.xml:255: > Could not copy /home/giacomo/incubator-netbeans/java/j2ee. > eclipselink/build/javax.persistence-2.1.0-doc.zip: > java.io.FileNotFoundException: /home/giacomo/incubator- > netbeans/nbbuild/netbeans/java/modules/ext/docs (Is a directory) > at java.io.FileOutputStream.open0(Native Method) > at java.io.FileOutputStream.open(FileOutputStream.java:270) > at java.io.FileOutputStream.<init>(FileOutputStream.java:213) > at java.io.FileOutputStream.<init>(FileOutputStream.java:162) > at org.apache.tools.ant.types.resources.FileResource. > getOutputStream(FileResource.java:259) > at org.apache.tools.ant.types.resources.FileResource. > getOutputStream(FileResource.java:234) > at org.apache.tools.ant.util.ResourceUtils.getOutputStream( > ResourceUtils.java:843) > at org.apache.tools.ant.util.ResourceUtils.copyUsingStreams( > ResourceUtils.java:814) > at org.apache.tools.ant.util.ResourceUtils.copyResource( > ResourceUtils.java:450) > at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:559) > at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:519) > at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:480) > at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:443) > at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:409) > at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:384) > at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:322) > at org.netbeans.nbbuild.extlibs.ReleaseFilesCopy.execute( > ReleaseFilesCopy.java:62) > at org.apache.tools.ant.UnknownElement.execute( > UnknownElement.java:293) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.tools.ant.dispatch.DispatchUtils.execute( > DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:435) > at org.apache.tools.ant.Target.performTasks(Target.java:456) > at org.apache.tools.ant.Project.executeSortedTargets(Project. > java:1405) > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets( > SingleCheckExecutor.java:38) > at org.apache.tools.ant.Project.executeTargets(Project.java:1260) > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441) > at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.tools.ant.dispatch.DispatchUtils.execute( > DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:435) > at org.netbeans.nbbuild.NbMerge.fixedModulesBuild(NbMerge.java:193) > at org.netbeans.nbbuild.NbMerge.execute(NbMerge.java:274) > at org.apache.tools.ant.UnknownElement.execute( > UnknownElement.java:293) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.tools.ant.dispatch.DispatchUtils.execute( > DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:435) > at org.apache.tools.ant.Target.performTasks(Target.java:456) > at org.apache.tools.ant.Project.executeSortedTargets(Project. > java:1405) > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets( > SingleCheckExecutor.java:38) > at org.apache.tools.ant.Project.executeTargets(Project.java:1260) > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441) > at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. > java:105) > at org.netbeans.nbbuild.Repeat.execute(Repeat.java:106) > at org.apache.tools.ant.UnknownElement.execute( > UnknownElement.java:293) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.tools.ant.dispatch.DispatchUtils.execute( > DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential. > java:68) > at org.apache.tools.ant.UnknownElement.execute( > UnknownElement.java:293) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.tools.ant.dispatch.DispatchUtils.execute( > DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.taskdefs.MacroInstance.execute( > MacroInstance.java:402) > at org.apache.tools.ant.UnknownElement.execute( > UnknownElement.java:293) > at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.tools.ant.dispatch.DispatchUtils.execute( > DispatchUtils.java:106) > at org.apache.tools.ant.Task.perform(Task.java:348) > at org.apache.tools.ant.Target.execute(Target.java:435) > at org.apache.tools.ant.Target.performTasks(Target.java:456) > at org.apache.tools.ant.Project.executeSortedTargets(Project. > java:1405) > at org.apache.tools.ant.Project.executeTarget(Project.java:1376) > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets( > DefaultExecutor.java:41) > at org.apache.tools.ant.Project.executeTargets(Project.java:1260) > at org.apache.tools.ant.Main.runBuild(Main.java:857) > at org.apache.tools.ant.Main.startAnt(Main.java:236) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113) > > Total time: 1 minute 41 seconds > > -- > |Giacomo Trimarchi Amarula Solutions BV | > |Tecnical Sales Cruquiuskade 47 > <https://maps.google.com/?q=Cruquiuskade+47&entry=gmail&source=g> | > |Phone: +31(0)851119172 Amsterdam 1018 AM NL | > |Mobile: +39(342)9082648 | > | [`as] http://www.amarulasolutions.com | > >