You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Arnaud bourree <ar...@gmail.com> on 2022/01/09 10:24:48 UTC

How to start contributing ?

Hello,

I asked a question on the user mailing list to know how to run JUnit
integration test with Maven project. I didn't receive any posts, so I
decided to find an answer myself and start contributing to my favorite IDE.

I follow instruction from Contibuting Code
<https://netbeans.apache.org/participate/submit-pr.html#contributing-code>
page.
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

The first ant command failed:
-prepare-mandatory-files-for-module:
[createlicensesummary] All tests passed

up-to-date:

-pre-compile:

-do-compile:
 [nb-javac] Compiling 160 source files to
/home/abourree/Dev/netbeans/enterprise/j2eeserver/build/classes
 [nb-javac] Ignoring source, target and bootclasspath as release has been
set
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:48:
error: cannot access NetbeansDeployment
   [repeat] import
org.netbeans.modules.j2ee.deployment.impl.gen.nbd.NetbeansDeployment;
   [repeat]                                                         ^
   [repeat]   bad source file:
/home/abourree/Dev/netbeans/enterprise/j2eeserver/build/classes-generated/org/netbeans/modules/j2ee/deployment/impl/gen/nbd/NetbeansDeployment.java
   [repeat]     file does not contain class
org.netbeans.modules.j2ee.deployment.impl.gen.nbd.NetbeansDeployment
   [repeat]     Please remove or make sure it appears in the correct
subdirectory of the sourcepath.
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/J2eeModule.java:25:
warning: [deprecation] J2eeModuleImplementation in
org.netbeans.modules.j2ee.deployment.devmodules.spi has been deprecated
   [repeat] import
org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleImplementation;
   [repeat]                                                           ^
   [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:49:
error: cannot find symbol
   [repeat] import
org.netbeans.modules.j2ee.deployment.impl.gen.nbd.WebContextRoot;
   [repeat]                                                         ^
   [repeat]   symbol:   class WebContextRoot
   [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:52:
warning: [deprecation] RegistryNodeFactory in
org.netbeans.modules.j2ee.deployment.plugins.spi has been deprecated
   [repeat] import
org.netbeans.modules.j2ee.deployment.plugins.spi.RegistryNodeFactory;
   [repeat]                                                        ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/profiler/spi/Profiler.java:24:
warning: [deprecation] ProfilerServerSettings in
org.netbeans.modules.j2ee.deployment.profiler.api has been deprecated
   [repeat] import
org.netbeans.modules.j2ee.deployment.profiler.api.ProfilerServerSettings;
   [repeat]                                                         ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:66:
error: cannot find symbol
   [repeat]     private final NetbeansDeployment dep;
   [repeat]                   ^
   [repeat]   symbol:   class NetbeansDeployment
   [repeat]   location: class Server
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/RegistryNodeProvider.java:27:
warning: [deprecation] RegistryNodeFactory in
org.netbeans.modules.j2ee.deployment.plugins.spi has been deprecated
   [repeat] import
org.netbeans.modules.j2ee.deployment.plugins.spi.RegistryNodeFactory;
   [repeat]                                                        ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:264:
error: cannot find symbol
   [repeat]     public WebContextRoot getWebContextRoot() {
   [repeat]            ^
   [repeat]   symbol:   class WebContextRoot
   [repeat]   location: class Server
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/J2eeApplicationAccessor.java:23:
warning: [deprecation] J2eeApplicationImplementation in
org.netbeans.modules.j2ee.deployment.devmodules.spi has been deprecated
   [repeat] import
org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeApplicationImplementation;
   [repeat]                                                           ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/J2eeApplication.java:23:
warning: [deprecation] J2eeApplicationImplementation in
org.netbeans.modules.j2ee.deployment.devmodules.spi has been deprecated
   [repeat] import
org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeApplicationImplementation;
   [repeat]                                                           ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/J2eeModuleAccessor.java:24:
warning: [deprecation] J2eeModuleImplementation in
org.netbeans.modules.j2ee.deployment.devmodules.spi has been deprecated
   [repeat] import
org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleImplementation;
   [repeat]                                                           ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/J2eeModule.java:131:
warning: [deprecation] createJ2eeModule(J2eeModuleImplementation) in
J2eeModuleAccessor has been deprecated
   [repeat]             public J2eeModule
createJ2eeModule(J2eeModuleImplementation impl) {
   [repeat]                               ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/J2eeModule.java:131:
warning: [deprecation] J2eeModuleImplementation in
org.netbeans.modules.j2ee.deployment.devmodules.spi has been deprecated
   [repeat]             public J2eeModule
createJ2eeModule(J2eeModuleImplementation impl) {
   [repeat]                                                ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/J2eeModule.java:203:
warning: [deprecation] J2eeModuleImplementation in
org.netbeans.modules.j2ee.deployment.devmodules.spi has been deprecated
   [repeat]             Type type =
Type.fromJsrType(((J2eeModuleImplementation) impl).getModuleType());
   [repeat]                                            ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/spi/J2eeModuleProvider.java:1044:
warning: [deprecation] getDeploymentManager() in InstanceProperties has
been deprecated
   [repeat]         public DeploymentManager getDeploymentManager() {
   [repeat]                                  ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/spi/J2eeModuleProvider.java:1045:
warning: [deprecation] getDeploymentManager() in InstanceProperties has
been deprecated
   [repeat]             return delegate.getDeploymentManager();
   [repeat]                            ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:90:
error: cannot find symbol
   [repeat]         dep =
NetbeansDeployment.createGraph(descriptor.getInputStream());
   [repeat]               ^
   [repeat]   symbol:   variable NetbeansDeployment
   [repeat]   location: class Server
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:195:
error: cannot find symbol
   [repeat]         ConfigBean[] beans = dep.getConfigBean();
   [repeat]         ^
   [repeat]   symbol:   class ConfigBean
   [repeat]   location: class Server
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:209:
warning: [deprecation] RegistryNodeFactory in
org.netbeans.modules.j2ee.deployment.plugins.spi has been deprecated
   [repeat]         RegistryNodeFactory nodeFact = (RegistryNodeFactory)
lkp.lookup(RegistryNodeFactory.class);
   [repeat]         ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:209:
warning: [deprecation] RegistryNodeFactory in
org.netbeans.modules.j2ee.deployment.plugins.spi has been deprecated
   [repeat]         RegistryNodeFactory nodeFact = (RegistryNodeFactory)
lkp.lookup(RegistryNodeFactory.class);
   [repeat]                                         ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:209:
warning: [deprecation] RegistryNodeFactory in
org.netbeans.modules.j2ee.deployment.plugins.spi has been deprecated
   [repeat]         RegistryNodeFactory nodeFact = (RegistryNodeFactory)
lkp.lookup(RegistryNodeFactory.class);
   [repeat]
        ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:211:
warning: [deprecation] RegistryNodeFactory in
org.netbeans.modules.j2ee.deployment.plugins.spi has been deprecated
   [repeat]             String msg = NbBundle.getMessage(Server.class,
"MSG_NoInstance", name, RegistryNodeFactory.class);
   [repeat]
                   ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:218:
warning: [deprecation] RegistryNodeFactory in
org.netbeans.modules.j2ee.deployment.plugins.spi has been deprecated
   [repeat]     public RegistryNodeFactory getRegistryNodeFactory() {
   [repeat]            ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:219:
warning: [deprecation] RegistryNodeFactory in
org.netbeans.modules.j2ee.deployment.plugins.spi has been deprecated
   [repeat]         return (RegistryNodeFactory)
lkp.lookup(RegistryNodeFactory.class);
   [repeat]                 ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/Server.java:219:
warning: [deprecation] RegistryNodeFactory in
org.netbeans.modules.j2ee.deployment.plugins.spi has been deprecated
   [repeat]         return (RegistryNodeFactory)
lkp.lookup(RegistryNodeFactory.class);
   [repeat]                                                 ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/ProgressUI.java:81:
warning: [deprecation] createHandle(String) in ProgressHandleFactory has
been deprecated
   [repeat]         handle = ProgressHandleFactory.createHandle(title);
   [repeat]                                       ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/Deployment.java:498:
warning: [deprecation] isToolSupported(String) in J2eePlatform has been
deprecated
   [repeat]                         if
(!platform.isToolSupported(tools[j])) {
   [repeat]                                      ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/RegistryNodeProvider.java:38:
warning: [deprecation] RegistryNodeFactory in
org.netbeans.modules.j2ee.deployment.plugins.spi has been deprecated
   [repeat]     RegistryNodeFactory factory;
   [repeat]     ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/RegistryNodeProvider.java:41:
warning: [deprecation] RegistryNodeFactory in
org.netbeans.modules.j2ee.deployment.plugins.spi has been deprecated
   [repeat]     public RegistryNodeProvider(RegistryNodeFactory factory) {
   [repeat]                                 ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/J2eeApplication.java:43:
warning: [deprecation] createJ2eeApplication(J2eeApplicationImplementation)
in J2eeApplicationAccessor has been deprecated
   [repeat]             public J2eeApplication
createJ2eeApplication(J2eeApplicationImplementation impl) {
   [repeat]                                    ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/J2eeApplication.java:43:
warning: [deprecation] J2eeApplicationImplementation in
org.netbeans.modules.j2ee.deployment.devmodules.spi has been deprecated
   [repeat]             public J2eeApplication
createJ2eeApplication(J2eeApplicationImplementation impl) {
   [repeat]                                                          ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/J2eeApplication.java:53:
warning: [deprecation] J2eeApplicationImplementation in
org.netbeans.modules.j2ee.deployment.devmodules.spi has been deprecated
   [repeat]     private final J2eeApplicationImplementation impl;
   [repeat]                   ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/J2eeApplication.java:57:
warning: [deprecation] J2eeApplicationImplementation in
org.netbeans.modules.j2ee.deployment.devmodules.spi has been deprecated
   [repeat]     private J2eeApplication(J2eeApplicationImplementation impl)
{
   [repeat]                             ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/spi/J2eeApplicationProvider.java:59:
warning: [deprecation] getModuleDatasources() in J2eeModuleProvider has
been deprecated
   [repeat]     public Set<Datasource> getModuleDatasources() throws
ConfigurationException {
   [repeat]                            ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/spi/J2eeApplicationProvider.java:64:
warning: [deprecation] getModuleDatasources() in J2eeModuleProvider has
been deprecated
   [repeat]
projectDS.addAll(modProvider.getModuleDatasources());
   [repeat]                                         ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/DefaultInstancePropertiesImpl.java:115:
warning: [deprecation] getDeploymentManager() in InstanceProperties has
been deprecated
   [repeat]     public javax.enterprise.deploy.spi.DeploymentManager
getDeploymentManager() {
   [repeat]                                                          ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/LazyDeploymentManager.java:157:
warning: [deprecation] distribute(Target[],InputStream,InputStream) in
DeploymentManager has been deprecated
   [repeat]     public ProgressObject distribute(Target[] targets,
InputStream in, InputStream in1) throws IllegalStateException {
   [repeat]                           ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/LazyDeploymentManager.java:158:
warning: [deprecation] distribute(Target[],InputStream,InputStream) in
DeploymentManager has been deprecated
   [repeat]         return getDeploymentManager().distribute(targets, in,
in1);
   [repeat]                                      ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/MemoryInstancePropertiesImpl.java:51:
warning: [deprecation] getDeploymentManager() in InstanceProperties has
been deprecated
   [repeat]     public DeploymentManager getDeploymentManager() {
   [repeat]                              ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/bridge/BridgingServerInstance.java:123:
warning: [deprecation] getJ2eePlatform(String) in Deployment has been
deprecated
   [repeat]         J2eePlatform platform =
Deployment.getDefault().getJ2eePlatform(instance.getUrl());
   [repeat]                                                        ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/sharability/ServerVolumeCustomizer.java:289:
warning: [deprecation]
preventFileChooserSymlinkTraversal(JFileChooser,File) in FileUtil has been
deprecated
   [repeat]         FileUtil.preventFileChooserSymlinkTraversal(chooser,
null);
   [repeat]                 ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/InstanceNode.java:41:
warning: [deprecation] setIconBase(String) in AbstractNode has been
deprecated
   [repeat]         setIconBase(instance.getServer().getIconBase());
   [repeat]         ^
   [repeat]
/home/abourree/Dev/netbeans/enterprise/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/TargetBaseNode.java:39:
warning: [deprecation] setIconBase(String) in AbstractNode has been
deprecated
   [repeat]
setIconBase(target.getInstance().getServer().getIconBase());
   [repeat]         ^
   [repeat] Note: Some input files use unchecked or unsafe operations.
   [repeat] Note: Recompile with -Xlint:unchecked for details.
   [repeat] 7 errors
   [repeat] 37 warnings
  [nbmerge] Failed to build target: all-j2eeserver

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.

I launch my Netbean 12.6 and try to open a project group from netbeans
source folder then there are hundreds of errors/warnings.
That is not realy good for newcomers like me.

So, how to start? What're prerequisites ? Do instructions still OK on
Netbeans web pages ?

Regards,

Arnaud

Re: How to start contributing ?

Posted by Michael Bien <mb...@gmail.com>.
once you have built it via command line you can open any module you like 
in NetBeans. And build/run it like any other project. (no need to build 
everything every time you make a change)

have fun,
michael

On 09.01.22 19:25, Arnaud bourree wrote:
> Thanks to all,
> I succeeded in building Netbeans with JDK11.
>
> I starting exploration :D
>
> Thanks
>
> Arnaud
>
> Le dim. 9 janv. 2022 à 17:23, Michael Bien <mb...@gmail.com> a écrit :
>
>> On 09.01.22 15:27, Neil C Smith wrote:
>>> On Sun, 9 Jan 2022, 10:25 Arnaud bourree, <ar...@gmail.com>
>> wrote:
>>>> I follow instruction from Contibuting Code
>>>> <
>> https://netbeans.apache.org/participate/submit-pr.html#contributing-code>
>>>> page.
>>>> 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
>>>>
>>> Try Java 11. I think support for building on 17 is still work in
>> progress.
>>> Our contribution guidelines probably need updating, and simplifying,
>> now. I
>>> was having a look in the context of related things yesterday.
>>>
>>> Best wishes,
>>>
>>> Neil
>>>
>> Neil is correct. Only the basic cluster (-Dcluster.config=basic) can be
>> currently built on JDK 17, tests don't work yet.
>>
>> 8-15 should work for everything else.
>>
>> set your JAVA_HOME and PATH, then build with:
>>
>> ant clean
>> ant build-nozip -Dcluster.config=basic
>>
>> regards,
>>
>> michael
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: dev-help@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: How to start contributing ?

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
awesome and congrats. :-)

Gj

On Sun, 9 Jan 2022 at 19:25, Arnaud bourree <ar...@gmail.com>
wrote:

> Thanks to all,
> I succeeded in building Netbeans with JDK11.
>
> I starting exploration :D
>
> Thanks
>
> Arnaud
>
> Le dim. 9 janv. 2022 à 17:23, Michael Bien <mb...@gmail.com> a écrit :
>
> > On 09.01.22 15:27, Neil C Smith wrote:
> > > On Sun, 9 Jan 2022, 10:25 Arnaud bourree, <ar...@gmail.com>
> > wrote:
> > >
> > >> I follow instruction from Contibuting Code
> > >> <
> > https://netbeans.apache.org/participate/submit-pr.html#contributing-code
> >
> > >> page.
> > >> 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
> > >>
> > > Try Java 11. I think support for building on 17 is still work in
> > progress.
> > >
> > > Our contribution guidelines probably need updating, and simplifying,
> > now. I
> > > was having a look in the context of related things yesterday.
> > >
> > > Best wishes,
> > >
> > > Neil
> > >
> > Neil is correct. Only the basic cluster (-Dcluster.config=basic) can be
> > currently built on JDK 17, tests don't work yet.
> >
> > 8-15 should work for everything else.
> >
> > set your JAVA_HOME and PATH, then build with:
> >
> > ant clean
> > ant build-nozip -Dcluster.config=basic
> >
> > regards,
> >
> > michael
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>

Re: How to start contributing ?

Posted by Arnaud bourree <ar...@gmail.com>.
Thanks to all,
I succeeded in building Netbeans with JDK11.

I starting exploration :D

Thanks

Arnaud

Le dim. 9 janv. 2022 à 17:23, Michael Bien <mb...@gmail.com> a écrit :

> On 09.01.22 15:27, Neil C Smith wrote:
> > On Sun, 9 Jan 2022, 10:25 Arnaud bourree, <ar...@gmail.com>
> wrote:
> >
> >> I follow instruction from Contibuting Code
> >> <
> https://netbeans.apache.org/participate/submit-pr.html#contributing-code>
> >> page.
> >> 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
> >>
> > Try Java 11. I think support for building on 17 is still work in
> progress.
> >
> > Our contribution guidelines probably need updating, and simplifying,
> now. I
> > was having a look in the context of related things yesterday.
> >
> > Best wishes,
> >
> > Neil
> >
> Neil is correct. Only the basic cluster (-Dcluster.config=basic) can be
> currently built on JDK 17, tests don't work yet.
>
> 8-15 should work for everything else.
>
> set your JAVA_HOME and PATH, then build with:
>
> ant clean
> ant build-nozip -Dcluster.config=basic
>
> regards,
>
> michael
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: How to start contributing ?

Posted by Michael Bien <mb...@gmail.com>.
On 09.01.22 15:27, Neil C Smith wrote:
> On Sun, 9 Jan 2022, 10:25 Arnaud bourree, <ar...@gmail.com> wrote:
>
>> I follow instruction from Contibuting Code
>> <https://netbeans.apache.org/participate/submit-pr.html#contributing-code>
>> page.
>> 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
>>
> Try Java 11. I think support for building on 17 is still work in progress.
>
> Our contribution guidelines probably need updating, and simplifying, now. I
> was having a look in the context of related things yesterday.
>
> Best wishes,
>
> Neil
>
Neil is correct. Only the basic cluster (-Dcluster.config=basic) can be 
currently built on JDK 17, tests don't work yet.

8-15 should work for everything else.

set your JAVA_HOME and PATH, then build with:

ant clean
ant build-nozip -Dcluster.config=basic

regards,

michael


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: How to start contributing ?

Posted by Neil C Smith <ne...@apache.org>.
On Sun, 9 Jan 2022, 10:25 Arnaud bourree, <ar...@gmail.com> wrote:

> I follow instruction from Contibuting Code
> <https://netbeans.apache.org/participate/submit-pr.html#contributing-code>
> page.
> 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
>

Try Java 11. I think support for building on 17 is still work in progress.

Our contribution guidelines probably need updating, and simplifying, now. I
was having a look in the context of related things yesterday.

Best wishes,

Neil

Re: How to start contributing ?

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
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 <ar...@gmail.com>
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
> <ge...@googlemail.com.invalid> 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 <ar...@gmail.com>
> > 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
> > > <ge...@googlemail.com.invalid> 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 <
> > arnaud.bourree@gmail.com>
> > > > 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 <an...@vieiro.net> 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: dev-unsubscribe@netbeans.apache.org
> > > > > > For additional commands, e-mail: dev-help@netbeans.apache.org
> > > > > >
> > > > > > For further information about the NetBeans mailing lists, visit:
> > > > > >
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: How to start contributing ?

Posted by Arnaud bourree <ar...@gmail.com>.
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
<ge...@googlemail.com.invalid> 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 <ar...@gmail.com>
> 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
> > <ge...@googlemail.com.invalid> 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 <
> arnaud.bourree@gmail.com>
> > > 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 <an...@vieiro.net> 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: dev-unsubscribe@netbeans.apache.org
> > > > > For additional commands, e-mail: dev-help@netbeans.apache.org
> > > > >
> > > > > For further information about the NetBeans mailing lists, visit:
> > > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: How to start contributing ?

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
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 <ar...@gmail.com>
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
> <ge...@googlemail.com.invalid> 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 <ar...@gmail.com>
> > 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 <an...@vieiro.net> 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: dev-unsubscribe@netbeans.apache.org
> > > > For additional commands, e-mail: dev-help@netbeans.apache.org
> > > >
> > > > For further information about the NetBeans mailing lists, visit:
> > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > > >
> > > >
> > > >
> > > >
> > >
> >
>

Re: How to start contributing ?

Posted by Arnaud bourree <ar...@gmail.com>.
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
<ge...@googlemail.com.invalid> 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 <ar...@gmail.com>
> 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 <an...@vieiro.net> 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: dev-unsubscribe@netbeans.apache.org
> > > For additional commands, e-mail: dev-help@netbeans.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >
> > >
> > >
> > >
> >
>

Re: How to start contributing ?

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
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 <ar...@gmail.com>
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 <an...@vieiro.net> 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: dev-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>

Re: How to start contributing ?

Posted by Arnaud bourree <ar...@gmail.com>.
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 <an...@vieiro.net> 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: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: How to start contributing ?

Posted by antonio <an...@vieiro.net>.
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: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists