See the README at the end here: https://github.com/apache/incubator-netbeans

Your version of Ant according to the above should be 1.9.9 or above.

Gj

On Sat, Dec 23, 2017 at 6:00 PM, Giacomo Trimarchi
<[email protected]> wrote:
> Hi,
>
> Java version:
> java version "1.8.0_151"
> Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
>
> Ant Version:
> Apache Ant(TM) version 1.9.6 compiled on July 8 2015
>
> Regards
> Giacomo
>
>
> On Sat, Dec 23, 2017 at 5:57 PM, Geertjan Wielenga
> <[email protected]> wrote:
>>
>> What's your version of Java and what's your version of Ant?
>>
>> Gj
>>
>> On Sat, Dec 23, 2017 at 5:55 PM, Giacomo Trimarchi
>> <[email protected]> wrote:
>> > Hi,
>> >
>> > I get netbeans from:
>> > - git clone https://github.com/apache/incubator-netbeans
>> > - run "ant" from inside the folder "incubator-netbeans"
>> > but I can not compile it.
>> >
>> >     [javac]   (package org.xml.sax is declared in module java.xml, but
>> > module java.compiler does not read it)
>> >     [javac]
>> >
>> > /home/giacomo/incubator-netbeans/nbbuild/build/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/LayoutParser.java:37:
>> > error: package org.xml.sax.helpers is not visible
>> >     [javac] import org.xml.sax.helpers.DefaultHandler;
>> >     [javac]                   ^
>> >     [javac]   (package org.xml.sax.helpers is declared in module
>> > java.xml,
>> > but module java.compiler does not read it)
>> >     [javac]
>> >
>> > /home/giacomo/incubator-netbeans/nbbuild/build/langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/builders/LayoutParser.java:105:
>> > error: method does not override or implement a method from a supertype
>> >     [javac]     @Override
>> >     [javac]     ^
>> >     [javac]
>> >
>> > /home/giacomo/incubator-netbeans/nbbuild/build/langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/builders/LayoutParser.java:122:
>> > error: method does not override or implement a method from a supertype
>> >     [javac]     @Override
>> >     [javac]     ^
>> >     [javac]
>> >
>> > /home/giacomo/incubator-netbeans/nbbuild/build/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/LayoutParser.java:110:
>> > error: method does not override or implement a method from a supertype
>> >     [javac]     @Override
>> >     [javac]     ^
>> >     [javac]
>> >
>> > /home/giacomo/incubator-netbeans/nbbuild/build/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/builders/LayoutParser.java:126:
>> > error: method does not override or implement a method from a supertype
>> >     [javac]     @Override
>> >     [javac]     ^
>> >     [javac] 11 errors
>> >
>> > BUILD FAILED
>> > /home/giacomo/incubator-netbeans/nbbuild/build.xml:149: Compile failed;
>> > see
>> > the compiler error output for details.
>> >
>> > Total time: 19 seconds
>> > Do you have any suggestion ?
>> >
>> > I am beginner
>> >
>> > Regards
>> > Giacomo
>> >
>> > --
>> > |Giacomo Trimarchi                            Amarula Solutions BV |
>> > |Tecnical Sales                                    Cruquiuskade 47 |
>> > |Phone:  +31(0)851119172                      Amsterdam 1018 AM NL |
>> > |Mobile: +39(342)9082648                                           |
>> > |                  [`as] http://www.amarulasolutions.com           |
>> >
>>
>> ---------------------------------------------------------------------
>> 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
>>
>
>
>
> --
> |Giacomo Trimarchi                            Amarula Solutions BV |
> |Tecnical Sales                                    Cruquiuskade 47 |
> |Phone:  +31(0)851119172                      Amsterdam 1018 AM NL |
> |Mobile: +39(342)9082648                                           |
> |                  [`as] http://www.amarulasolutions.com           |
>

---------------------------------------------------------------------
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