Hi Jose, Thanks for testing! Did you download a fresh copy of the Apache NetBeans 11.0 sources and overwrite the enterprise directory? It looks like you may have duplicate modules in your directory. Perhaps delete the original enterprise directory and then copy the Java EE 8 supported enterprise directory into place.
Hope this helps and thanks again. Josh Juneau http://jj-blogger.blogspot.com https://www.apress.com/index.php/author/author/view/id/1866 > On May 30, 2019, at 1:44 PM, Jose Ch <pepnes...@gmail.com> wrote: > > Hi Josh, > > Thank you for your work! > > I followed the instructions but I get this error: > > BUILD FAILED > /home/user/Apps/Development/netbeans-master/nbbuild/build.xml:193: > java.io.IOException: Duplicated module org.netbeans.modules.j2ee.jboss4: > found in /home/user/Apps/Development/netbeans-master/contrib/j2ee.jboss4 > and /home/user/Apps/Development/netbeans-master/enterprise/j2ee.jboss4 > at > org.netbeans.nbbuild.ModuleListParser.scanPossibleProject(ModuleListParser.java:500) > at > org.netbeans.nbbuild.ModuleListParser.scanNetBeansOrgSources(ModuleListParser.java:236) > at org.netbeans.nbbuild.ModuleListParser.<init>(ModuleListParser.java:801) > at > org.netbeans.nbbuild.InsertModuleAllTargets.execute(InsertModuleAllTargets.java:122) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) > at sun.reflect.GeneratedMethodAccessor6.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:99) > at org.apache.tools.ant.Task.perform(Task.java:350) > at org.apache.tools.ant.Target.execute(Target.java:449) > at org.apache.tools.ant.Target.performTasks(Target.java:470) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1391) > at org.apache.tools.ant.Project.executeTarget(Project.java:1364) > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > at org.apache.tools.ant.Project.executeTargets(Project.java:1254) > at org.apache.tools.ant.Main.runBuild(Main.java:830) > at org.apache.tools.ant.Main.startAnt(Main.java:223) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) > > Total time: 5 seconds > > Regards, > > Jose. > > El jue., 30 may. 2019 a las 1:54, huang kai (<ibla...@hotmail.com>) > escribió: > >> Cool, waiting for it for a long time, great work! >> >> >> 发送自我的 BlackBerry - 安全智能手机 >> 发件人: juneau...@gmail.com >> 发送时间: 2019年5月30日 10:47 >> 收件人: d...@netbeans.incubator.apache.org >> 回复: dev@netbeans.apache.org >> 主题: Apache NetBeans 11.0 Java EE 8 Support (Ready for Testing) >> >> I have completed the modifications required to add Java EE 8, GlassFish 5, >> GlassFish 5.0.1, and Eclipse GlassFish 5.1 support to Apache NetBeans >> 11.0. I have checked the sources into my own repository, located on GitHub >> at the following URL: >> >> GitHub Repository: >> https://github.com/juneau001/netbeans-javaee8-inprogress >> >> Please take a look and take it for a test spin using the instructions >> provided on GitHub. I have copied the instructions below as well. Once we >> are satisfied that the Java EE 8 support is complete, then I will create >> the necessary PRs to add the functionality to Apache NetBeans 11.0 >> >> Thanks for your testing and feedback! Looking forward to adding this >> support to Apache NetBeans >> >> ------------------------------------------------------ >> >> Apache NetBeans Java EE 8 Support Repository (In Progress) >> >> This repository consists of the modified modules required to enable Java EE >> 8 support in Apache NetBeans 11.0. The sources in this repository are in >> progress and there may still be bugs or some missing functionality. Once >> approved, these sources will be used to create a pull request for the >> inclusion of Java EE 8 support in Apache NetBeans proper. >> >> To use these sources, follow these steps: >> >> 1. >> >> Download the Apache NetBeans 11.0 sources, which can be found at the >> following link:https://netbeans.apache.org/download/nb110/nb110.html >> 2. >> >> Once the Apache NetBeans 11.0 sources have been downloaded and extracted >> to a directory on your machine, clone this repository to your machine. >> 3. >> >> Overwrite the "enterprise" directory of the Apache NetBeans 11.0 sources >> with the entire contents of the "enterprise" directory in this >> repository. >> 4. >> >> Copy the cluster.properties file, which resides within the nbbuild >> directory of this repository, into the nbbuild directory of the Apache >> NetBeans 11.0 sources. >> 5. >> >> Build the Apache NetBeans 11.0 sources using the directions contained in >> the Apache NetBeans README. >> 6. >> >> Once Apache NetBeans 11.0 has been built, navigate into the >> nbbuild/netbeans/etc directory and open the netbeans.conf file. Set the >> netbeans_jdkhome property within the file equal to the path of the JDK >> you >> plan to target for Java EE deployment. >> >> Example Using Zulu JDK 8: >> netbeans_jdkhome=/Java_Dev/OpenJDK/zulu8.36.0.1-ca-jdk8.0.202-macosx_x64 >> >> 1. Run Apache NetBeans and use a new userdir, as follows, from within >> the nbbuild/netbeans directory: >> >> ./bin/netbeans --userdir "/path/to/userdir/name" >> >> - Note: You will be prompted to install Oracle JS Parser and nbjavac the >> first time you attempt to add a server or create a new Java EE project >> >> ** In this early release, you may have to kill the netbeans process after >> installing Oracle JS Parser and nbjavac. After you have killed the process, >> you can restart Apache NetBeans and begin to use for Java EE 8 development. >> >> Josh Juneau >> juneau...@gmail.com >> http://jj-blogger.blogspot.com >> https://www.apress.com/us/search?query=Juneau >> <https://www.apress.com/index.php/author/author/view/id/1866> >>