[ https://issues.apache.org/jira/browse/NETBEANS-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Markus Kilås updated NETBEANS-239: ---------------------------------- Environment: - Environment 1: Fedora release 25 (Twenty Five), javac 1.8.0_151, Apache Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected failure as Ant 1.9.9 or above required) - Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache Ant(TM) version 1.10.1 compiled on March 1 2017 - Environment 3: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache Ant(TM) version 1.10.1 compiled on February 2 2017 (downloaded from ant.apache.org) works was: - Environment 1: Fedora release 25 (Twenty Five), javac 1.8.0_151, Apache Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected failure as Ant 1.9.9 or above required) - Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache Ant(TM) version 1.10.1 compiled on March 1 2017 - Environment 3: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache Ant(TM) version 1.10.1 compiled on February 2 2017 (downloaded from ant.apache.org) Summary: Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module with Fedora Ant package (was: Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module) I finally managed to build successfully. I manually downloaded the official Ant binary release and set ANT_HOME and added it to the path and deleted both clones of the repo: {noformat} export ANT_HOME=/home/user/Opt/apache-ant-1.10.1/ export PATH=/home/user/Opt/apache-ant-1.10.1/bin:$PATH ant -version rm incubator-netbeans incubator-netbeans-unclean/ -rf git clone https://github.com/apache/incubator-netbeans.git cd incubator-netbeans/ ant ... snip ... BUILD SUCCESSFUL Total time: 7 minutes 35 seconds {noformat} It seems the issue is when using the Fedora Ant package (compiled in March) as it works with the Apache Ant package of same version but from February. Maybe the official Apache package contains something more that is not included in the Fedora package (just a guess). I also double-checked that I was able to reproduce the issue by again removing the clone, check it out again and try to build with the Fedora Ant which gives the same error. Summary: - Environment 1 does not work (but that was somewhat expected as it was Ant <1.9.9). - Environment 2 with the Fedora packaged Ant 1.10.1 from March does not work. - Environment 3 with the official Apache Ant 1.10.1 from February works. > Build failure: org-netbeans-modules-websvc-saas-api.jar is not a module with > Fedora Ant package > ----------------------------------------------------------------------------------------------- > > Key: NETBEANS-239 > URL: https://issues.apache.org/jira/browse/NETBEANS-239 > Project: NetBeans > Issue Type: Bug > Environment: - Environment 1: Fedora release 25 (Twenty Five), javac > 1.8.0_151, Apache Ant(TM) version 1.9.6 compiled on February 3 2016 (Expected > failure as Ant 1.9.9 or above required) > - Environment 2: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache > Ant(TM) version 1.10.1 compiled on March 1 2017 > - Environment 3: Fedora release 26 (Twenty Six), javac 1.8.0_151, Apache > Ant(TM) version 1.10.1 compiled on February 2 2017 (downloaded from > ant.apache.org) works > Reporter: Markus Kilås > Attachments: ant-output-environment-2.txt, ant-output.txt > > > I just cloned the [incubator-netbeans git > repo|https://github.com/apache/incubator-netbeans] and tried running {{ant}} > to build NetBeans. However the build fails complaining on no manifest for the > all-websvc.saas.api. Am I missing something that needs to be configured for > the build to succeed? > {noformat} > [user@dev-disp incubator-netbeans]$ git pull > Already up-to-date. > [user@dev-disp incubator-netbeans]$ git rev-parse HEAD > f8b6323b690b5edafe91bae750f79db4247dd23c > [user@dev-disp incubator-netbeans]$ ant > Buildfile: > /home/user/VersionControlled/github/apache/incubator-netbeans/build.xml > ... snip ... > projectized-common.release: > [copy] Copying 1 file to > /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon > release: > -init-startlevel: > module-xml-regular: > [nbmerge] Failed to build target: all-websvc.saas.api > BUILD FAILED > /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:469: > The following error occurred while executing this line: > /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:464: > The following error occurred while executing this line: > /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/build.xml:511: > The following error occurred while executing this line: > /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/templates/common.xml:267: > Missing manifest tag OpenIDE-Module; > /home/user/VersionControlled/github/apache/incubator-netbeans/nbbuild/netbeans/websvccommon/modules/org-netbeans-modules-websvc-saas-api.jar > is not a module > Total time: 1 minute 12 seconds > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists