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.

Bug 161172 - Can't compile test dist on Mac OSX
Summary: Can't compile test dist on Mac OSX
Status: RESOLVED DUPLICATE of bug 97290
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P1 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 17:09 UTC by Michal Zlamal
Modified: 2009-03-26 15:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Zlamal 2009-03-25 17:09:58 UTC
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
Comment 1 Rastislav Komara 2009-03-26 15:14:53 UTC

*** This issue has been marked as a duplicate of 97290 ***