You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/10/10 06:36:03 UTC

[GitHub] JaroslavTulach commented on a change in pull request #957: Fixing "ant clean", clean runs in travis builds

JaroslavTulach commented on a change in pull request #957: Fixing "ant clean", clean runs in travis builds
URL: https://github.com/apache/incubator-netbeans/pull/957#discussion_r223951305
 
 

 ##########
 File path: nbbuild/antsrc/org/netbeans/nbbuild/ParseProjectXml.java
 ##########
 @@ -854,7 +854,9 @@ private void translateModuleAutoDeps(String myCNB, List<Dep> deps, List<URL> mod
             }
             File jar = entry.getJar();
             if (!jar.isFile()) {
-                log("Cannot translate according to " + moduleAutoDeps + " because could not find " + jar, Project.MSG_WARN);
+                if (!Boolean.valueOf(getProject().getProperty("nbbuild.nowarn.missing.autodeps"))) {
+                    log("Cannot translate according to " + moduleAutoDeps + " because could not find " + jar, Project.MSG_WARN);
 
 Review comment:
   The value of the property could influence severity - e.g. the message would always be logged, but (for example) with `MSG_DEBUG` when doing `ant clean`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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

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