Subversion Repositories DevTools

Rev

Rev 4086 | Rev 4197 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4086 Rev 4184
Line 432... Line 432...
432
        #       Set a suitable display name
432
        #       Set a suitable display name
433
        #       Set a suitable tag
433
        #       Set a suitable tag
434
        #
434
        #
435
        $be->{dname} = $opt_exact ? $be->{full}    : $be->{mname};
435
        $be->{dname} = $opt_exact ? $be->{full}    : $be->{mname};
436
        $be->{tag}   = $opt_exact ? $be->{fullTag} : $be->{package};
436
        $be->{tag}   = $opt_exact ? $be->{fullTag} : $be->{package};
-
 
437
        $be->{fname} = join ('_', $be->{name}, $be->{version});
437
 
438
 
438
#        DebugDumpData ("be", $be );
439
#        DebugDumpData ("be", $be );
439
 
440
 
440
        #
441
        #
441
        #   Catch multiple builds for the same package
442
        #   Catch multiple builds for the same package
Line 531... Line 532...
531
        {
532
        {
532
            $more = 1;
533
            $more = 1;
533
            my $fe = $depends{$build};
534
            my $fe = $depends{$build};
534
            my $scan_add = $scan_active ? 1 : 0;
535
            my $scan_add = $scan_active ? 1 : 0;
535
 
536
 
536
            if ( $opt_fromPackage && (($fe->{mname} eq $opt_fromPackage) || ($fe->{name} eq $opt_fromPackage)))
537
            if ( $opt_fromPackage && (($fe->{mname} eq $opt_fromPackage) || ($fe->{name} eq $opt_fromPackage) || ($fe->{fname} eq $opt_fromPackage)))
537
            {
538
            {
538
                $scan_add = 1;
539
                $scan_add = 1;
539
                $scan_active = 1;
540
                $scan_active = 1;
540
                $scan_start = 1;
541
                $scan_start = 1;
541
            }
542
            }
542
 
543
 
543
            if ( $opt_toPackage && (($fe->{mname} eq $opt_toPackage) || ($fe->{name} eq $opt_toPackage)))
544
            if ( $opt_toPackage && (($fe->{mname} eq $opt_toPackage) || ($fe->{name} eq $opt_toPackage) || ($fe->{fname} eq $opt_toPackage)))
544
            {
545
            {
545
                $scan_add = 0;
546
                $scan_add = 0;
546
                $scan_active = 0;
547
                $scan_active = 0;
547
                $scan_stop = 1;
548
                $scan_stop = 1;
548
            }
549
            }
549
 
550
 
550
            if ( @opt_justPackage )
551
            if ( @opt_justPackage )
551
            {
552
            {
552
                foreach my $pname ( @opt_justPackage )
553
                foreach my $pname ( @opt_justPackage )
553
                {
554
                {
554
                    if ( (($fe->{mname} eq $pname) || ($fe->{name} eq $pname)))
555
                    if ( (($fe->{mname} eq $pname) || ($fe->{name} eq $pname) || ($fe->{fname} eq $pname)))
555
                    {
556
                    {
556
                        $scan_add = 1;
557
                        $scan_add = 1;
557
                        delete $notFound{$pname};
558
                        delete $notFound{$pname};
558
                    }
559
                    }
559
                }
560
                }
Line 561... Line 562...
561
            
562
            
562
            if ( @opt_ignorePackage )
563
            if ( @opt_ignorePackage )
563
            {
564
            {
564
                foreach my $pname ( @opt_ignorePackage )
565
                foreach my $pname ( @opt_ignorePackage )
565
                {
566
                {
566
                    if ( (($fe->{mname} eq $pname) || ($fe->{name} eq $pname)))
567
                    if ( (($fe->{mname} eq $pname) || ($fe->{name} eq $pname) || ($fe->{fname} eq $pname)))
567
                    {
568
                    {
568
                        $scan_add = 0;
569
                        $scan_add = 0;
569
                        delete $found{$pname};
570
                        delete $found{$pname};
570
                    }
571
                    }
571
                }
572
                }
Line 1469... Line 1470...
1469
=item B<-toPackage=name>
1470
=item B<-toPackage=name>
1470
 
1471
 
1471
This option is available in all commands that process multiple packages.
1472
This option is available in all commands that process multiple packages.
1472
Package processing will stop at the named package.
1473
Package processing will stop at the named package.
1473
 
1474
 
-
 
1475
The package name can be specicied in one of three forms:
-
 
1476
 
-
 
1477
=over 8
-
 
1478
 
-
 
1479
=item 1 
-
 
1480
 
-
 
1481
Just the package name. ie: MyPackage
-
 
1482
 
-
 
1483
=item 2 
-
 
1484
 
1474
The default operation is to process all packages.
1485
The package name and the project suffix. ie: MyPackage.prj
-
 
1486
 
-
 
1487
=item 3 
-
 
1488
 
-
 
1489
The package name and version, joined with an underscore: ie: MyPackage_1.0.0000.prj
-
 
1490
 
-
 
1491
=back 8
1475
 
1492
 
1476
=item B<-fromPackage=name>
1493
=item B<-fromPackage=name>
1477
 
1494
 
1478
This option is available in all commands that process multiple packages.
1495
This option is available in all commands that process multiple packages.
1479
Package processing will start at the named package.
1496
Package processing will start at the named package.
1480
 
1497
 
1481
The default operation is to process no packages.
1498
The package name can be specified in one of the three forms descibed under the '-toPackage' option.
1482
 
1499
 
1483
=item B<-justPackage=name[,name]>
1500
=item B<-justPackage=name[,name]>
1484
 
1501
 
1485
This option is available in all commands that process multiple packages. The
1502
This option is available in all commands that process multiple packages. The
1486
named packages will be processed in the correct build order. Packages that are
1503
named packages will be processed in the correct build order. Packages that are
Line 1488... Line 1505...
1488
being in the 'fromPackage' to 'toPackage' range.
1505
being in the 'fromPackage' to 'toPackage' range.
1489
 
1506
 
1490
Multiple packages can be named either by separating names with a comma, or
1507
Multiple packages can be named either by separating names with a comma, or
1491
with multiple options.
1508
with multiple options.
1492
 
1509
 
-
 
1510
The package names can be specified as a mix of the three forms descibed under the '-toPackage' option.
-
 
1511
 
1493
=item B<-ignorePackage=name[,name]>
1512
=item B<-ignorePackage=name[,name]>
1494
 
1513
 
1495
This option is available in all commands that process multiple packages. The
1514
This option is available in all commands that process multiple packages. The
1496
named packages will not be processed.
1515
named packages will not be processed.
1497
 
1516
 
1498
Multiple packages can be named either by separating names with a comma, or
1517
Multiple packages can be named either by separating names with a comma, or
1499
with multiple options.
1518
with multiple options.
1500
 
1519
 
1501
The exclusion of a package takes precedence over its inclusion.
1520
The exclusion of a package takes precedence over its inclusion.
1502
 
1521
 
-
 
1522
The package names can be specified as a mix of the three forms descibed under the '-toPackage' option.
-
 
1523
 
1503
=back
1524
=back
1504
 
1525
 
1505
=head1 DESCRIPTION
1526
=head1 DESCRIPTION
1506
 
1527
 
1507
This program is the primary tool for the maintenance of Development Sandboxes.
1528
This program is the primary tool for the maintenance of Development Sandboxes.
Line 1537... Line 1558...
1537
file will be read and used a buildfilter. The file is processed by reading each
1558
file will be read and used a buildfilter. The file is processed by reading each
1538
line and:
1559
line and:
1539
 
1560
 
1540
=over 4
1561
=over 4
1541
 
1562
 
-
 
1563
=item * 
-
 
1564
 
1542
=item * Removing white space at both ends of the line
1565
Removing white space at both ends of the line
-
 
1566
 
-
 
1567
=item * 
-
 
1568
 
-
 
1569
Removing empty lines
-
 
1570
 
-
 
1571
=item * 
1543
 
1572
 
1544
=item * Removing empty lines
1573
Lines that start with a # are comments and are removed
1545
 
1574
 
1546
=item * Lines that start with a # are comments and are removed
1575
=item * 
1547
 
1576
 
1548
=item * Remaining lines are joined together to form a buildfilter
1577
Remaining lines are joined together to form a buildfilter
1549
 
1578
 
1550
=back
1579
=back
1551
 
1580
 
1552
=head1 Create Sandbox
1581
=head1 Create Sandbox
1553
 
1582