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 201680
Collapse All | Expand All

(-)a/nb-cppcheck/manifest.mf (-1 / +1 lines)
Lines 1-6 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
OpenIDE-Module: org.johngull.netbeans.cppcheck
2
OpenIDE-Module: org.johngull.netbeans.cppcheck
3
OpenIDE-Module-Implementation-Version: 1
3
OpenIDE-Module-Localizing-Bundle: org/johngull/netbeans/cppcheck/Bundle.properties
4
OpenIDE-Module-Localizing-Bundle: org/johngull/netbeans/cppcheck/Bundle.properties
4
OpenIDE-Module-Requires: org.openide.windows.WindowManager
5
OpenIDE-Module-Requires: org.openide.windows.WindowManager
5
OpenIDE-Module-Specification-Version: 0.1
6
6
(-)a/nb-cppcheck/nbproject/genfiles.properties (-4 / +4 lines)
Lines 1-8 Link Here
1
build.xml.data.CRC32=81743155
1
build.xml.data.CRC32=a49ac995
2
build.xml.script.CRC32=48086be7
2
build.xml.script.CRC32=48086be7
3
build.xml.stylesheet.CRC32=a56c6a5b@2.47.1
3
build.xml.stylesheet.CRC32=a56c6a5b@2.49
4
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
4
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
5
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6
nbproject/build-impl.xml.data.CRC32=81743155
6
nbproject/build-impl.xml.data.CRC32=a49ac995
7
nbproject/build-impl.xml.script.CRC32=a26976f5
7
nbproject/build-impl.xml.script.CRC32=a26976f5
8
nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.47.1
8
nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.49
(-)a/nb-cppcheck/nbproject/project.properties (+1 lines)
Lines 1-2 Link Here
1
javac.source=1.6
1
javac.source=1.6
2
javac.compilerargs=-Xlint -Xlint:-serial
2
javac.compilerargs=-Xlint -Xlint:-serial
3
spec.version.base=0.1
(-)a/nb-cppcheck/nbproject/project.xml (+8 lines)
Lines 84-89 Link Here
84
                    </run-dependency>
84
                    </run-dependency>
85
                </dependency>
85
                </dependency>
86
                <dependency>
86
                <dependency>
87
                    <code-name-base>org.openide.text</code-name-base>
88
                    <build-prerequisite/>
89
                    <compile-dependency/>
90
                    <run-dependency>
91
                        <specification-version>6.44</specification-version>
92
                    </run-dependency>
93
                </dependency>
94
                <dependency>
87
                    <code-name-base>org.openide.util</code-name-base>
95
                    <code-name-base>org.openide.util</code-name-base>
88
                    <build-prerequisite/>
96
                    <build-prerequisite/>
89
                    <compile-dependency/>
97
                    <compile-dependency/>
(-)a/nb-cppcheck/src/org/johngull/netbeans/cppcheck/SourceOpener.java (-2 / +1 lines)
Lines 4-10 import java.io.File; Link Here
4
4
5
import org.openide.filesystems.FileUtil;
5
import org.openide.filesystems.FileUtil;
6
import org.netbeans.modules.cnd.modelutil.CsmUtilities;
6
import org.netbeans.modules.cnd.modelutil.CsmUtilities;
7
import org.netbeans.modules.cnd.api.model.CsmFile;
8
7
9
/**
8
/**
10
 *
9
 *
Lines 17-22 public class SourceOpener { Link Here
17
    }
16
    }
18
    
17
    
19
    public static void OpenSourceLine(String fullPath, int line) {
18
    public static void OpenSourceLine(String fullPath, int line) {
20
        CsmUtilities.openSource(CsmUtilities.getCsmFile(FileUtil.toFileObject(new File(fullPath)), false, true), line, 0);
19
        CsmUtilities.openSource(FileUtil.toFileObject(new File(fullPath)), line, 0);
21
    }
20
    }
22
}
21
}

Return to bug 201680