Changeset 1554 in ProjectBuilder for devel/pb/bin
- Timestamp:
- May 21, 2012, 3:19:04 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r1553 r1554 479 479 You can then run the command: 480 480 481 % pb -p I<$project> -r I<$version> newproj 482 483 to create the new project. Running the newproj command will then generate the file $pbdefdir/$project/pbconf/$version/$project.pb . You will need to edit that file in order to run any of the later commands.481 % pb -p I<$project> -r I<$version> newproj I<$pkg> 482 483 to create the new project. Running the newproj command will then generate the file $pbdefdir/$project/pbconf/$version/$project.pb, and the directory $pbdefdir/$project/pbconf/$version/$pkg. You will need to edit those files to make the later commands work. 484 484 485 485 =head2 cms2build 486 486 487 The cms2build command takes your files from the content management system and makes the two tar files that are necessary for building files. Before running this command, you need to run the newproj command, and edit the $project.pb configuration file. In particular, you need to set the pburl, pbrepo, pbwf, pbpackager, projver, projtag, testver, deliver, and defpkgdir lines as described in the configuration file. Then you can run a command like: 487 The cms2build command takes your files from the content management system and makes the two tar files that are necessary for building files. You need to have run the newproj command first. Then there are several steps for running this command: 488 489 =over 4 490 491 =item Update your $project.pb configuration file. 492 493 You need to set the pburl, pbrepo, pbwf, pbpackager, projver, projtag, testver, delivery, and defpkgdir lines as described in the configuration file. For example: 494 495 pburl Lintel = file:///home/anderse/projects/Lintel-0.2012.02.28.tar.gz 496 pbrepo Lintel = http://tesla.hpl.hp.com/opensource 497 pbwf Lintel = 1 498 pbpackager Lintel = Eric Anderson <eric.anderson4@hp.com> 499 projver Lintel = 0.2012.02.28 500 projtag Lintel = 1 501 testver Lintel = false 502 delivery Lintel = production 503 defpkgdir Lintel = Lintel-0.2012.02.28 504 505 =item Create the build .tar.gz files: 506 507 Then you need to take those files and create the initial tar files. Run a command like: 488 508 489 509 % pb -p $project -r $version cms2build 490 510 491 511 To create the $pbdefdir/$project/delivery/$project-$version.{,pbconf}.tar.gz files, the $version-$projtag.pb and pbrc files in the same directory. 512 513 =back 492 514 493 515 =head2 build2pkg
Note:
See TracChangeset
for help on using the changeset viewer.