This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[custom build 20040527, JDK 1.4.2] There are warning messages in ant output when running build of one particular project. I can't provide much details about creation of the project because I don't remember doing anything special when creating the project. The project contains IDE examples and the build and run works OK. No other project produces these warnings.
Created attachment 15332 [details] ant output
Known issue (David already investigated it). Appears to be harmless; just a warning. Not sure if there is anything we can do in NB but maybe we could track down why Ant is issuing the warning, and if it is useless, submit a patch to suppress it.
BTW occurs whenever you have subprojects of j2seproject.
OK, I will look at the Ant sources as time permits.
These messages for tasks javac, nbjpdastart, debug, and java pop up when following the quickstart guide http://www.netbeans.org/kb/articles/quickstart-40.html. Since this has been open since May, it probably will not be fixed before 4.0 release. Perhaps the release notes or the quickstart guide itself should mention that these messages are harmless. A new user might otherwise think she had done something wrong. Travis
(Added myself to cc)
*** Issue 48900 has been marked as a duplicate of this issue. ***
I think I have it. I will file bug+patch against Ant tomorrow.
Filed as Ant issue <http://issues.apache.org/bugzilla/show_bug.cgi?id=31215>. Possible workaround at our side is to not use default values (different per project) in macro definitions. Do not have strong opinion on it. I'm used to ignore these warnings. Other option could be to filter them out in IDE before passing them to output window.
I worked around this Ant bug in J2SEAntLogger by filtering out these messages. pbuzek, adding you on CC, you might want to do the same in web Ant logger. Fixed in: src/org/netbeans/modules/java/j2seproject/J2SEAntLogger.java new revision: 1.3; previous revision: 1.2
Verified in custom 20041001.
I think this issue is back in 4.1. Please see the problem I reported in #51941 and consider reopening this issue. Should I open a new issue instead?
If you can reproduce the problem in 4.0, certainly reopen it. If you can reproduce in 4.1 but *not* in 4.0, that is interesting.
It seems to be really back. I can reproduce it on dev-200412141900. Happens only if I run Build of j2seproject that has dependency on another project. I will file new issue because it's fixed for 4.0.
Assign the issue to me please.
back in 6.0, maybe because of new ant?
Fixed again. There was probably some change in ant itself, because messages from subprojects are send in AntEvent with script 'build.xml' instead of 'build-impl.xml'. Checking in J2SEAntLogger.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEAntLogger.java,v <-- J2SEAntLogger.java new revision: 1.9; previous revision: 1.8 done
yup.
Integrated into 'main-golden', available in NB_Trunk_Production #267 build Changeset: http://hg.netbeans.org/main/rev/c8c9769ecd4c User: Jesse Glick <jglick@netbeans.org> Log: #104103: AntEvent.scriptLocation was wrong in some cases. (Specifically when a task used Project.log rather than Task.log and it was called via an imported script.) Can thus roll back the hacky refix of #43968.