Changeset 38
- Timestamp:
- Apr 14, 2005, 12:02:59 PM (19 years ago)
- Location:
- CMT/HEAD
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r37 r38 1 2005-04-14 Christian Arnault <arnault@lal.in2p3.fr> 267 2 3 * source/cmt_system.cxx (class CMTPathManager): CMTUSERCONTEXT and 4 CMTHOME environments give a specific name to teh associated 5 project. 6 7 * source/cmt_project.cxx (create_project): Fixing the project 8 naming scheme. Project name specified in the project files take 9 precedence over the names found in the path. 10 1 11 2005-04-13 Christian Arnault <arnault@lal.in2p3.fr> 266 2 12 -
CMT/HEAD/source/cmt_project.cxx
r36 r38 341 341 { 342 342 // The specified name is not in the path. 343 343 /* 344 344 if (!Cmt::get_quiet ()) 345 345 { … … 348 348 << " from the caller does not match path." << endl; 349 349 } 350 */ 351 name = specified_name; 350 352 } 351 353 … … 365 367 { 366 368 // The specified name is not in the path. 367 369 /* 368 370 if (!Cmt::get_quiet ()) 369 371 { … … 372 374 << " from project file and from caller does not match path." << endl; 373 375 } 376 */ 377 name = specified_name; 374 378 } 375 379 … … 410 414 << " from project file match path." << endl; 411 415 } 416 417 name = specified_name; 412 418 } 413 419 … … 422 428 // The specified name has been found from the path. 423 429 // We believe in the release spec. 424 430 425 431 } 426 432 else … … 436 442 } 437 443 */ 444 445 name = project_name; 438 446 } 439 447 … … 473 481 { 474 482 // The specified name is not in the path. 475 483 /* 476 484 if (!Cmt::get_quiet ()) 477 485 { … … 480 488 << " from project graph does not match path." << endl; 481 489 } 490 */ 491 name = specified_name; 482 492 } 483 493 … … 1409 1419 int i; 1410 1420 1421 /* 1411 1422 for (i = 0; i < m_parents.size (); i++) 1412 1423 { … … 1422 1433 cout << " C=" << p->get_name (); 1423 1434 } 1435 */ 1424 1436 1425 1437 cout << endl; -
CMT/HEAD/source/cmt_system.cxx
r19 r38 1302 1302 return; 1303 1303 } 1304 1305 m_project = factory.create_project ("", npath, path_source, m_project); 1304 1305 cmt_string project_name; 1306 1307 if ((path_source == "CMTUSERCONTEXT") || 1308 (path_source == "CMTHOME")) 1309 { 1310 project_name = path_source; 1311 } 1312 1313 m_project = factory.create_project (project_name, npath, path_source, m_project); 1306 1314 } 1307 1315 }
Note: See TracChangeset
for help on using the changeset viewer.