Show
Ignore:
Timestamp:
04/13/07 17:51:30 (3 years ago)
Author:
mike
Message:

[fix] "#define kju_debug 1" for verbous log messages (txs Andreas F for suggestion)
[fix] added openbios-sparc32 to sparc package (txs Andreas F)
[fix] simplyfied "make install" (txs Andreas F for suggestion)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qcontrol/cocoaControlController.m

    r79 r81  
    784784     
    785785    [[thisPC objectForKey:@"Temporary"] setObject:path forKey:@"-cocoapath"]; 
     786#if kju_debug 
    786787    NSLog(@"-cocoapath: %@", path); 
     788#endif 
    787789    [[thisPC objectForKey:@"PC Data"] setObject:name forKey:@"name"]; 
    788790     
     
    10991101        /* set the -cocoapath */ 
    11001102        [[thisPC objectForKey:@"Temporary"] setObject:[NSString stringWithFormat:@"%@/%@.qvm", [userDefaults objectForKey:@"dataPath"], name] forKey:@"-cocoapath"]; 
     1103#if kju_debug 
    11011104        NSLog(@"cocoapath: %@", [[thisPC objectForKey:@"Temporary"] objectForKey:@"-cocoapath"]); 
     1105#endif 
    11021106         
    11031107        /* Create .qvm */ 
     
    11291133                // copy over into .qvm 
    11301134                [fileManager copyPath:[[qemux objectAtIndex:i] objectForKey:[hds objectAtIndex:ii]] toPath:[NSString stringWithFormat:@"%@/%@",  [[thisPC objectForKey:@"Temporary"] objectForKey:@"-cocoapath"], [[[qemux objectAtIndex:i] objectForKey:[hds objectAtIndex:ii]] lastPathComponent]] handler:nil]; 
     1135#if kju_debug 
    11311136                NSLog(@"copy allowed, done."); 
     1137#endif 
    11321138            } 
     1139#if kju_debug 
    11331140            NSLog(@"hd: %@", [[qemux objectAtIndex:i] objectForKey:[hds objectAtIndex:ii]]); 
    11341141            NSLog(@"copy from %@ to %@", [[qemux objectAtIndex:i] objectForKey:[hds objectAtIndex:ii]], [NSString stringWithFormat:@"%@/%@",    [[thisPC objectForKey:@"Temporary"] objectForKey:@"-cocoapath"], [[[qemux objectAtIndex:i] objectForKey:[hds objectAtIndex:ii]] lastPathComponent]]); 
     1142#endif 
    11351143        } 
    11361144         
     
    15611569     
    15621570    file = [filename stringByAppendingPathComponent:[@"Contents/Resources/Guest" stringByAppendingPathComponent:file]]; 
     1571#if kju_debug 
    15631572    NSLog(@"file: %@", file); 
     1573#endif 
    15641574     
    15651575    /* ready now, show progressPanel */ 
     
    17001710- (void) startPC:(NSString *)filename 
    17011711{ 
    1702     NSLog(@"cocoaControlController: startPC:%@", filename); 
     1712//  NSLog(@"cocoaControlController: startPC:%@", filename); 
    17031713     
    17041714    NSData *data = [NSData dataWithContentsOfFile:[NSString stringWithFormat:@"%@/configuration.plist", filename]]; 
     
    18131823    } 
    18141824 
     1825#if kju_debug 
    18151826    for (i = 0; i < [arguments count]; i++) 
    18161827        NSLog(@"Argument: %@", [arguments objectAtIndex:i]); 
    1817      
     1828#endif 
     1829 
    18181830    /* save Status */ 
    18191831    [[thisPC objectForKey:@"PC Data"] setObject:@"running" forKey:@"state"];