Re: info requested regarding build fail
I have a work-around for building on Fedora, here it is: --- incubator-netbeans-9.0-beta-rc3/websvc.saas.api/build.xml2018-02-09 11:06:36.124001000 + +++ /tmp/incubator-netbeans-9.0-beta-rc3/websvc.saas.api/build.xml 2018-01-31 17:49:31.0 + @@ -33,7 +33,7 @@ - + There's no documentation I can find but looking at the code, XJC2Task ends up executing the same code as XJCTask but without manipulating the class loaders quite as much. "Fix your NetBeans with this one weird trick"!! Would be great if someone could test on SUSE too. Pete On Wed, 7 Feb 2018 at 10:53 Peter Hullwrote: > On Sat, 3 Feb 2018 at 07:37 Emilian Bold > wrote: > >> The bug that keeps on giving. >> >> I was able to recreate something which I *believe* is the same issue that > stops the NB build on fedora, using only packages from their distro. So, > our hands are clean ;) Seriously, though, this means they are able to > reproduce it more easily. > I filed this as https://bugzilla.redhat.com/show_bug.cgi?id=1542899 > Will keep you informed if anything happens. > Peter > > >
Re: info requested regarding build fail
On Sat, 3 Feb 2018 at 07:37 Emilian Boldwrote: > The bug that keeps on giving. > > I was able to recreate something which I *believe* is the same issue that stops the NB build on fedora, using only packages from their distro. So, our hands are clean ;) Seriously, though, this means they are able to reproduce it more easily. I filed this as https://bugzilla.redhat.com/show_bug.cgi?id=1542899 Will keep you informed if anything happens. Peter
Re: info requested regarding build fail
The bug that keeps on giving. --emi Original Message On 3 February 2018 8:52 AM, Peter Hullwrote: >On Fri, 2 Feb 2018 at 22:03 Emilian Bold emilian.b...@protonmail.ch wrote: > >>I believe OpenSUSE could get a bug report that just says 'Apache NetBeans >> cannot be built with your custom Ant'. >>Yes, you are entirely right. But the temptation for them will be to ignore > it and/or blame the NetBeans build scripts for the problem. > > I have made some progress. I've narrowed it down to the xjc tool in JAXB > (specifically their use of com.sun.istack.tools.ProtectedTask to mess > around with classloaders) and can produce an error using a build.xml with > only two tasks in it. I thought the version of JAXB (2.2.5, pretty old) > bundled with NB might be the issue, unfortunately the latest release has a > bug which prevents its use (already reported on GitHub). Argh! Anyway, I > tried to rebuild Fedora's ant using their source RPM and, guess what, no > error. Argh 2! However, this is an itch I have to scratch and I will get > there in the end... > Pete > - To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: info requested regarding build fail
On Fri, 2 Feb 2018 at 22:03 Emilian Boldwrote: > I believe OpenSUSE could get a bug report that just says 'Apache NetBeans > cannot be built with your custom Ant'. > Yes, you are entirely right. But the temptation for them will be to ignore it and/or blame the NetBeans build scripts for the problem. I have made some progress. I've narrowed it down to the xjc tool in JAXB (specifically their use of com.sun.istack.tools.ProtectedTask to mess around with classloaders) and can produce an error using a build.xml with only two tasks in it. I thought the version of JAXB (2.2.5, pretty old) bundled with NB might be the issue, unfortunately the latest release has a bug which prevents its use (already reported on GitHub). Argh! Anyway, I tried to rebuild Fedora's ant using their source RPM and, guess what, no error. Argh 2! However, this is an itch I have to scratch and I will get there in the end... Pete
Re: info requested regarding build fail
Good idea! --emi Original Message On 3 February 2018 6:03 AM, cowwocwrote: >I'd go one step further (if possible). Can you detect whether a user is > attempting to build Netbeans using OpenSUSE Ant? If so, I would file a > bug against OpenSUSE and point users to this bug report if try attempt > to build Netbeans using this wrong version of Ant. Make sure to provide > a workaround in the bug report explaining how to use a different version > of Ant. > > Gili > > On 2018-02-02 5:03 PM, Emilian Bold wrote: >>I believe OpenSUSE could get a bug report that just says 'Apache NetBeans >>cannot be built with your custom Ant'. >>Of course, your deep investigation should help a lot and get you / them >>closer to a patch. >>But not all bug reports need a patch. >>--emi >> Original Message >> On 29 January 2018 3:52 PM, Peter Hull peterhul...@gmail.com wrote: >>>I've done a bit more on this - I believe it is the 'xjc' task that causes >>> the problem. >>> I've added my information to >>>https://issues.apache.org/jira/browse/NETBEANS-239. >>> Hope it helps. >>>On Sat, 27 Jan 2018 at 11:02 Peter Hull peterhul...@gmail.com wrote: On Sat, 27 Jan 2018 at 08:51 Emilian Bold emilian.b...@protonmail.ch wrote: >Would be nice to also see this bug reported to SUSE so we can reference > it in the future. > I've looked into this a bit - I think we would need to provide a bit more > information to SUSE/Fedora to help them take some action. Unfortunately I > have not found the root cause yet. I am assuming that Debian-based distros > are OK and fedora-based ones are not, though there is the complication > that > Debian has version 1.9 and Fedora 1.10. Neither distro makes many changes > to the stock ant source code. > Fedora applies a patch to remove setting the classpath from the ant.jar > manifest, details here: >http://pkgs.fedoraproject.org/cgit/rpms/ant.git/tree/ > Debian has some patches which are to help reproducible builds. >https://packages.debian.org/stretch/ant > So it seems to me the problem lies in the classpath patch. > I have been testing with FC27. If I run ant from the netbeans directory it > fails building the websvc.saas.api module as previously noted; it can't > find the default manifest. This I tracked down to the call to > org.apache.tools.ant.taskdefs.Manifest.getDefaultManifest() ( >https://git-wip-us.apache.org/repos/asf?p=ant.git;a=blob;f=src/main/org/apache/tools/ant/taskdefs/Manifest.java;h=483d8c689ce35e28cf5118cc13c4c80c2db99361;hb=HEAD#l786 > ) > If I re-run ant (without ant clean) I get a different error, which > shouldn't happen. I should get the same error repeatedly. > Also note that the Manifest class is in the same jar as the default > manifest, so, if it were a classpath thing, I can't understand why > Manifest.class is accessible but the default manifest is not. > That's as far as I have got, if anyone has any insights as to how this can > happen please let me know. > Peter > >>> >>To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org >> For additional commands, e-mail: dev-h...@netbeans.incubator.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-unsubscr...@netbeans.incubator.apache.org > For additional commands, e-mail: dev-h...@netbeans.incubator.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-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: info requested regarding build fail
I'd go one step further (if possible). Can you detect whether a user is attempting to build Netbeans using OpenSUSE Ant? If so, I would file a bug against OpenSUSE and point users to this bug report if try attempt to build Netbeans using this wrong version of Ant. Make sure to provide a workaround in the bug report explaining how to use a different version of Ant. Gili On 2018-02-02 5:03 PM, Emilian Bold wrote: I believe OpenSUSE could get a bug report that just says 'Apache NetBeans cannot be built with your custom Ant'. Of course, your deep investigation should help a lot and get you / them closer to a patch. But not all bug reports need a patch. --emi Original Message On 29 January 2018 3:52 PM, Peter Hullwrote: I've done a bit more on this - I believe it is the 'xjc' task that causes the problem. I've added my information to https://issues.apache.org/jira/browse/NETBEANS-239. Hope it helps. On Sat, 27 Jan 2018 at 11:02 Peter Hull peterhul...@gmail.com wrote: On Sat, 27 Jan 2018 at 08:51 Emilian Bold emilian.b...@protonmail.ch wrote: Would be nice to also see this bug reported to SUSE so we can reference it in the future. I've looked into this a bit - I think we would need to provide a bit more information to SUSE/Fedora to help them take some action. Unfortunately I have not found the root cause yet. I am assuming that Debian-based distros are OK and fedora-based ones are not, though there is the complication that Debian has version 1.9 and Fedora 1.10. Neither distro makes many changes to the stock ant source code. Fedora applies a patch to remove setting the classpath from the ant.jar manifest, details here: http://pkgs.fedoraproject.org/cgit/rpms/ant.git/tree/ Debian has some patches which are to help reproducible builds. https://packages.debian.org/stretch/ant So it seems to me the problem lies in the classpath patch. I have been testing with FC27. If I run ant from the netbeans directory it fails building the websvc.saas.api module as previously noted; it can't find the default manifest. This I tracked down to the call to org.apache.tools.ant.taskdefs.Manifest.getDefaultManifest() ( https://git-wip-us.apache.org/repos/asf?p=ant.git;a=blob;f=src/main/org/apache/tools/ant/taskdefs/Manifest.java;h=483d8c689ce35e28cf5118cc13c4c80c2db99361;hb=HEAD#l786 ) If I re-run ant (without ant clean) I get a different error, which shouldn't happen. I should get the same error repeatedly. Also note that the Manifest class is in the same jar as the default manifest, so, if it were a classpath thing, I can't understand why Manifest.class is accessible but the default manifest is not. That's as far as I have got, if anyone has any insights as to how this can happen please let me know. Peter - To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.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-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: info requested regarding build fail
I believe OpenSUSE could get a bug report that just says 'Apache NetBeans cannot be built with your custom Ant'. Of course, your deep investigation should help a lot and get you / them closer to a patch. But not all bug reports need a patch. --emi Original Message On 29 January 2018 3:52 PM, Peter Hullwrote: >I've done a bit more on this - I believe it is the 'xjc' task that causes > the problem. > I've added my information to >https://issues.apache.org/jira/browse/NETBEANS-239. > Hope it helps. > > > On Sat, 27 Jan 2018 at 11:02 Peter Hull peterhul...@gmail.com wrote: > >>On Sat, 27 Jan 2018 at 08:51 Emilian Bold emilian.b...@protonmail.ch >> wrote: >>>Would be nice to also see this bug reported to SUSE so we can reference >>> it in the future. >>>I've looked into this a bit - I think we would need to provide a bit more >>> information to SUSE/Fedora to help them take some action. Unfortunately I >>> have not found the root cause yet. I am assuming that Debian-based distros >>> are OK and fedora-based ones are not, though there is the complication that >>> Debian has version 1.9 and Fedora 1.10. Neither distro makes many changes >>> to the stock ant source code. >>> Fedora applies a patch to remove setting the classpath from the ant.jar >>> manifest, details here: >>>http://pkgs.fedoraproject.org/cgit/rpms/ant.git/tree/ >>> Debian has some patches which are to help reproducible builds. >>>https://packages.debian.org/stretch/ant >>>So it seems to me the problem lies in the classpath patch. >>I have been testing with FC27. If I run ant from the netbeans directory it >> fails building the websvc.saas.api module as previously noted; it can't >> find the default manifest. This I tracked down to the call to >> org.apache.tools.ant.taskdefs.Manifest.getDefaultManifest() ( >>https://git-wip-us.apache.org/repos/asf?p=ant.git;a=blob;f=src/main/org/apache/tools/ant/taskdefs/Manifest.java;h=483d8c689ce35e28cf5118cc13c4c80c2db99361;hb=HEAD#l786 >> ) >> If I re-run ant (without ant clean) I get a different error, which >> shouldn't happen. I should get the same error repeatedly. >>Also note that the Manifest class is in the same jar as the default >> manifest, so, if it were a classpath thing, I can't understand why >> Manifest.class is accessible but the default manifest is not. >>That's as far as I have got, if anyone has any insights as to how this can >> happen please let me know. >>Peter >> > - To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: info requested regarding build fail
I've done a bit more on this - I believe it is the 'xjc' task that causes the problem. I've added my information to https://issues.apache.org/jira/browse/NETBEANS-239. Hope it helps. On Sat, 27 Jan 2018 at 11:02 Peter Hullwrote: > On Sat, 27 Jan 2018 at 08:51 Emilian Bold > wrote: > >> Would be nice to also see this bug reported to SUSE so we can reference >> it in the future. >> >> I've looked into this a bit - I think we would need to provide a bit more > information to SUSE/Fedora to help them take some action. Unfortunately I > have not found the root cause yet. I am assuming that Debian-based distros > are OK and fedora-based ones are not, though there is the complication that > Debian has version 1.9 and Fedora 1.10. Neither distro makes many changes > to the stock ant source code. > Fedora applies a patch to remove setting the classpath from the ant.jar > manifest, details here: > http://pkgs.fedoraproject.org/cgit/rpms/ant.git/tree/ > Debian has some patches which are to help reproducible builds. > https://packages.debian.org/stretch/ant > > So it seems to me the problem lies in the classpath patch. > > I have been testing with FC27. If I run ant from the netbeans directory it > fails building the websvc.saas.api module as previously noted; it can't > find the default manifest. This I tracked down to the call to > org.apache.tools.ant.taskdefs.Manifest.getDefaultManifest() ( > https://git-wip-us.apache.org/repos/asf?p=ant.git;a=blob;f=src/main/org/apache/tools/ant/taskdefs/Manifest.java;h=483d8c689ce35e28cf5118cc13c4c80c2db99361;hb=HEAD#l786 > ) > If I re-run ant (without ant clean) I get a different error, which > shouldn't happen. I should get the same error repeatedly. > > Also note that the Manifest class is in the same jar as the default > manifest, so, if it were a classpath thing, I can't understand why > Manifest.class is accessible but the default manifest is not. > > That's as far as I have got, if anyone has any insights as to how this can > happen please let me know. > > Peter > >
Re: info requested regarding build fail
Would be nice to also see this bug reported to SUSE so we can reference it in the future. --emi Original Message On 21 January 2018 1:44 PM, Markus Kilåswrote: >On 01/20/2018 07:10 PM, Neil C Smith wrote: >>On Sat, 20 Jan 2018, 17:54 Glenn Holmer, ce...@kolabnow.com wrote: >>>Is it possible that SUSE installs Ant with a dependency of OpenJDK and >>> uses that when it's run? Could that make a difference? >>>Considering those of us building and testing on OpenJDK seem to be in the >> majority, I doubt it. >>I'm actually currently building with the Ubuntu packaged Ant 1.9.3 (problem >> Ant is only 1.9.8 AFAIK). All works fine. Sounds like Suse might have a >> packaging issue? >>^^ isn't meant as recommended - pure laziness on my part - still, while >> it's working... ;-) >>Best wishes, >>Neil >>>-- >>> Neil C Smith >>> Artist & Technologist >>>www.neilcsmith.net >>>Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org >> > > I reported the same build failure also with Fedora 26 and its packaged > Ant 1.10.1. See here for the 4 different environments I tried: >https://issues.apache.org/jira/browse/NETBEANS-239 > > The conclusion is that in those environments where the NetBeans build > script is not compatible with the distribution's version of Ant (or > wise-versa if you like), you can instead download the Apache Ant binary > dist and use that, i.e.: > export ANT_HOME=/opt/my-apache-ant-dist > export PATH=$ANT_HOME/bin:$PATH > > Also as pointed out make sure to use a fresh clone and don't relay on > the clean target. > > > Cheers, > Markus > > > > >To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org > For additional commands, e-mail: dev-h...@netbeans.incubator.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-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: info requested regarding build fail
On 01/20/2018 07:10 PM, Neil C Smith wrote: > On Sat, 20 Jan 2018, 17:54 Glenn Holmer,wrote: > >> Is it possible that SUSE installs Ant with a dependency of OpenJDK and >> uses that when it's run? Could that make a difference? >> > > Considering those of us building and testing on OpenJDK seem to be in the > majority, I doubt it. > > I'm actually currently building with the Ubuntu packaged Ant 1.9.3 (problem > Ant is only 1.9.8 AFAIK). All works fine. Sounds like Suse might have a > packaging issue? > > ^^ isn't meant as recommended - pure laziness on my part - still, while > it's working... ;-) > > Best wishes, > > Neil > >> -- > Neil C Smith > Artist & Technologist > www.neilcsmith.net > > Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org > I reported the same build failure also with Fedora 26 and its packaged Ant 1.10.1. See here for the 4 different environments I tried: https://issues.apache.org/jira/browse/NETBEANS-239 The conclusion is that in those environments where the NetBeans build script is not compatible with the distribution's version of Ant (or wise-versa if you like), you can instead download the Apache Ant binary dist and use that, i.e.: export ANT_HOME=/opt/my-apache-ant-dist export PATH=$ANT_HOME/bin:$PATH Also as pointed out make sure to use a fresh clone and don't relay on the clean target. Cheers, Markus - To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: info requested regarding build fail
On Sat, 20 Jan 2018, 17:54 Glenn Holmer,wrote: > Is it possible that SUSE installs Ant with a dependency of OpenJDK and > uses that when it's run? Could that make a difference? > Considering those of us building and testing on OpenJDK seem to be in the majority, I doubt it. I'm actually currently building with the Ubuntu packaged Ant 1.9.3 (problem Ant is only 1.9.8 AFAIK). All works fine. Sounds like Suse might have a packaging issue? ^^ isn't meant as recommended - pure laziness on my part - still, while it's working... ;-) Best wishes, Neil > -- Neil C Smith Artist & Technologist www.neilcsmith.net Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org
Re: info requested regarding build fail
On 01/20/2018 08:35 AM, Chuck Davis wrote: > Yeah, I've been thinking about that. Don't understand how SUSE can > screw-up Ant but since it apparently happened Is it possible that SUSE installs Ant with a dependency of OpenJDK and uses that when it's run? Could that make a difference? -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe." - To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: info requested regarding build fail
Yeah, I've been thinking about that. Don't understand how SUSE can screw-up Ant but since it apparently happened and even Apache Ant 1.9.9 didn't seem to work for me maybe just increment the readme to require Apache Ant 1.10.1 ?? Obviously, Fedora did something to ant as well. I agree with John that we don't want to start listing a bunch of exceptions for various operating platforms. Just update the readme to require Apache Ant with, perhaps, a note that other sources of Ant are unreliable; perhaps a broad statement like "Ant from Linux repositories has not worked in some cases" -- get the real thing from Apache ?? On Sat, Jan 20, 2018 at 12:08 AM, Antoniowrote: > So build fails with openSuse's Ant 1.9.9, doesn't it? > > If so maybe we want to add a small comment in NetBeans' README... > > Cheers, > Antonio > >
Re: info requested regarding build fail
If we start including items like this in the readme, it becomes cluttered and no one can find anything... How about on confluence, maybe a section on this page at the end, https://cwiki.apache.org/confluence/display/NETBEANS/Development+Environment "Common Build Issues", we could include this, and a lot of the other issues people have had. Then the Readme only needs to point to that page. Regards John On 20 January 2018 at 08:08, Antoniowrote: > So build fails with openSuse's Ant 1.9.9, doesn't it? > > If so maybe we want to add a small comment in NetBeans' README... > > Cheers, > Antonio > > > On 19/01/18 22:22, Chuck Davis wrote: > >> Your suggestion worked Gj. Success at last! >> >> I've both cloned and used the source zip successfully with Apache Ant >> 1.10.1. Must be something wrong with openSUSE's compilation of Ant 1.9.9. >> >> Haven't tried to run the results yet because this machine does not yet >> have >> jdk9 on board. But I assume I've joined the success crowd at this point >> and feel comfortable that NB would "just work" since the binaries have >> been >> so smooth. >> >> Thanks to all who have helped find the problem. >> >> >> >> On Fri, Jan 19, 2018 at 12:39 PM, Geertjan Wielenga < >> geertjan.wiele...@googlemail.com> wrote: >> >> I’d start by recloning from scratch, i.e., delete everything you have >>> right >>> now. Clone from scratch then run Ant 1.10.1 again. >>> >>> Gj >>> >>> On Friday, January 19, 2018, Chuck Davis wrote: >>> >>> Just tried with Apache Ant 1.10.1 and got this fail point: build-init: -javac-init-nbjdk: -javac-init-bootclasspath-prepend: -javac-init-no-bootclasspath-prepend: -javac-init: -init-proxy: projectized.init: init: fake-jdbc-40: compile-lib: jar-lib: [jar] Building jar: /downloads/netbeans_9/nbbuild/netbeans/ide/modules/ext/ddl.jar up-to-date: projectized-common.compile: [depend] Deleted 180 out of date files in 0 seconds [nbmerge] Failed to build target: all-db BUILD FAILED /downloads/netbeans_9/nbbuild/build.xml:480: The following error >>> occurred >>> while executing this line: /downloads/netbeans_9/nbbuild/build.xml:475: The following error >>> occurred >>> while executing this line: /downloads/netbeans_9/nbbuild/build.xml:522: The following error >>> occurred >>> while executing this line: /downloads/netbeans_9/nbbuild/templates/common.xml:201: could not delete /downloads/netbeans_9/db/build/classes/org/netbeans/ modules/db/explorer/node/ProcedureNodeProvider$1.class Total time: 21 seconds chuck@Dell7720:/downloads/netbeans_9> On Fri, Jan 19, 2018 at 12:21 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: Definitely looks like a problem with your version of Ant. Thanks also > to >>> John for the related reference as well. > > Gj > > On Friday, January 19, 2018, John McDonnell > wrote: > > Hi Chuck, >> >> Have a look at this thread: >> https://lists.apache.org/thread.html/51dad1ca86facf5b5244ec7136d7e3 >> 0d42915fbb7899e38345ee95f6@%3Cdev.netbeans.apache.org%3E >> >> It seems the initial poster had a similar issue? >> >> Regards >> >> John >> >> On 19 January 2018 at 19:49, Chuck Davis wrote: >> >> Following information as requested. I can provide any other of the >>> >> Ant > output anybody wants to see if it will help (it scrolls way too >>> >> fast >>> to > get >> >>> a clue). But I seem to be the only one not experiencing success so >>> >> I've > >> contented myself to use the binaries others produce. >>> >>> LINK TO SOURCES I USED: >>> >>> https://dist.apache.org/repos/dist/dev/incubator/netbeans/ >>> incubating-netbeans-java/incubating-9.0-beta-rc2/ >>> incubating-netbeans-java-9.0-beta-source.zip >>> >>> MY JAVA VERSION INFO: >>> >>> chuck@Dell7720:~> java -version >>> java version "1.8.0_152" >>> Java(TM) SE Runtime Environment (build 1.8.0_152-b16) >>> Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) >>> chuck@Dell7720:~> >>> >>> ANT VERSION: >>> >>> chuck@Dell7720:~> ant -version >>> Apache Ant(TM) version 1.9.9 compiled on October 28 2017 >>> chuck@Dell7720:~> >>> >>> >>> >>> MESSAGE WHERE BUILD FAILS: >>> >>> >>> compile: >>> >>> jar-prep: >>> >>> jar: >>> [jarwithmoduleattributes] Building jar: >>> /downloads/netbeans_9/nbbuild/netbeans/websvccommon/modules/ >>> org-netbeans-modules-websvc-saas-api.jar >>>[nbmerge] Failed to
Re: info requested regarding build fail
So build fails with openSuse's Ant 1.9.9, doesn't it? If so maybe we want to add a small comment in NetBeans' README... Cheers, Antonio On 19/01/18 22:22, Chuck Davis wrote: Your suggestion worked Gj. Success at last! I've both cloned and used the source zip successfully with Apache Ant 1.10.1. Must be something wrong with openSUSE's compilation of Ant 1.9.9. Haven't tried to run the results yet because this machine does not yet have jdk9 on board. But I assume I've joined the success crowd at this point and feel comfortable that NB would "just work" since the binaries have been so smooth. Thanks to all who have helped find the problem. On Fri, Jan 19, 2018 at 12:39 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: I’d start by recloning from scratch, i.e., delete everything you have right now. Clone from scratch then run Ant 1.10.1 again. Gj On Friday, January 19, 2018, Chuck Daviswrote: Just tried with Apache Ant 1.10.1 and got this fail point: build-init: -javac-init-nbjdk: -javac-init-bootclasspath-prepend: -javac-init-no-bootclasspath-prepend: -javac-init: -init-proxy: projectized.init: init: fake-jdbc-40: compile-lib: jar-lib: [jar] Building jar: /downloads/netbeans_9/nbbuild/netbeans/ide/modules/ext/ddl.jar up-to-date: projectized-common.compile: [depend] Deleted 180 out of date files in 0 seconds [nbmerge] Failed to build target: all-db BUILD FAILED /downloads/netbeans_9/nbbuild/build.xml:480: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/build.xml:475: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/build.xml:522: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/templates/common.xml:201: could not delete /downloads/netbeans_9/db/build/classes/org/netbeans/ modules/db/explorer/node/ProcedureNodeProvider$1.class Total time: 21 seconds chuck@Dell7720:/downloads/netbeans_9> On Fri, Jan 19, 2018 at 12:21 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: Definitely looks like a problem with your version of Ant. Thanks also to John for the related reference as well. Gj On Friday, January 19, 2018, John McDonnell wrote: Hi Chuck, Have a look at this thread: https://lists.apache.org/thread.html/51dad1ca86facf5b5244ec7136d7e3 0d42915fbb7899e38345ee95f6@%3Cdev.netbeans.apache.org%3E It seems the initial poster had a similar issue? Regards John On 19 January 2018 at 19:49, Chuck Davis wrote: Following information as requested. I can provide any other of the Ant output anybody wants to see if it will help (it scrolls way too fast to get a clue). But I seem to be the only one not experiencing success so I've contented myself to use the binaries others produce. LINK TO SOURCES I USED: https://dist.apache.org/repos/dist/dev/incubator/netbeans/ incubating-netbeans-java/incubating-9.0-beta-rc2/ incubating-netbeans-java-9.0-beta-source.zip MY JAVA VERSION INFO: chuck@Dell7720:~> java -version java version "1.8.0_152" Java(TM) SE Runtime Environment (build 1.8.0_152-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) chuck@Dell7720:~> ANT VERSION: chuck@Dell7720:~> ant -version Apache Ant(TM) version 1.9.9 compiled on October 28 2017 chuck@Dell7720:~> MESSAGE WHERE BUILD FAILS: compile: jar-prep: jar: [jarwithmoduleattributes] Building jar: /downloads/netbeans_9/nbbuild/netbeans/websvccommon/modules/ org-netbeans-modules-websvc-saas-api.jar [nbmerge] Failed to build target: all-websvc.saas.api BUILD FAILED /downloads/netbeans_9/nbbuild/build.xml:480: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/build.xml:475: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/build.xml:522: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/templates/common.xml:252: Could not find default manifest: /org/apache/tools/ant/defaultManifest.mf Total time: 3 minutes 19 seconds chuck@Dell7720:/downloads/netbeans_9> - To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: info requested regarding build fail
Great. And you don’t need JDK 9, except if you want to use JShell and other specific JDK 9 features. JDK 8 is fine too. Gj On Friday, January 19, 2018, Chuck Daviswrote: > Your suggestion worked Gj. Success at last! > > I've both cloned and used the source zip successfully with Apache Ant > 1.10.1. Must be something wrong with openSUSE's compilation of Ant 1.9.9. > > Haven't tried to run the results yet because this machine does not yet have > jdk9 on board. But I assume I've joined the success crowd at this point > and feel comfortable that NB would "just work" since the binaries have been > so smooth. > > Thanks to all who have helped find the problem. > > > > On Fri, Jan 19, 2018 at 12:39 PM, Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > > > I’d start by recloning from scratch, i.e., delete everything you have > right > > now. Clone from scratch then run Ant 1.10.1 again. > > > > Gj > > > > On Friday, January 19, 2018, Chuck Davis wrote: > > > > > Just tried with Apache Ant 1.10.1 and got this fail point: > > > > > > > > > build-init: > > > > > > -javac-init-nbjdk: > > > > > > -javac-init-bootclasspath-prepend: > > > > > > -javac-init-no-bootclasspath-prepend: > > > > > > -javac-init: > > > > > > -init-proxy: > > > > > > projectized.init: > > > > > > init: > > > > > > fake-jdbc-40: > > > > > > compile-lib: > > > > > > jar-lib: > > > [jar] Building jar: > > > /downloads/netbeans_9/nbbuild/netbeans/ide/modules/ext/ddl.jar > > > > > > up-to-date: > > > > > > projectized-common.compile: > > >[depend] Deleted 180 out of date files in 0 seconds > > > [nbmerge] Failed to build target: all-db > > > > > > BUILD FAILED > > > /downloads/netbeans_9/nbbuild/build.xml:480: The following error > > occurred > > > while executing this line: > > > /downloads/netbeans_9/nbbuild/build.xml:475: The following error > > occurred > > > while executing this line: > > > /downloads/netbeans_9/nbbuild/build.xml:522: The following error > > occurred > > > while executing this line: > > > /downloads/netbeans_9/nbbuild/templates/common.xml:201: could not > delete > > > /downloads/netbeans_9/db/build/classes/org/netbeans/ > > > modules/db/explorer/node/ProcedureNodeProvider$1.class > > > > > > Total time: 21 seconds > > > chuck@Dell7720:/downloads/netbeans_9> > > > > > > > > > On Fri, Jan 19, 2018 at 12:21 PM, Geertjan Wielenga < > > > geertjan.wiele...@googlemail.com> wrote: > > > > > > > Definitely looks like a problem with your version of Ant. Thanks also > > to > > > > John for the related reference as well. > > > > > > > > Gj > > > > > > > > On Friday, January 19, 2018, John McDonnell < > mcdonnell.j...@gmail.com> > > > > wrote: > > > > > > > > > Hi Chuck, > > > > > > > > > > Have a look at this thread: > > > > > https://lists.apache.org/thread.html/ > 51dad1ca86facf5b5244ec7136d7e3 > > > > > 0d42915fbb7899e38345ee95f6@%3Cdev.netbeans.apache.org%3E > > > > > > > > > > It seems the initial poster had a similar issue? > > > > > > > > > > Regards > > > > > > > > > > John > > > > > > > > > > On 19 January 2018 at 19:49, Chuck Davis > wrote: > > > > > > > > > > > Following information as requested. I can provide any other of > the > > > Ant > > > > > > output anybody wants to see if it will help (it scrolls way too > > fast > > > to > > > > > get > > > > > > a clue). But I seem to be the only one not experiencing success > so > > > > I've > > > > > > contented myself to use the binaries others produce. > > > > > > > > > > > > LINK TO SOURCES I USED: > > > > > > > > > > > > https://dist.apache.org/repos/dist/dev/incubator/netbeans/ > > > > > > incubating-netbeans-java/incubating-9.0-beta-rc2/ > > > > > > incubating-netbeans-java-9.0-beta-source.zip > > > > > > > > > > > > MY JAVA VERSION INFO: > > > > > > > > > > > > chuck@Dell7720:~> java -version > > > > > > java version "1.8.0_152" > > > > > > Java(TM) SE Runtime Environment (build 1.8.0_152-b16) > > > > > > Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) > > > > > > chuck@Dell7720:~> > > > > > > > > > > > > ANT VERSION: > > > > > > > > > > > > chuck@Dell7720:~> ant -version > > > > > > Apache Ant(TM) version 1.9.9 compiled on October 28 2017 > > > > > > chuck@Dell7720:~> > > > > > > > > > > > > > > > > > > > > > > > > MESSAGE WHERE BUILD FAILS: > > > > > > > > > > > > > > > > > > compile: > > > > > > > > > > > > jar-prep: > > > > > > > > > > > > jar: > > > > > > [jarwithmoduleattributes] Building jar: > > > > > > /downloads/netbeans_9/nbbuild/netbeans/websvccommon/modules/ > > > > > > org-netbeans-modules-websvc-saas-api.jar > > > > > > [nbmerge] Failed to build target: all-websvc.saas.api > > > > > > > > > > > > BUILD FAILED > > > > > > /downloads/netbeans_9/nbbuild/build.xml:480: The following error > > > > > occurred > > > > > > while executing this line: > > > > > > /downloads/netbeans_9/nbbuild/build.xml:475: The following error > > > > > occurred > > > >
Re: info requested regarding build fail
Your suggestion worked Gj. Success at last! I've both cloned and used the source zip successfully with Apache Ant 1.10.1. Must be something wrong with openSUSE's compilation of Ant 1.9.9. Haven't tried to run the results yet because this machine does not yet have jdk9 on board. But I assume I've joined the success crowd at this point and feel comfortable that NB would "just work" since the binaries have been so smooth. Thanks to all who have helped find the problem. On Fri, Jan 19, 2018 at 12:39 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > I’d start by recloning from scratch, i.e., delete everything you have right > now. Clone from scratch then run Ant 1.10.1 again. > > Gj > > On Friday, January 19, 2018, Chuck Daviswrote: > > > Just tried with Apache Ant 1.10.1 and got this fail point: > > > > > > build-init: > > > > -javac-init-nbjdk: > > > > -javac-init-bootclasspath-prepend: > > > > -javac-init-no-bootclasspath-prepend: > > > > -javac-init: > > > > -init-proxy: > > > > projectized.init: > > > > init: > > > > fake-jdbc-40: > > > > compile-lib: > > > > jar-lib: > > [jar] Building jar: > > /downloads/netbeans_9/nbbuild/netbeans/ide/modules/ext/ddl.jar > > > > up-to-date: > > > > projectized-common.compile: > >[depend] Deleted 180 out of date files in 0 seconds > > [nbmerge] Failed to build target: all-db > > > > BUILD FAILED > > /downloads/netbeans_9/nbbuild/build.xml:480: The following error > occurred > > while executing this line: > > /downloads/netbeans_9/nbbuild/build.xml:475: The following error > occurred > > while executing this line: > > /downloads/netbeans_9/nbbuild/build.xml:522: The following error > occurred > > while executing this line: > > /downloads/netbeans_9/nbbuild/templates/common.xml:201: could not delete > > /downloads/netbeans_9/db/build/classes/org/netbeans/ > > modules/db/explorer/node/ProcedureNodeProvider$1.class > > > > Total time: 21 seconds > > chuck@Dell7720:/downloads/netbeans_9> > > > > > > On Fri, Jan 19, 2018 at 12:21 PM, Geertjan Wielenga < > > geertjan.wiele...@googlemail.com> wrote: > > > > > Definitely looks like a problem with your version of Ant. Thanks also > to > > > John for the related reference as well. > > > > > > Gj > > > > > > On Friday, January 19, 2018, John McDonnell > > > wrote: > > > > > > > Hi Chuck, > > > > > > > > Have a look at this thread: > > > > https://lists.apache.org/thread.html/51dad1ca86facf5b5244ec7136d7e3 > > > > 0d42915fbb7899e38345ee95f6@%3Cdev.netbeans.apache.org%3E > > > > > > > > It seems the initial poster had a similar issue? > > > > > > > > Regards > > > > > > > > John > > > > > > > > On 19 January 2018 at 19:49, Chuck Davis wrote: > > > > > > > > > Following information as requested. I can provide any other of the > > Ant > > > > > output anybody wants to see if it will help (it scrolls way too > fast > > to > > > > get > > > > > a clue). But I seem to be the only one not experiencing success so > > > I've > > > > > contented myself to use the binaries others produce. > > > > > > > > > > LINK TO SOURCES I USED: > > > > > > > > > > https://dist.apache.org/repos/dist/dev/incubator/netbeans/ > > > > > incubating-netbeans-java/incubating-9.0-beta-rc2/ > > > > > incubating-netbeans-java-9.0-beta-source.zip > > > > > > > > > > MY JAVA VERSION INFO: > > > > > > > > > > chuck@Dell7720:~> java -version > > > > > java version "1.8.0_152" > > > > > Java(TM) SE Runtime Environment (build 1.8.0_152-b16) > > > > > Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) > > > > > chuck@Dell7720:~> > > > > > > > > > > ANT VERSION: > > > > > > > > > > chuck@Dell7720:~> ant -version > > > > > Apache Ant(TM) version 1.9.9 compiled on October 28 2017 > > > > > chuck@Dell7720:~> > > > > > > > > > > > > > > > > > > > > MESSAGE WHERE BUILD FAILS: > > > > > > > > > > > > > > > compile: > > > > > > > > > > jar-prep: > > > > > > > > > > jar: > > > > > [jarwithmoduleattributes] Building jar: > > > > > /downloads/netbeans_9/nbbuild/netbeans/websvccommon/modules/ > > > > > org-netbeans-modules-websvc-saas-api.jar > > > > > [nbmerge] Failed to build target: all-websvc.saas.api > > > > > > > > > > BUILD FAILED > > > > > /downloads/netbeans_9/nbbuild/build.xml:480: The following error > > > > occurred > > > > > while executing this line: > > > > > /downloads/netbeans_9/nbbuild/build.xml:475: The following error > > > > occurred > > > > > while executing this line: > > > > > /downloads/netbeans_9/nbbuild/build.xml:522: The following error > > > > occurred > > > > > while executing this line: > > > > > /downloads/netbeans_9/nbbuild/templates/common.xml:252: Could not > > find > > > > > default manifest: /org/apache/tools/ant/defaultManifest.mf > > > > > > > > > > Total time: 3 minutes 19 seconds > > > > > chuck@Dell7720:/downloads/netbeans_9> > > > > > > > > > > > > > > >
Re: info requested regarding build fail
I’d start by recloning from scratch, i.e., delete everything you have right now. Clone from scratch then run Ant 1.10.1 again. Gj On Friday, January 19, 2018, Chuck Daviswrote: > Just tried with Apache Ant 1.10.1 and got this fail point: > > > build-init: > > -javac-init-nbjdk: > > -javac-init-bootclasspath-prepend: > > -javac-init-no-bootclasspath-prepend: > > -javac-init: > > -init-proxy: > > projectized.init: > > init: > > fake-jdbc-40: > > compile-lib: > > jar-lib: > [jar] Building jar: > /downloads/netbeans_9/nbbuild/netbeans/ide/modules/ext/ddl.jar > > up-to-date: > > projectized-common.compile: >[depend] Deleted 180 out of date files in 0 seconds > [nbmerge] Failed to build target: all-db > > BUILD FAILED > /downloads/netbeans_9/nbbuild/build.xml:480: The following error occurred > while executing this line: > /downloads/netbeans_9/nbbuild/build.xml:475: The following error occurred > while executing this line: > /downloads/netbeans_9/nbbuild/build.xml:522: The following error occurred > while executing this line: > /downloads/netbeans_9/nbbuild/templates/common.xml:201: could not delete > /downloads/netbeans_9/db/build/classes/org/netbeans/ > modules/db/explorer/node/ProcedureNodeProvider$1.class > > Total time: 21 seconds > chuck@Dell7720:/downloads/netbeans_9> > > > On Fri, Jan 19, 2018 at 12:21 PM, Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > > > Definitely looks like a problem with your version of Ant. Thanks also to > > John for the related reference as well. > > > > Gj > > > > On Friday, January 19, 2018, John McDonnell > > wrote: > > > > > Hi Chuck, > > > > > > Have a look at this thread: > > > https://lists.apache.org/thread.html/51dad1ca86facf5b5244ec7136d7e3 > > > 0d42915fbb7899e38345ee95f6@%3Cdev.netbeans.apache.org%3E > > > > > > It seems the initial poster had a similar issue? > > > > > > Regards > > > > > > John > > > > > > On 19 January 2018 at 19:49, Chuck Davis wrote: > > > > > > > Following information as requested. I can provide any other of the > Ant > > > > output anybody wants to see if it will help (it scrolls way too fast > to > > > get > > > > a clue). But I seem to be the only one not experiencing success so > > I've > > > > contented myself to use the binaries others produce. > > > > > > > > LINK TO SOURCES I USED: > > > > > > > > https://dist.apache.org/repos/dist/dev/incubator/netbeans/ > > > > incubating-netbeans-java/incubating-9.0-beta-rc2/ > > > > incubating-netbeans-java-9.0-beta-source.zip > > > > > > > > MY JAVA VERSION INFO: > > > > > > > > chuck@Dell7720:~> java -version > > > > java version "1.8.0_152" > > > > Java(TM) SE Runtime Environment (build 1.8.0_152-b16) > > > > Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) > > > > chuck@Dell7720:~> > > > > > > > > ANT VERSION: > > > > > > > > chuck@Dell7720:~> ant -version > > > > Apache Ant(TM) version 1.9.9 compiled on October 28 2017 > > > > chuck@Dell7720:~> > > > > > > > > > > > > > > > > MESSAGE WHERE BUILD FAILS: > > > > > > > > > > > > compile: > > > > > > > > jar-prep: > > > > > > > > jar: > > > > [jarwithmoduleattributes] Building jar: > > > > /downloads/netbeans_9/nbbuild/netbeans/websvccommon/modules/ > > > > org-netbeans-modules-websvc-saas-api.jar > > > > [nbmerge] Failed to build target: all-websvc.saas.api > > > > > > > > BUILD FAILED > > > > /downloads/netbeans_9/nbbuild/build.xml:480: The following error > > > occurred > > > > while executing this line: > > > > /downloads/netbeans_9/nbbuild/build.xml:475: The following error > > > occurred > > > > while executing this line: > > > > /downloads/netbeans_9/nbbuild/build.xml:522: The following error > > > occurred > > > > while executing this line: > > > > /downloads/netbeans_9/nbbuild/templates/common.xml:252: Could not > find > > > > default manifest: /org/apache/tools/ant/defaultManifest.mf > > > > > > > > Total time: 3 minutes 19 seconds > > > > chuck@Dell7720:/downloads/netbeans_9> > > > > > > > > > >
Re: info requested regarding build fail
Just tried with Apache Ant 1.10.1 and got this fail point: build-init: -javac-init-nbjdk: -javac-init-bootclasspath-prepend: -javac-init-no-bootclasspath-prepend: -javac-init: -init-proxy: projectized.init: init: fake-jdbc-40: compile-lib: jar-lib: [jar] Building jar: /downloads/netbeans_9/nbbuild/netbeans/ide/modules/ext/ddl.jar up-to-date: projectized-common.compile: [depend] Deleted 180 out of date files in 0 seconds [nbmerge] Failed to build target: all-db BUILD FAILED /downloads/netbeans_9/nbbuild/build.xml:480: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/build.xml:475: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/build.xml:522: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/templates/common.xml:201: could not delete /downloads/netbeans_9/db/build/classes/org/netbeans/modules/db/explorer/node/ProcedureNodeProvider$1.class Total time: 21 seconds chuck@Dell7720:/downloads/netbeans_9> On Fri, Jan 19, 2018 at 12:21 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Definitely looks like a problem with your version of Ant. Thanks also to > John for the related reference as well. > > Gj > > On Friday, January 19, 2018, John McDonnell> wrote: > > > Hi Chuck, > > > > Have a look at this thread: > > https://lists.apache.org/thread.html/51dad1ca86facf5b5244ec7136d7e3 > > 0d42915fbb7899e38345ee95f6@%3Cdev.netbeans.apache.org%3E > > > > It seems the initial poster had a similar issue? > > > > Regards > > > > John > > > > On 19 January 2018 at 19:49, Chuck Davis wrote: > > > > > Following information as requested. I can provide any other of the Ant > > > output anybody wants to see if it will help (it scrolls way too fast to > > get > > > a clue). But I seem to be the only one not experiencing success so > I've > > > contented myself to use the binaries others produce. > > > > > > LINK TO SOURCES I USED: > > > > > > https://dist.apache.org/repos/dist/dev/incubator/netbeans/ > > > incubating-netbeans-java/incubating-9.0-beta-rc2/ > > > incubating-netbeans-java-9.0-beta-source.zip > > > > > > MY JAVA VERSION INFO: > > > > > > chuck@Dell7720:~> java -version > > > java version "1.8.0_152" > > > Java(TM) SE Runtime Environment (build 1.8.0_152-b16) > > > Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) > > > chuck@Dell7720:~> > > > > > > ANT VERSION: > > > > > > chuck@Dell7720:~> ant -version > > > Apache Ant(TM) version 1.9.9 compiled on October 28 2017 > > > chuck@Dell7720:~> > > > > > > > > > > > > MESSAGE WHERE BUILD FAILS: > > > > > > > > > compile: > > > > > > jar-prep: > > > > > > jar: > > > [jarwithmoduleattributes] Building jar: > > > /downloads/netbeans_9/nbbuild/netbeans/websvccommon/modules/ > > > org-netbeans-modules-websvc-saas-api.jar > > > [nbmerge] Failed to build target: all-websvc.saas.api > > > > > > BUILD FAILED > > > /downloads/netbeans_9/nbbuild/build.xml:480: The following error > > occurred > > > while executing this line: > > > /downloads/netbeans_9/nbbuild/build.xml:475: The following error > > occurred > > > while executing this line: > > > /downloads/netbeans_9/nbbuild/build.xml:522: The following error > > occurred > > > while executing this line: > > > /downloads/netbeans_9/nbbuild/templates/common.xml:252: Could not find > > > default manifest: /org/apache/tools/ant/defaultManifest.mf > > > > > > Total time: 3 minutes 19 seconds > > > chuck@Dell7720:/downloads/netbeans_9> > > > > > >
Re: info requested regarding build fail
Definitely looks like a problem with your version of Ant. Thanks also to John for the related reference as well. Gj On Friday, January 19, 2018, John McDonnellwrote: > Hi Chuck, > > Have a look at this thread: > https://lists.apache.org/thread.html/51dad1ca86facf5b5244ec7136d7e3 > 0d42915fbb7899e38345ee95f6@%3Cdev.netbeans.apache.org%3E > > It seems the initial poster had a similar issue? > > Regards > > John > > On 19 January 2018 at 19:49, Chuck Davis wrote: > > > Following information as requested. I can provide any other of the Ant > > output anybody wants to see if it will help (it scrolls way too fast to > get > > a clue). But I seem to be the only one not experiencing success so I've > > contented myself to use the binaries others produce. > > > > LINK TO SOURCES I USED: > > > > https://dist.apache.org/repos/dist/dev/incubator/netbeans/ > > incubating-netbeans-java/incubating-9.0-beta-rc2/ > > incubating-netbeans-java-9.0-beta-source.zip > > > > MY JAVA VERSION INFO: > > > > chuck@Dell7720:~> java -version > > java version "1.8.0_152" > > Java(TM) SE Runtime Environment (build 1.8.0_152-b16) > > Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) > > chuck@Dell7720:~> > > > > ANT VERSION: > > > > chuck@Dell7720:~> ant -version > > Apache Ant(TM) version 1.9.9 compiled on October 28 2017 > > chuck@Dell7720:~> > > > > > > > > MESSAGE WHERE BUILD FAILS: > > > > > > compile: > > > > jar-prep: > > > > jar: > > [jarwithmoduleattributes] Building jar: > > /downloads/netbeans_9/nbbuild/netbeans/websvccommon/modules/ > > org-netbeans-modules-websvc-saas-api.jar > > [nbmerge] Failed to build target: all-websvc.saas.api > > > > BUILD FAILED > > /downloads/netbeans_9/nbbuild/build.xml:480: The following error > occurred > > while executing this line: > > /downloads/netbeans_9/nbbuild/build.xml:475: The following error > occurred > > while executing this line: > > /downloads/netbeans_9/nbbuild/build.xml:522: The following error > occurred > > while executing this line: > > /downloads/netbeans_9/nbbuild/templates/common.xml:252: Could not find > > default manifest: /org/apache/tools/ant/defaultManifest.mf > > > > Total time: 3 minutes 19 seconds > > chuck@Dell7720:/downloads/netbeans_9> > > >
Re: info requested regarding build fail
Hi John: I uninstalled openSUSE Ant and installed Apache Ant 1.9.9. At least I get a different failure.and a lot sooner in the process -- 33 seconds as opposed to 3+ minutes. I'll study the rest of that thread more thoroughly. It is little comfort to know that poor soul had a similar problem but at least I'm not alone anymore.and maybe Ant is the problem MY NEW FAILURE MESSAGE USING APACHE ANT 1.9.9 up-to-date: projectized-common.compile: compile: jar-prep: jar: netbeans-extra: javahelp: module-auto-deps: projectized-common.release: [copy] Copying 1 file to /downloads/netbeans_9/nbbuild/netbeans/websvccommon release: -init-startlevel: module-xml-regular: [nbmerge] Failed to build target: all-websvc.saas.api BUILD FAILED /downloads/netbeans_9/nbbuild/build.xml:480: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/build.xml:475: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/build.xml:522: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/templates/common.xml:267: Missing manifest tag OpenIDE-Module; /downloads/netbeans_9/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar is not a module Total time: 33 seconds chuck@Dell7720:/downloads/netbeans_9> On Fri, Jan 19, 2018 at 11:54 AM, John McDonnellwrote: > Hi Chuck, > > Have a look at this thread: > https://lists.apache.org/thread.html/51dad1ca86facf5b5244ec7136d7e3 > 0d42915fbb7899e38345ee95f6@%3Cdev.netbeans.apache.org%3E > > It seems the initial poster had a similar issue? > > Regards > > John > > On 19 January 2018 at 19:49, Chuck Davis wrote: > > > Following information as requested. I can provide any other of the Ant > > output anybody wants to see if it will help (it scrolls way too fast to > get > > a clue). But I seem to be the only one not experiencing success so I've > > contented myself to use the binaries others produce. > > > > LINK TO SOURCES I USED: > > > > https://dist.apache.org/repos/dist/dev/incubator/netbeans/ > > incubating-netbeans-java/incubating-9.0-beta-rc2/ > > incubating-netbeans-java-9.0-beta-source.zip > > > > MY JAVA VERSION INFO: > > > > chuck@Dell7720:~> java -version > > java version "1.8.0_152" > > Java(TM) SE Runtime Environment (build 1.8.0_152-b16) > > Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) > > chuck@Dell7720:~> > > > > ANT VERSION: > > > > chuck@Dell7720:~> ant -version > > Apache Ant(TM) version 1.9.9 compiled on October 28 2017 > > chuck@Dell7720:~> > > > > > > > > MESSAGE WHERE BUILD FAILS: > > > > > > compile: > > > > jar-prep: > > > > jar: > > [jarwithmoduleattributes] Building jar: > > /downloads/netbeans_9/nbbuild/netbeans/websvccommon/modules/ > > org-netbeans-modules-websvc-saas-api.jar > > [nbmerge] Failed to build target: all-websvc.saas.api > > > > BUILD FAILED > > /downloads/netbeans_9/nbbuild/build.xml:480: The following error > occurred > > while executing this line: > > /downloads/netbeans_9/nbbuild/build.xml:475: The following error > occurred > > while executing this line: > > /downloads/netbeans_9/nbbuild/build.xml:522: The following error > occurred > > while executing this line: > > /downloads/netbeans_9/nbbuild/templates/common.xml:252: Could not find > > default manifest: /org/apache/tools/ant/defaultManifest.mf > > > > Total time: 3 minutes 19 seconds > > chuck@Dell7720:/downloads/netbeans_9> > > >
Re: info requested regarding build fail
Hi Chuck, Have a look at this thread: https://lists.apache.org/thread.html/51dad1ca86facf5b5244ec7136d7e30d42915fbb7899e38345ee95f6@%3Cdev.netbeans.apache.org%3E It seems the initial poster had a similar issue? Regards John On 19 January 2018 at 19:49, Chuck Daviswrote: > Following information as requested. I can provide any other of the Ant > output anybody wants to see if it will help (it scrolls way too fast to get > a clue). But I seem to be the only one not experiencing success so I've > contented myself to use the binaries others produce. > > LINK TO SOURCES I USED: > > https://dist.apache.org/repos/dist/dev/incubator/netbeans/ > incubating-netbeans-java/incubating-9.0-beta-rc2/ > incubating-netbeans-java-9.0-beta-source.zip > > MY JAVA VERSION INFO: > > chuck@Dell7720:~> java -version > java version "1.8.0_152" > Java(TM) SE Runtime Environment (build 1.8.0_152-b16) > Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) > chuck@Dell7720:~> > > ANT VERSION: > > chuck@Dell7720:~> ant -version > Apache Ant(TM) version 1.9.9 compiled on October 28 2017 > chuck@Dell7720:~> > > > > MESSAGE WHERE BUILD FAILS: > > > compile: > > jar-prep: > > jar: > [jarwithmoduleattributes] Building jar: > /downloads/netbeans_9/nbbuild/netbeans/websvccommon/modules/ > org-netbeans-modules-websvc-saas-api.jar > [nbmerge] Failed to build target: all-websvc.saas.api > > BUILD FAILED > /downloads/netbeans_9/nbbuild/build.xml:480: The following error occurred > while executing this line: > /downloads/netbeans_9/nbbuild/build.xml:475: The following error occurred > while executing this line: > /downloads/netbeans_9/nbbuild/build.xml:522: The following error occurred > while executing this line: > /downloads/netbeans_9/nbbuild/templates/common.xml:252: Could not find > default manifest: /org/apache/tools/ant/defaultManifest.mf > > Total time: 3 minutes 19 seconds > chuck@Dell7720:/downloads/netbeans_9> >
Re: info requested regarding build fail
Following information as requested. I can provide any other of the Ant output anybody wants to see if it will help (it scrolls way too fast to get a clue). But I seem to be the only one not experiencing success so I've contented myself to use the binaries others produce. LINK TO SOURCES I USED: https://dist.apache.org/repos/dist/dev/incubator/netbeans/incubating-netbeans-java/incubating-9.0-beta-rc2/incubating-netbeans-java-9.0-beta-source.zip MY JAVA VERSION INFO: chuck@Dell7720:~> java -version java version "1.8.0_152" Java(TM) SE Runtime Environment (build 1.8.0_152-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.152-b16, mixed mode) chuck@Dell7720:~> ANT VERSION: chuck@Dell7720:~> ant -version Apache Ant(TM) version 1.9.9 compiled on October 28 2017 chuck@Dell7720:~> MESSAGE WHERE BUILD FAILS: compile: jar-prep: jar: [jarwithmoduleattributes] Building jar: /downloads/netbeans_9/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar [nbmerge] Failed to build target: all-websvc.saas.api BUILD FAILED /downloads/netbeans_9/nbbuild/build.xml:480: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/build.xml:475: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/build.xml:522: The following error occurred while executing this line: /downloads/netbeans_9/nbbuild/templates/common.xml:252: Could not find default manifest: /org/apache/tools/ant/defaultManifest.mf Total time: 3 minutes 19 seconds chuck@Dell7720:/downloads/netbeans_9>