Good idea! --emi
-------- Original Message -------- On 3 February 2018 6:03 AM, cowwoc <[email protected]> wrote: >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 [email protected] 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 [email protected] wrote: >>>>On Sat, 27 Jan 2018 at 08:51 Emilian Bold [email protected] >>>> 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: [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 >> > > > >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 > > > > --------------------------------------------------------------------- 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
