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.

View | Details | Raw Unified | Return to bug 176221
Collapse All | Expand All

(-)a/debugger.jpda.projects/nbproject/project.xml (+9 lines)
Lines 159-164 Link Here
159
                    </run-dependency>
159
                    </run-dependency>
160
                </dependency>
160
                </dependency>
161
                <dependency>
161
                <dependency>
162
                    <code-name-base>org.netbeans.modules.project.ant</code-name-base>
163
                    <build-prerequisite/>
164
                    <compile-dependency/>
165
                    <run-dependency>
166
                        <release-version>1</release-version>
167
                        <specification-version>1.35</specification-version>
168
                    </run-dependency>
169
                </dependency>
170
                <dependency>
162
                    <code-name-base>org.netbeans.modules.projectapi</code-name-base>
171
                    <code-name-base>org.netbeans.modules.projectapi</code-name-base>
163
                    <build-prerequisite/>
172
                    <build-prerequisite/>
164
                    <compile-dependency/>
173
                    <compile-dependency/>
(-)a/debugger.jpda.projects/src/org/netbeans/modules/debugger/jpda/projects/SourcePathProviderImpl.java (-2 / +4 lines)
Lines 88-93 Link Here
88
import org.netbeans.api.project.ui.OpenProjects;
88
import org.netbeans.api.project.ui.OpenProjects;
89
import org.netbeans.spi.java.classpath.support.ClassPathSupport;
89
import org.netbeans.spi.java.classpath.support.ClassPathSupport;
90
90
91
import org.netbeans.spi.project.support.ant.PropertyUtils;
91
import org.openide.filesystems.FileObject;
92
import org.openide.filesystems.FileObject;
92
import org.openide.filesystems.FileStateInvalidException;
93
import org.openide.filesystems.FileStateInvalidException;
93
import org.openide.filesystems.FileUtil;
94
import org.openide.filesystems.FileUtil;
Lines 219-230 Link Here
219
            if (listeningCP != null) {
220
            if (listeningCP != null) {
220
                for (String cp : listeningCP.split(File.pathSeparator)) {
221
                for (String cp : listeningCP.split(File.pathSeparator)) {
221
                    logger.log(Level.FINE, "Listening cp = '" + cp + "'");
222
                    logger.log(Level.FINE, "Listening cp = '" + cp + "'");
222
                    File f = new File(cp);
223
                    File f = PropertyUtils.resolveFile(baseDir, cp);
223
                    f = FileUtil.normalizeFile(f);
224
                    f = FileUtil.normalizeFile(f);
224
                    URL entry = FileUtil.urlForArchiveOrDir(f);
225
                    URL entry = FileUtil.urlForArchiveOrDir(f);
225
226
226
                    if (entry != null) {
227
                    if (entry != null) {
227
                        srcRootsToListenForArtifactsUpdates = new HashSet<FileObject>();
228
                        if (srcRootsToListenForArtifactsUpdates == null)
229
                            srcRootsToListenForArtifactsUpdates = new HashSet<FileObject>();
228
                        for (FileObject src : SourceForBinaryQuery.findSourceRoots(entry).getRoots()) {
230
                        for (FileObject src : SourceForBinaryQuery.findSourceRoots(entry).getRoots()) {
229
                            srcRootsToListenForArtifactsUpdates.add(src);
231
                            srcRootsToListenForArtifactsUpdates.add(src);
230
                        }
232
                        }

Return to bug 176221