2

I'm trying to build a Netbeans project (I'm not the primary developer) through the command line, using ant and it's failing in javadoc generation.

Is there any way to turn off javadoc during ant compilation?

Šimon Tóth
  • 35,456
  • 20
  • 106
  • 151

1 Answers1

1

Generation of Javadoc can be skipped by explicitly invoking the build phase. Netbeans provide an internal label for this:

ant -f src_dir -Dnb.internal.action.name=build jar
Šimon Tóth
  • 35,456
  • 20
  • 106
  • 151