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.
See title. Simple as that. Create new Java project, add an ANT task to build.xml (of course after <import file="nbproject/build-impl.xml"/>): <target name="-pre-init"> <echo>I'm never going to be called</echo> </target> Not working. Besides that, no documentation, no FAQ entry ragarding custom tasks for ANT projects. At least it's so burried away that after an hour I still can't find it. Either way, something has to be fixed here, code or user friendliness. Thank you.
Have to correct myself, I'm talking about a NetBeans Module project.
(In reply to comment #0) > See title. Simple as that. > > Create new Java project, add an ANT task to build.xml > (of course after <import file="nbproject/build-impl.xml"/>): > > <target name="-pre-init"> > <echo>I'm never going to be called</echo> > </target> > > Not working. > > Besides that, no documentation, no FAQ entry ragarding custom tasks for ANT > projects. At least it's so burried away that after an hour I still can't find > it. Either way, something has to be fixed here, code or user friendliness. See <NetBeans-IDE>/harness/README, section TARGETS AVAILABLE FOR OVERRIDING IN YOUR build.xml