No, to update tutorials, you don't need to build NetBeans from scratch.

But as pointed out above, try building with JDK 11.

Gj

On Sun, Jan 9, 2022 at 3:33 PM Arnaud bourree <[email protected]>
wrote:

> Greetjan,
> To be able to correct the tutorial, I first need to understand Netbeans
> And for that I need to have sources understandable by my favorite IDE to
> navigate in.
> That is why I created this thread.
>
> All,
> I take a look deeper in error log:
>    [repeat]
>
> /home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:47:
> error: cannot find symbol
>    [repeat] import
> org.netbeans.modules.j2ee.deployment.impl.gen.nbd.ConfigBean;
>    [repeat]                                                         ^
>    [repeat]   symbol:   class ConfigBean
>    [repeat]   location: package
> org.netbeans.modules.j2ee.deployment.impl.gen.nbd
>    [repeat]
>
> /home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:48:
> error: cannot find symbol
>    [repeat] import
> org.netbeans.modules.j2ee.deployment.impl.gen.nbd.NetbeansDeployment;
>    [repeat]                                                         ^
>    [repeat]   symbol:   class NetbeansDeployment
>    [repeat]   location: package
> org.netbeans.modules.j2ee.deployment.impl.gen.nbd
>    [repeat]
>
> /home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:49:
> error: cannot find symbol
>    [repeat] import
> org.netbeans.modules.j2ee.deployment.impl.gen.nbd.WebContextRoot;
>
> I check GitHub history on both missing classes and Server class:
> Nothing updated in org.netbeans.modules.j2ee.deployment.impl.gen.nbd for 3
> years
> Last update of org.netbeans.modules.j2ee.deployment.impl.Server on 9 Oct
> 2021 without change on the 3 imports.
> Does org.netbeans.modules.j2ee.deployment.impl.gen.nbd mean the missing
> classes should be generated ?
> If Yes, how do I generate them?
>
> Regards,
>
> Arnaud
>
> Le dim. 9 janv. 2022 à 15:12, Geertjan Wielenga
> <[email protected]> a écrit :
>
> > To contribute to the tutorial, click "See this page on GitHub" at the
> > bottom of that page, make your change, and provide a pull request.
> >
> > Would be great to get enhancements and fixes to the tutorials. :-)
> >
> > Gj
> >
> >
> > On Sun, Jan 9, 2022 at 2:28 PM Arnaud bourree <[email protected]>
> > wrote:
> >
> > > There is no link between How to run integration tests and How to
> > > contribute.
> > > Just a reason for me to contribute to Netbeans, maybe only the tutorial
> > web
> > > page on JUnit <
> https://netbeans.apache.org/kb/docs/java/junit-intro.html
> > >,
> > > or code if there is something missing.
> > > That's why I started a new thread.
> > >
> > > Arnaud
> > >
> > > Le dim. 9 janv. 2022 à 14:11, Geertjan Wielenga
> > > <[email protected]> a écrit :
> > >
> > > > Not sure what's going wrong but this seems the wrong approach to
> > figuring
> > > > out "how to run JUnit integration test with Maven project".
> > > >
> > > > The answer to that question is: how would you normally do that in
> > Maven?
> > > > That's how you would also do it in NetBeans.
> > > >
> > > > Gj
> > > >
> > > >
> > > >
> > > > On Sun, Jan 9, 2022 at 2:04 PM Arnaud bourree <
> > [email protected]>
> > > > wrote:
> > > >
> > > > > Hi Antonio,
> > > > >
> > > > > I restart from fresh git clone and try as describe in "Build from
> > > source"
> > > > > 1/ without defining JAVA_HOME nor ANT_HOME
> > > > > $ant build -Dpermit.jdk9.builds=true
> > > > > BUILD FAILED
> > > > > /home/abourree/Dev/netbeans/nbbuild/build.xml:591: The following
> > error
> > > > > occurred while executing this line:
> > > > > /home/abourree/Dev/netbeans/nbbuild/build.xml:586: The following
> > error
> > > > > occurred while executing this line:
> > > > > /home/abourree/Dev/netbeans/nbbuild/build.xml:621: The following
> > error
> > > > > occurred while executing this line:
> > > > > /home/abourree/Dev/netbeans/nbbuild/build.xml:604: The following
> > error
> > > > > occurred while executing this line:
> > > > > /home/abourree/Dev/netbeans/nbbuild/build.xml:586: The following
> > error
> > > > > occurred while executing this line:
> > > > > /home/abourree/Dev/netbeans/nbbuild/build.xml:633: The following
> > error
> > > > > occurred while executing this line:
> > > > > /home/abourree/Dev/netbeans/nbbuild/templates/common.xml:207:
> Compile
> > > > > failed; see the compiler error output for details.
> > > > > => Same result
> > > > > $ant build
> > > > > => Same result
> > > > > 2/ with JAVA_HOME and ANT_HOME defined
> > > > > $ant build -Dpermit.jdk9.builds=true
> > > > > => Same result
> > > > > $ant build
> > > > > => Same result
> > > > >
> > > > >
> > > > > Regards,
> > > > >
> > > > > Arnaud
> > > > >
> > > > > Le dim. 9 janv. 2022 à 11:59, antonio <[email protected]> a
> écrit :
> > > > >
> > > > > > Hi Arnaud,
> > > > > >
> > > > > > In order to build Apache NetBeans and start contributing please
> > > follow
> > > > > > the prerequisites detailed in the "Building from source" section
> > > here:
> > > > > >
> > > > > > https://netbeans.apache.org/download/dev/index.html
> > > > > >
> > > > > > Kind regards,
> > > > > > Antonio
> > > > > >
> > > > > > El 9/1/22 a las 11:24, Arnaud bourree escribió:
> > > > > > > I didn't see any prerequisites but expect my PC OK with Debian
> > 12,
> > > > Java
> > > > > > > 17.0.1, Maven 3.6.3 and Ant 1.10.11
> > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: [email protected]
> > > > > > For additional commands, e-mail: [email protected]
> > > > > >
> > > > > > For further information about the NetBeans mailing lists, visit:
> > > > > >
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to