not scanning platform/cooja directory (no user processes should reside there)

This commit is contained in:
fros4943 2008-10-03 13:40:56 +00:00
parent 214b6f5f4d
commit 0386dbaf44

View file

@ -24,7 +24,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: GUI.java,v 1.84 2008/10/03 13:17:28 fros4943 Exp $
* $Id: GUI.java,v 1.85 2008/10/03 13:40:56 fros4943 Exp $
*/
package se.sics.cooja;
@ -1067,7 +1067,7 @@ public class GUI extends Observable {
logger.info("> Scanning for user processes");
userProcesses = new Vector<String>();
Vector<String> autostartProcesses = new Vector<String>();
Vector<ContikiProcess> scannedProcesses = ContikiMoteTypeDialog.scanForProcesses(contikiCoreDir);
Vector<ContikiProcess> scannedProcesses = new Vector<ContikiProcess>();
for (String projectDir : projectDirs) {
scannedProcesses.addAll(ContikiMoteTypeDialog.scanForProcesses(new File(projectDir)));
}