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.
ant build-test-dist doesn't work on MacOSX. I'm using ant 1.7.1. Tried both JDKs 1.5 and 1.6 both ends with similar message: do-unit-test-build: [depend] Deleted 2 out of date files in 0 seconds [nb-javac] Compiling 139 source files to /Users/michal/work/mercurial/be-main/java.source/build/test/unit/classes [subant-junit] Note: org.netbeans.api.java.source.SourceUtilsTestUtil$JavacParserProvider to be registered as a org.netbeans.spi.editor.mimelookup.MimeDataProvider [subant-junit] Note: org.netbeans.api.java.source.SourceUtilsTestUtil$JavaMimeResolver to be registered as a org.openide.filesystems.MIMEResolver [subant-junit] Note: org.netbeans.modules.java.TestJavaPlatformProviderImpl to be registered as a org.netbeans.modules.java.platform.JavaPlatformProvider [subant-junit] /Users/michal/work/mercurial/be-main/java.source/test/unit/src/org/netbeans/api/java/source/ APIIsSelfContainedTest.java:263: warning: [deprecation] addFileSystem(org.openide.filesystems.FileSystem) in org.openide.filesystems.Repository has been deprecated [subant-junit] Repository.getDefault().addFileSystem(lfs); [subant-junit] ^ [subant-junit] /Users/michal/work/mercurial/be-main/java.source/test/unit/src/org/netbeans/api/java/source/ ElementHandleTest.java:191: cannot find symbol [subant-junit] symbol : method getTypeElementByBinaryName(java.lang.String) [subant-junit] location: class com.sun.tools.javac.model.JavacElements [subant-junit] Element csl = elements.getTypeElementByBinaryName("java.util.Collections$SingletonList"); .. .. .. . [subant-junit] 16 errors [subant-junit] 24 warnings BUILD FAILED /Users/michal/work/mercurial/be-main/nbbuild/build.xml:1883: The following error occurred while executing this line: /Users/michal/work/mercurial/be-main/nbbuild/templates/common.xml:504: The following error occurred while executing this line: /Users/michal/work/mercurial/be-main/nbbuild/templates/common.xml:467: Compile failed; see the compiler error output for details. Total time: 5 minutes 40 seconds
*** This issue has been marked as a duplicate of 97290 ***