autobuild 0.6 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +21 -0
- data/Manifest.txt +34 -0
- data/{README → README.txt} +0 -0
- data/Rakefile +13 -156
- data/bin/autobuild +3 -1
- data/lib/autobuild/import/cvs.rb +8 -2
- data/lib/autobuild/import/svn.rb +6 -0
- data/lib/autobuild/packages/autotools.rb +2 -1
- data/lib/autobuild/packages/genom.rb +35 -7
- data/lib/autobuild/packages/import.rb +1 -2
- data/lib/autobuild/packages/pkgconfig.rb +24 -0
- data/lib/autobuild/packages/ruby.rb +53 -0
- data/lib/autobuild/pkgconfig.rb +43 -0
- data/lib/autobuild/reporting.rb +1 -1
- data/lib/autobuild/subcommand.rb +3 -0
- data/lib/autobuild/timestamps.rb +4 -4
- data/samples/demo.rb +25 -0
- data/test/data/cvsroot.tar +0 -0
- data/test/data/svnroot.tar +0 -0
- data/test/data/tarimport.tar.gz +0 -0
- data/test/test_import_svn.rb +1 -1
- data/test/test_subcommand.rb +6 -3
- metadata +40 -369
- data/doc/classes/Autobuild.html +0 -557
- data/doc/classes/Autobuild.src/M000005.html +0 -31
- data/doc/classes/Autobuild.src/M000006.html +0 -47
- data/doc/classes/Autobuild.src/M000007.html +0 -18
- data/doc/classes/Autobuild.src/M000008.html +0 -18
- data/doc/classes/Autobuild.src/M000009.html +0 -18
- data/doc/classes/Autobuild.src/M000010.html +0 -18
- data/doc/classes/Autobuild.src/M000011.html +0 -18
- data/doc/classes/Autobuild.src/M000012.html +0 -18
- data/doc/classes/Autobuild.src/M000013.html +0 -25
- data/doc/classes/Autobuild.src/M000014.html +0 -19
- data/doc/classes/Autobuild.src/M000015.html +0 -19
- data/doc/classes/Autobuild.src/M000016.html +0 -16
- data/doc/classes/Autobuild.src/M000017.html +0 -20
- data/doc/classes/Autobuild.src/M000018.html +0 -18
- data/doc/classes/Autobuild.src/M000019.html +0 -52
- data/doc/classes/Autobuild.src/M000020.html +0 -44
- data/doc/classes/Autobuild.src/M000021.html +0 -19
- data/doc/classes/Autobuild.src/M000022.html +0 -19
- data/doc/classes/Autobuild.src/M000023.html +0 -20
- data/doc/classes/Autobuild.src/M000024.html +0 -22
- data/doc/classes/Autobuild.src/M000033.html +0 -31
- data/doc/classes/Autobuild.src/M000034.html +0 -47
- data/doc/classes/Autobuild.src/M000035.html +0 -18
- data/doc/classes/Autobuild.src/M000036.html +0 -18
- data/doc/classes/Autobuild.src/M000037.html +0 -18
- data/doc/classes/Autobuild.src/M000038.html +0 -18
- data/doc/classes/Autobuild.src/M000039.html +0 -18
- data/doc/classes/Autobuild.src/M000040.html +0 -18
- data/doc/classes/Autobuild.src/M000041.html +0 -25
- data/doc/classes/Autobuild.src/M000042.html +0 -19
- data/doc/classes/Autobuild.src/M000043.html +0 -19
- data/doc/classes/Autobuild.src/M000044.html +0 -16
- data/doc/classes/Autobuild.src/M000045.html +0 -20
- data/doc/classes/Autobuild.src/M000046.html +0 -18
- data/doc/classes/Autobuild.src/M000047.html +0 -52
- data/doc/classes/Autobuild.src/M000048.html +0 -44
- data/doc/classes/Autobuild.src/M000049.html +0 -19
- data/doc/classes/Autobuild.src/M000050.html +0 -19
- data/doc/classes/Autobuild.src/M000051.html +0 -20
- data/doc/classes/Autobuild.src/M000052.html +0 -22
- data/doc/classes/Autobuild/Autotools.html +0 -329
- data/doc/classes/Autobuild/Autotools.src/M000055.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000056.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000057.html +0 -16
- data/doc/classes/Autobuild/Autotools.src/M000058.html +0 -16
- data/doc/classes/Autobuild/Autotools.src/M000059.html +0 -22
- data/doc/classes/Autobuild/Autotools.src/M000060.html +0 -29
- data/doc/classes/Autobuild/Autotools.src/M000061.html +0 -21
- data/doc/classes/Autobuild/Autotools.src/M000062.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000063.html +0 -32
- data/doc/classes/Autobuild/Autotools.src/M000083.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000084.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000085.html +0 -16
- data/doc/classes/Autobuild/Autotools.src/M000086.html +0 -16
- data/doc/classes/Autobuild/Autotools.src/M000087.html +0 -22
- data/doc/classes/Autobuild/Autotools.src/M000088.html +0 -29
- data/doc/classes/Autobuild/Autotools.src/M000089.html +0 -21
- data/doc/classes/Autobuild/Autotools.src/M000090.html +0 -20
- data/doc/classes/Autobuild/Autotools.src/M000091.html +0 -32
- data/doc/classes/Autobuild/CVSImporter.html +0 -156
- data/doc/classes/Autobuild/CVSImporter.src/M000036.html +0 -26
- data/doc/classes/Autobuild/CVSImporter.src/M000037.html +0 -18
- data/doc/classes/Autobuild/CVSImporter.src/M000064.html +0 -26
- data/doc/classes/Autobuild/CVSImporter.src/M000065.html +0 -18
- data/doc/classes/Autobuild/CommandNotFound.html +0 -119
- data/doc/classes/Autobuild/ConfigException.html +0 -119
- data/doc/classes/Autobuild/DarcsImporter.html +0 -139
- data/doc/classes/Autobuild/DarcsImporter.src/M000044.html +0 -20
- data/doc/classes/Autobuild/DarcsImporter.src/M000072.html +0 -20
- data/doc/classes/Autobuild/Exception.html +0 -233
- data/doc/classes/Autobuild/Exception.src/M000087.html +0 -16
- data/doc/classes/Autobuild/Exception.src/M000088.html +0 -16
- data/doc/classes/Autobuild/Exception.src/M000089.html +0 -18
- data/doc/classes/Autobuild/Exception.src/M000090.html +0 -24
- data/doc/classes/Autobuild/Exception.src/M000115.html +0 -16
- data/doc/classes/Autobuild/Exception.src/M000116.html +0 -16
- data/doc/classes/Autobuild/Exception.src/M000117.html +0 -18
- data/doc/classes/Autobuild/Exception.src/M000118.html +0 -24
- data/doc/classes/Autobuild/GenomModule.html +0 -275
- data/doc/classes/Autobuild/GenomModule.src/M000091.html +0 -19
- data/doc/classes/Autobuild/GenomModule.src/M000092.html +0 -21
- data/doc/classes/Autobuild/GenomModule.src/M000093.html +0 -16
- data/doc/classes/Autobuild/GenomModule.src/M000094.html +0 -18
- data/doc/classes/Autobuild/GenomModule.src/M000095.html +0 -27
- data/doc/classes/Autobuild/GenomModule.src/M000096.html +0 -24
- data/doc/classes/Autobuild/GenomModule.src/M000097.html +0 -19
- data/doc/classes/Autobuild/GenomModule.src/M000098.html +0 -36
- data/doc/classes/Autobuild/GenomModule.src/M000119.html +0 -19
- data/doc/classes/Autobuild/GenomModule.src/M000120.html +0 -21
- data/doc/classes/Autobuild/GenomModule.src/M000121.html +0 -16
- data/doc/classes/Autobuild/GenomModule.src/M000122.html +0 -18
- data/doc/classes/Autobuild/GenomModule.src/M000123.html +0 -27
- data/doc/classes/Autobuild/GenomModule.src/M000124.html +0 -24
- data/doc/classes/Autobuild/GenomModule.src/M000125.html +0 -19
- data/doc/classes/Autobuild/GenomModule.src/M000126.html +0 -36
- data/doc/classes/Autobuild/Import.html +0 -131
- data/doc/classes/Autobuild/Import.src/M000033.html +0 -18
- data/doc/classes/Autobuild/Import.src/M000061.html +0 -18
- data/doc/classes/Autobuild/Importer.html +0 -154
- data/doc/classes/Autobuild/Importer.src/M000034.html +0 -18
- data/doc/classes/Autobuild/Importer.src/M000035.html +0 -38
- data/doc/classes/Autobuild/Importer.src/M000062.html +0 -18
- data/doc/classes/Autobuild/Importer.src/M000063.html +0 -38
- data/doc/classes/Autobuild/ImporterPackage.html +0 -171
- data/doc/classes/Autobuild/ImporterPackage.src/M000099.html +0 -18
- data/doc/classes/Autobuild/ImporterPackage.src/M000100.html +0 -22
- data/doc/classes/Autobuild/ImporterPackage.src/M000101.html +0 -16
- data/doc/classes/Autobuild/ImporterPackage.src/M000127.html +0 -18
- data/doc/classes/Autobuild/ImporterPackage.src/M000128.html +0 -22
- data/doc/classes/Autobuild/ImporterPackage.src/M000129.html +0 -16
- data/doc/classes/Autobuild/Interpolator.html +0 -227
- data/doc/classes/Autobuild/Interpolator.src/M000039.html +0 -18
- data/doc/classes/Autobuild/Interpolator.src/M000040.html +0 -21
- data/doc/classes/Autobuild/Interpolator.src/M000041.html +0 -45
- data/doc/classes/Autobuild/Interpolator.src/M000042.html +0 -39
- data/doc/classes/Autobuild/Interpolator.src/M000043.html +0 -29
- data/doc/classes/Autobuild/Interpolator.src/M000067.html +0 -18
- data/doc/classes/Autobuild/Interpolator.src/M000068.html +0 -21
- data/doc/classes/Autobuild/Interpolator.src/M000069.html +0 -45
- data/doc/classes/Autobuild/Interpolator.src/M000070.html +0 -39
- data/doc/classes/Autobuild/Interpolator.src/M000071.html +0 -29
- data/doc/classes/Autobuild/MailReporter.html +0 -207
- data/doc/classes/Autobuild/MailReporter.src/M000045.html +0 -24
- data/doc/classes/Autobuild/MailReporter.src/M000046.html +0 -21
- data/doc/classes/Autobuild/MailReporter.src/M000047.html +0 -20
- data/doc/classes/Autobuild/MailReporter.src/M000048.html +0 -18
- data/doc/classes/Autobuild/MailReporter.src/M000049.html +0 -42
- data/doc/classes/Autobuild/MailReporter.src/M000073.html +0 -24
- data/doc/classes/Autobuild/MailReporter.src/M000074.html +0 -21
- data/doc/classes/Autobuild/MailReporter.src/M000075.html +0 -20
- data/doc/classes/Autobuild/MailReporter.src/M000076.html +0 -18
- data/doc/classes/Autobuild/MailReporter.src/M000077.html +0 -42
- data/doc/classes/Autobuild/Package.html +0 -364
- data/doc/classes/Autobuild/Package.src/M000073.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000074.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000075.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000076.html +0 -56
- data/doc/classes/Autobuild/Package.src/M000077.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000078.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000079.html +0 -28
- data/doc/classes/Autobuild/Package.src/M000080.html +0 -23
- data/doc/classes/Autobuild/Package.src/M000081.html +0 -19
- data/doc/classes/Autobuild/Package.src/M000082.html +0 -18
- data/doc/classes/Autobuild/Package.src/M000101.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000102.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000103.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000104.html +0 -56
- data/doc/classes/Autobuild/Package.src/M000105.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000106.html +0 -16
- data/doc/classes/Autobuild/Package.src/M000107.html +0 -28
- data/doc/classes/Autobuild/Package.src/M000108.html +0 -23
- data/doc/classes/Autobuild/Package.src/M000109.html +0 -19
- data/doc/classes/Autobuild/Package.src/M000110.html +0 -18
- data/doc/classes/Autobuild/PackageException.html +0 -145
- data/doc/classes/Autobuild/PackageException.src/M000050.html +0 -16
- data/doc/classes/Autobuild/PackageException.src/M000078.html +0 -16
- data/doc/classes/Autobuild/Reporter.html +0 -158
- data/doc/classes/Autobuild/Reporter.src/M000053.html +0 -16
- data/doc/classes/Autobuild/Reporter.src/M000054.html +0 -16
- data/doc/classes/Autobuild/Reporter.src/M000081.html +0 -16
- data/doc/classes/Autobuild/Reporter.src/M000082.html +0 -16
- data/doc/classes/Autobuild/Reporting.html +0 -224
- data/doc/classes/Autobuild/Reporting.src/M000025.html +0 -24
- data/doc/classes/Autobuild/Reporting.src/M000026.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000027.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000028.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000029.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000053.html +0 -24
- data/doc/classes/Autobuild/Reporting.src/M000054.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000055.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000056.html +0 -18
- data/doc/classes/Autobuild/Reporting.src/M000057.html +0 -18
- data/doc/classes/Autobuild/SVN.html +0 -139
- data/doc/classes/Autobuild/SVN.src/M000038.html +0 -22
- data/doc/classes/Autobuild/SVN.src/M000066.html +0 -22
- data/doc/classes/Autobuild/SourceTreeTask.html +0 -150
- data/doc/classes/Autobuild/SourceTreeTask.src/M000083.html +0 -18
- data/doc/classes/Autobuild/SourceTreeTask.src/M000111.html +0 -18
- data/doc/classes/Autobuild/StdoutReporter.html +0 -160
- data/doc/classes/Autobuild/StdoutReporter.src/M000051.html +0 -18
- data/doc/classes/Autobuild/StdoutReporter.src/M000052.html +0 -18
- data/doc/classes/Autobuild/StdoutReporter.src/M000079.html +0 -18
- data/doc/classes/Autobuild/StdoutReporter.src/M000080.html +0 -18
- data/doc/classes/Autobuild/SubcommandFailed.html +0 -200
- data/doc/classes/Autobuild/SubcommandFailed.src/M000084.html +0 -16
- data/doc/classes/Autobuild/SubcommandFailed.src/M000085.html +0 -32
- data/doc/classes/Autobuild/SubcommandFailed.src/M000086.html +0 -20
- data/doc/classes/Autobuild/SubcommandFailed.src/M000112.html +0 -16
- data/doc/classes/Autobuild/SubcommandFailed.src/M000113.html +0 -32
- data/doc/classes/Autobuild/SubcommandFailed.src/M000114.html +0 -20
- data/doc/classes/Autobuild/Subprocess.html +0 -170
- data/doc/classes/Autobuild/Subprocess.src/M000030.html +0 -18
- data/doc/classes/Autobuild/Subprocess.src/M000031.html +0 -98
- data/doc/classes/Autobuild/Subprocess.src/M000058.html +0 -18
- data/doc/classes/Autobuild/Subprocess.src/M000059.html +0 -98
- data/doc/classes/Autobuild/Subprocess/Failed.html +0 -150
- data/doc/classes/Autobuild/Subprocess/Failed.src/M000032.html +0 -18
- data/doc/classes/Autobuild/Subprocess/Failed.src/M000060.html +0 -18
- data/doc/classes/Autobuild/TarImporter.html +0 -287
- data/doc/classes/Autobuild/TarImporter.src/M000064.html +0 -28
- data/doc/classes/Autobuild/TarImporter.src/M000065.html +0 -53
- data/doc/classes/Autobuild/TarImporter.src/M000066.html +0 -26
- data/doc/classes/Autobuild/TarImporter.src/M000067.html +0 -16
- data/doc/classes/Autobuild/TarImporter.src/M000068.html +0 -20
- data/doc/classes/Autobuild/TarImporter.src/M000069.html +0 -20
- data/doc/classes/Autobuild/TarImporter.src/M000070.html +0 -30
- data/doc/classes/Autobuild/TarImporter.src/M000092.html +0 -28
- data/doc/classes/Autobuild/TarImporter.src/M000093.html +0 -53
- data/doc/classes/Autobuild/TarImporter.src/M000094.html +0 -26
- data/doc/classes/Autobuild/TarImporter.src/M000095.html +0 -16
- data/doc/classes/Autobuild/TarImporter.src/M000096.html +0 -20
- data/doc/classes/Autobuild/TarImporter.src/M000097.html +0 -20
- data/doc/classes/Autobuild/TarImporter.src/M000098.html +0 -30
- data/doc/classes/Autobuild/UndefinedVariable.html +0 -174
- data/doc/classes/Autobuild/UndefinedVariable.src/M000071.html +0 -19
- data/doc/classes/Autobuild/UndefinedVariable.src/M000072.html +0 -18
- data/doc/classes/Autobuild/UndefinedVariable.src/M000099.html +0 -19
- data/doc/classes/Autobuild/UndefinedVariable.src/M000100.html +0 -18
- data/doc/classes/Hash.html +0 -152
- data/doc/classes/Hash.src/M000002.html +0 -26
- data/doc/classes/Hash.src/M000003.html +0 -23
- data/doc/classes/Hash.src/M000020.html +0 -26
- data/doc/classes/Hash.src/M000021.html +0 -23
- data/doc/classes/RMail.html +0 -111
- data/doc/classes/RMail/Message.html +0 -140
- data/doc/classes/RMail/Message.src/M000004.html +0 -25
- data/doc/classes/RMail/Message.src/M000028.html +0 -25
- data/doc/classes/TC_CVSImport.html +0 -180
- data/doc/classes/TC_CVSImport.src/M000025.html +0 -22
- data/doc/classes/TC_CVSImport.src/M000026.html +0 -21
- data/doc/classes/TC_CVSImport.src/M000027.html +0 -36
- data/doc/classes/TC_Config.html +0 -182
- data/doc/classes/TC_Config.src/M000006.html +0 -20
- data/doc/classes/TC_Config.src/M000007.html +0 -18
- data/doc/classes/TC_Config.src/M000008.html +0 -29
- data/doc/classes/TC_Config.src/M000009.html +0 -20
- data/doc/classes/TC_ConfigInterpolation.html +0 -198
- data/doc/classes/TC_ConfigInterpolation.src/M000002.html +0 -18
- data/doc/classes/TC_ConfigInterpolation.src/M000003.html +0 -18
- data/doc/classes/TC_ConfigInterpolation.src/M000004.html +0 -26
- data/doc/classes/TC_ConfigInterpolation.src/M000005.html +0 -24
- data/doc/classes/TC_SVNImport.html +0 -180
- data/doc/classes/TC_SVNImport.src/M000017.html +0 -22
- data/doc/classes/TC_SVNImport.src/M000018.html +0 -21
- data/doc/classes/TC_SVNImport.src/M000019.html +0 -43
- data/doc/classes/TC_Subcommand.html +0 -208
- data/doc/classes/TC_Subcommand.src/M000022.html +0 -31
- data/doc/classes/TC_Subcommand.src/M000023.html +0 -18
- data/doc/classes/TC_Subcommand.src/M000024.html +0 -30
- data/doc/classes/TC_TarImporter.html +0 -247
- data/doc/classes/TC_TarImporter.src/M000010.html +0 -28
- data/doc/classes/TC_TarImporter.src/M000011.html +0 -21
- data/doc/classes/TC_TarImporter.src/M000012.html +0 -20
- data/doc/classes/TC_TarImporter.src/M000013.html +0 -20
- data/doc/classes/TC_TarImporter.src/M000014.html +0 -26
- data/doc/classes/TC_TarImporter.src/M000015.html +0 -31
- data/doc/classes/TC_TarImporter.src/M000016.html +0 -24
- data/doc/classes/TestTools.html +0 -189
- data/doc/classes/TestTools.src/M000029.html +0 -19
- data/doc/classes/TestTools.src/M000030.html +0 -18
- data/doc/classes/TestTools.src/M000031.html +0 -25
- data/doc/classes/TestTools.src/M000032.html +0 -24
- data/doc/created.rid +0 -1
- data/doc/files/README.html +0 -378
- data/doc/files/demo_rb.html +0 -115
- data/doc/files/lib/autobuild/config_rb.html +0 -136
- data/doc/files/lib/autobuild/config_rb.src/M000001.html +0 -18
- data/doc/files/lib/autobuild/environment_rb.html +0 -101
- data/doc/files/lib/autobuild/exceptions_rb.html +0 -101
- data/doc/files/lib/autobuild/import/cvs_rb.html +0 -110
- data/doc/files/lib/autobuild/import/darcs_rb.html +0 -110
- data/doc/files/lib/autobuild/import/svn_rb.html +0 -109
- data/doc/files/lib/autobuild/import/tar_rb.html +0 -108
- data/doc/files/lib/autobuild/importer_rb.html +0 -109
- data/doc/files/lib/autobuild/loaders/config-interpolator_rb.html +0 -108
- data/doc/files/lib/autobuild/loaders/config_rb.html +0 -113
- data/doc/files/lib/autobuild/package_rb.html +0 -110
- data/doc/files/lib/autobuild/packages/autotools_rb.html +0 -112
- data/doc/files/lib/autobuild/packages/genom_rb.html +0 -109
- data/doc/files/lib/autobuild/packages/import_rb.html +0 -109
- data/doc/files/lib/autobuild/reporting_rb.html +0 -114
- data/doc/files/lib/autobuild/subcommand_rb.html +0 -108
- data/doc/files/lib/autobuild/timestamps_rb.html +0 -124
- data/doc/files/lib/autobuild_rb.html +0 -110
- data/doc/files/test/test_config_interpolation_rb.html +0 -111
- data/doc/files/test/test_config_rb.html +0 -111
- data/doc/files/test/test_import_cvs_rb.html +0 -119
- data/doc/files/test/test_import_svn_rb.html +0 -119
- data/doc/files/test/test_import_tar_rb.html +0 -120
- data/doc/files/test/test_subcommand_rb.html +0 -120
- data/doc/files/test/tools_rb.html +0 -110
- data/doc/fr_class_index.html +0 -26
- data/doc/fr_file_index.html +0 -27
- data/doc/fr_method_index.html +0 -26
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>nice= (Autobuild::Subprocess)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/autobuild/subcommand.rb, line 5</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">nice=</span>(<span class="ruby-identifier">value</span>)
|
15
|
-
<span class="ruby-ivar">@@nice</span> = <span class="ruby-identifier">value</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,98 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>run (Autobuild::Subprocess)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/autobuild/subcommand.rb, line 18</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">run</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">phase</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">command</span>)
|
15
|
-
<span class="ruby-comment cmt"># Filter nil and empty? in command</span>
|
16
|
-
<span class="ruby-identifier">command</span>.<span class="ruby-identifier">reject!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span> <span class="ruby-identifier">o</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> (<span class="ruby-identifier">o</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:empty?</span>) <span class="ruby-operator">&&</span> <span class="ruby-identifier">o</span>.<span class="ruby-identifier">empty?</span>) }
|
17
|
-
<span class="ruby-identifier">command</span>.<span class="ruby-identifier">collect!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span> <span class="ruby-identifier">o</span>.<span class="ruby-identifier">to_s</span> }
|
18
|
-
|
19
|
-
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">mkdir_p</span> <span class="ruby-constant">Autobuild</span>.<span class="ruby-identifier">logdir</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-constant">Autobuild</span>.<span class="ruby-identifier">logdir</span>)
|
20
|
-
<span class="ruby-identifier">logname</span> = <span class="ruby-node">"#{Autobuild.logdir}/#{target}-#{phase}.log"</span>
|
21
|
-
|
22
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">"#{target}: running #{command.join(" ")}\n (output goes to #{logname})"</span>
|
23
|
-
|
24
|
-
<span class="ruby-identifier">input_streams</span> = <span class="ruby-identifier">command</span>.<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span> <span class="ruby-identifier">$1</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">o</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^\<(.+)/</span> }.<span class="ruby-identifier">compact</span>
|
25
|
-
<span class="ruby-identifier">command</span>.<span class="ruby-identifier">reject!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span> <span class="ruby-identifier">o</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^\<(.+)/</span> }
|
26
|
-
|
27
|
-
<span class="ruby-identifier">status</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">logname</span>, <span class="ruby-value str">"a"</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">logfile</span><span class="ruby-operator">|</span>
|
28
|
-
<span class="ruby-identifier">pread</span>, <span class="ruby-identifier">pwrite</span> = <span class="ruby-constant">IO</span>.<span class="ruby-identifier">pipe</span> <span class="ruby-comment cmt"># to feed subprocess stdin </span>
|
29
|
-
<span class="ruby-identifier">cread</span>, <span class="ruby-identifier">cwrite</span> = <span class="ruby-constant">IO</span>.<span class="ruby-identifier">pipe</span> <span class="ruby-comment cmt"># to control that exec goes well</span>
|
30
|
-
|
31
|
-
<span class="ruby-identifier">pid</span> = <span class="ruby-identifier">fork</span> {
|
32
|
-
<span class="ruby-identifier">cwrite</span>.<span class="ruby-identifier">sync</span> = <span class="ruby-keyword kw">true</span>
|
33
|
-
<span class="ruby-keyword kw">begin</span>
|
34
|
-
<span class="ruby-constant">Process</span>.<span class="ruby-identifier">setpriority</span>(<span class="ruby-constant">Process</span><span class="ruby-operator">::</span><span class="ruby-constant">PRIO_PROCESS</span>, <span class="ruby-value">0</span>, <span class="ruby-ivar">@@nice</span>)
|
35
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">Autobuild</span>.<span class="ruby-identifier">verbose</span>
|
36
|
-
<span class="ruby-identifier">$stderr</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">reopen</span>(<span class="ruby-identifier">logfile</span>.<span class="ruby-identifier">dup</span>)
|
37
|
-
<span class="ruby-identifier">$stdout</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">reopen</span>(<span class="ruby-identifier">logfile</span>.<span class="ruby-identifier">dup</span>)
|
38
|
-
<span class="ruby-keyword kw">else</span>
|
39
|
-
<span class="ruby-identifier">$stderr</span>.<span class="ruby-identifier">reopen</span>(<span class="ruby-identifier">logfile</span>.<span class="ruby-identifier">dup</span>)
|
40
|
-
<span class="ruby-identifier">$stdout</span>.<span class="ruby-identifier">reopen</span>(<span class="ruby-identifier">logfile</span>.<span class="ruby-identifier">dup</span>)
|
41
|
-
<span class="ruby-keyword kw">end</span>
|
42
|
-
|
43
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">input_streams</span>.<span class="ruby-identifier">empty?</span>
|
44
|
-
<span class="ruby-identifier">pwrite</span>.<span class="ruby-identifier">close</span>
|
45
|
-
<span class="ruby-identifier">$stdin</span>.<span class="ruby-identifier">reopen</span>(<span class="ruby-identifier">pread</span>)
|
46
|
-
<span class="ruby-keyword kw">end</span>
|
47
|
-
|
48
|
-
<span class="ruby-identifier">exec</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">command</span>)
|
49
|
-
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Errno</span><span class="ruby-operator">::</span><span class="ruby-constant">ENOENT</span>
|
50
|
-
<span class="ruby-identifier">cwrite</span>.<span class="ruby-identifier">write</span>([<span class="ruby-constant">CONTROL_COMMAND_NOT_FOUND</span>].<span class="ruby-identifier">pack</span>(<span class="ruby-value str">'I'</span>))
|
51
|
-
<span class="ruby-identifier">raise</span>
|
52
|
-
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span>
|
53
|
-
<span class="ruby-identifier">cwrite</span>.<span class="ruby-identifier">write</span>([<span class="ruby-constant">CONTROL_UNEXPECTED</span>].<span class="ruby-identifier">pack</span>(<span class="ruby-value str">'I'</span>))
|
54
|
-
<span class="ruby-identifier">raise</span>
|
55
|
-
<span class="ruby-keyword kw">end</span>
|
56
|
-
}
|
57
|
-
|
58
|
-
<span class="ruby-comment cmt"># Feed the input</span>
|
59
|
-
<span class="ruby-identifier">pread</span>.<span class="ruby-identifier">close</span>
|
60
|
-
<span class="ruby-keyword kw">begin</span>
|
61
|
-
<span class="ruby-identifier">input_streams</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">infile</span><span class="ruby-operator">|</span>
|
62
|
-
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">infile</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">instream</span><span class="ruby-operator">|</span>
|
63
|
-
<span class="ruby-identifier">instream</span>.<span class="ruby-identifier">each_line</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span> <span class="ruby-identifier">pwrite</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">line</span>) }
|
64
|
-
<span class="ruby-keyword kw">end</span>
|
65
|
-
<span class="ruby-keyword kw">end</span>
|
66
|
-
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Errno</span><span class="ruby-operator">::</span><span class="ruby-constant">ENOENT</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
67
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Failed</span>.<span class="ruby-identifier">new</span>, <span class="ruby-node">"cannot open input files: #{e.message}"</span>
|
68
|
-
<span class="ruby-keyword kw">end</span>
|
69
|
-
<span class="ruby-identifier">pwrite</span>.<span class="ruby-identifier">close</span>
|
70
|
-
|
71
|
-
<span class="ruby-comment cmt"># Get control status</span>
|
72
|
-
<span class="ruby-identifier">cwrite</span>.<span class="ruby-identifier">close</span>
|
73
|
-
<span class="ruby-identifier">value</span> = <span class="ruby-identifier">cread</span>.<span class="ruby-identifier">read</span>(<span class="ruby-value">4</span>)
|
74
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>
|
75
|
-
<span class="ruby-comment cmt"># An error occured</span>
|
76
|
-
<span class="ruby-identifier">value</span> = <span class="ruby-identifier">value</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">'I'</span>).<span class="ruby-identifier">first</span>
|
77
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span> <span class="ruby-operator">==</span> <span class="ruby-constant">CONTROL_COMMAND_NOT_FOUND</span>
|
78
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Failed</span>.<span class="ruby-identifier">new</span>, <span class="ruby-value str">"file not found"</span>
|
79
|
-
<span class="ruby-keyword kw">else</span>
|
80
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Failed</span>.<span class="ruby-identifier">new</span>, <span class="ruby-value str">"something unexpected happened"</span>
|
81
|
-
<span class="ruby-keyword kw">end</span>
|
82
|
-
<span class="ruby-keyword kw">end</span>
|
83
|
-
|
84
|
-
<span class="ruby-identifier">childpid</span>, <span class="ruby-identifier">childstatus</span> = <span class="ruby-constant">Process</span>.<span class="ruby-identifier">wait2</span>(<span class="ruby-identifier">pid</span>)
|
85
|
-
<span class="ruby-identifier">childstatus</span>
|
86
|
-
<span class="ruby-keyword kw">end</span>
|
87
|
-
|
88
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">status</span>.<span class="ruby-identifier">exitstatus</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
89
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Failed</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">status</span>.<span class="ruby-identifier">exitstatus</span>), <span class="ruby-node">"command returned with status #{status.exitstatus}"</span>
|
90
|
-
<span class="ruby-keyword kw">end</span>
|
91
|
-
|
92
|
-
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Failed</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
93
|
-
<span class="ruby-identifier">error</span> = <span class="ruby-constant">SubcommandFailed</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">command</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">" "</span>), <span class="ruby-identifier">logname</span>, <span class="ruby-identifier">e</span>.<span class="ruby-identifier">status</span>)
|
94
|
-
<span class="ruby-identifier">error</span>.<span class="ruby-identifier">phase</span> = <span class="ruby-identifier">phase</span>
|
95
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-identifier">error</span>, <span class="ruby-identifier">e</span>.<span class="ruby-identifier">message</span>
|
96
|
-
<span class="ruby-keyword kw">end</span></pre>
|
97
|
-
</body>
|
98
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>nice= (Autobuild::Subprocess)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/autobuild/subcommand.rb, line 5</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">nice=</span>(<span class="ruby-identifier">value</span>)
|
15
|
-
<span class="ruby-ivar">@@nice</span> = <span class="ruby-identifier">value</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,98 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>run (Autobuild::Subprocess)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/autobuild/subcommand.rb, line 18</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">run</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">phase</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">command</span>)
|
15
|
-
<span class="ruby-comment cmt"># Filter nil and empty? in command</span>
|
16
|
-
<span class="ruby-identifier">command</span>.<span class="ruby-identifier">reject!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span> <span class="ruby-identifier">o</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> (<span class="ruby-identifier">o</span>.<span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">:empty?</span>) <span class="ruby-operator">&&</span> <span class="ruby-identifier">o</span>.<span class="ruby-identifier">empty?</span>) }
|
17
|
-
<span class="ruby-identifier">command</span>.<span class="ruby-identifier">collect!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span> <span class="ruby-identifier">o</span>.<span class="ruby-identifier">to_s</span> }
|
18
|
-
|
19
|
-
<span class="ruby-constant">FileUtils</span>.<span class="ruby-identifier">mkdir_p</span> <span class="ruby-constant">Autobuild</span>.<span class="ruby-identifier">logdir</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-constant">Autobuild</span>.<span class="ruby-identifier">logdir</span>)
|
20
|
-
<span class="ruby-identifier">logname</span> = <span class="ruby-node">"#{Autobuild.logdir}/#{target}-#{phase}.log"</span>
|
21
|
-
|
22
|
-
<span class="ruby-identifier">puts</span> <span class="ruby-node">"#{target}: running #{command.join(" ")}\n (output goes to #{logname})"</span>
|
23
|
-
|
24
|
-
<span class="ruby-identifier">input_streams</span> = <span class="ruby-identifier">command</span>.<span class="ruby-identifier">collect</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span> <span class="ruby-identifier">$1</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">o</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^\<(.+)/</span> }.<span class="ruby-identifier">compact</span>
|
25
|
-
<span class="ruby-identifier">command</span>.<span class="ruby-identifier">reject!</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span> <span class="ruby-identifier">o</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^\<(.+)/</span> }
|
26
|
-
|
27
|
-
<span class="ruby-identifier">status</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">logname</span>, <span class="ruby-value str">"a"</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">logfile</span><span class="ruby-operator">|</span>
|
28
|
-
<span class="ruby-identifier">pread</span>, <span class="ruby-identifier">pwrite</span> = <span class="ruby-constant">IO</span>.<span class="ruby-identifier">pipe</span> <span class="ruby-comment cmt"># to feed subprocess stdin </span>
|
29
|
-
<span class="ruby-identifier">cread</span>, <span class="ruby-identifier">cwrite</span> = <span class="ruby-constant">IO</span>.<span class="ruby-identifier">pipe</span> <span class="ruby-comment cmt"># to control that exec goes well</span>
|
30
|
-
|
31
|
-
<span class="ruby-identifier">pid</span> = <span class="ruby-identifier">fork</span> {
|
32
|
-
<span class="ruby-identifier">cwrite</span>.<span class="ruby-identifier">sync</span> = <span class="ruby-keyword kw">true</span>
|
33
|
-
<span class="ruby-keyword kw">begin</span>
|
34
|
-
<span class="ruby-constant">Process</span>.<span class="ruby-identifier">setpriority</span>(<span class="ruby-constant">Process</span><span class="ruby-operator">::</span><span class="ruby-constant">PRIO_PROCESS</span>, <span class="ruby-value">0</span>, <span class="ruby-ivar">@@nice</span>)
|
35
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-constant">Autobuild</span>.<span class="ruby-identifier">verbose</span>
|
36
|
-
<span class="ruby-identifier">$stderr</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">reopen</span>(<span class="ruby-identifier">logfile</span>.<span class="ruby-identifier">dup</span>)
|
37
|
-
<span class="ruby-identifier">$stdout</span>.<span class="ruby-identifier">dup</span>.<span class="ruby-identifier">reopen</span>(<span class="ruby-identifier">logfile</span>.<span class="ruby-identifier">dup</span>)
|
38
|
-
<span class="ruby-keyword kw">else</span>
|
39
|
-
<span class="ruby-identifier">$stderr</span>.<span class="ruby-identifier">reopen</span>(<span class="ruby-identifier">logfile</span>.<span class="ruby-identifier">dup</span>)
|
40
|
-
<span class="ruby-identifier">$stdout</span>.<span class="ruby-identifier">reopen</span>(<span class="ruby-identifier">logfile</span>.<span class="ruby-identifier">dup</span>)
|
41
|
-
<span class="ruby-keyword kw">end</span>
|
42
|
-
|
43
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">input_streams</span>.<span class="ruby-identifier">empty?</span>
|
44
|
-
<span class="ruby-identifier">pwrite</span>.<span class="ruby-identifier">close</span>
|
45
|
-
<span class="ruby-identifier">$stdin</span>.<span class="ruby-identifier">reopen</span>(<span class="ruby-identifier">pread</span>)
|
46
|
-
<span class="ruby-keyword kw">end</span>
|
47
|
-
|
48
|
-
<span class="ruby-identifier">exec</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">command</span>)
|
49
|
-
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Errno</span><span class="ruby-operator">::</span><span class="ruby-constant">ENOENT</span>
|
50
|
-
<span class="ruby-identifier">cwrite</span>.<span class="ruby-identifier">write</span>([<span class="ruby-constant">CONTROL_COMMAND_NOT_FOUND</span>].<span class="ruby-identifier">pack</span>(<span class="ruby-value str">'I'</span>))
|
51
|
-
<span class="ruby-identifier">raise</span>
|
52
|
-
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span>
|
53
|
-
<span class="ruby-identifier">cwrite</span>.<span class="ruby-identifier">write</span>([<span class="ruby-constant">CONTROL_UNEXPECTED</span>].<span class="ruby-identifier">pack</span>(<span class="ruby-value str">'I'</span>))
|
54
|
-
<span class="ruby-identifier">raise</span>
|
55
|
-
<span class="ruby-keyword kw">end</span>
|
56
|
-
}
|
57
|
-
|
58
|
-
<span class="ruby-comment cmt"># Feed the input</span>
|
59
|
-
<span class="ruby-identifier">pread</span>.<span class="ruby-identifier">close</span>
|
60
|
-
<span class="ruby-keyword kw">begin</span>
|
61
|
-
<span class="ruby-identifier">input_streams</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">infile</span><span class="ruby-operator">|</span>
|
62
|
-
<span class="ruby-constant">File</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">infile</span>) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">instream</span><span class="ruby-operator">|</span>
|
63
|
-
<span class="ruby-identifier">instream</span>.<span class="ruby-identifier">each_line</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span> <span class="ruby-identifier">pwrite</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">line</span>) }
|
64
|
-
<span class="ruby-keyword kw">end</span>
|
65
|
-
<span class="ruby-keyword kw">end</span>
|
66
|
-
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Errno</span><span class="ruby-operator">::</span><span class="ruby-constant">ENOENT</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
67
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Failed</span>.<span class="ruby-identifier">new</span>, <span class="ruby-node">"cannot open input files: #{e.message}"</span>
|
68
|
-
<span class="ruby-keyword kw">end</span>
|
69
|
-
<span class="ruby-identifier">pwrite</span>.<span class="ruby-identifier">close</span>
|
70
|
-
|
71
|
-
<span class="ruby-comment cmt"># Get control status</span>
|
72
|
-
<span class="ruby-identifier">cwrite</span>.<span class="ruby-identifier">close</span>
|
73
|
-
<span class="ruby-identifier">value</span> = <span class="ruby-identifier">cread</span>.<span class="ruby-identifier">read</span>(<span class="ruby-value">4</span>)
|
74
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>
|
75
|
-
<span class="ruby-comment cmt"># An error occured</span>
|
76
|
-
<span class="ruby-identifier">value</span> = <span class="ruby-identifier">value</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">'I'</span>).<span class="ruby-identifier">first</span>
|
77
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span> <span class="ruby-operator">==</span> <span class="ruby-constant">CONTROL_COMMAND_NOT_FOUND</span>
|
78
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Failed</span>.<span class="ruby-identifier">new</span>, <span class="ruby-value str">"file not found"</span>
|
79
|
-
<span class="ruby-keyword kw">else</span>
|
80
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Failed</span>.<span class="ruby-identifier">new</span>, <span class="ruby-value str">"something unexpected happened"</span>
|
81
|
-
<span class="ruby-keyword kw">end</span>
|
82
|
-
<span class="ruby-keyword kw">end</span>
|
83
|
-
|
84
|
-
<span class="ruby-identifier">childpid</span>, <span class="ruby-identifier">childstatus</span> = <span class="ruby-constant">Process</span>.<span class="ruby-identifier">wait2</span>(<span class="ruby-identifier">pid</span>)
|
85
|
-
<span class="ruby-identifier">childstatus</span>
|
86
|
-
<span class="ruby-keyword kw">end</span>
|
87
|
-
|
88
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">status</span>.<span class="ruby-identifier">exitstatus</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
89
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Failed</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">status</span>.<span class="ruby-identifier">exitstatus</span>), <span class="ruby-node">"command returned with status #{status.exitstatus}"</span>
|
90
|
-
<span class="ruby-keyword kw">end</span>
|
91
|
-
|
92
|
-
<span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Failed</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
93
|
-
<span class="ruby-identifier">error</span> = <span class="ruby-constant">SubcommandFailed</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">command</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">" "</span>), <span class="ruby-identifier">logname</span>, <span class="ruby-identifier">e</span>.<span class="ruby-identifier">status</span>)
|
94
|
-
<span class="ruby-identifier">error</span>.<span class="ruby-identifier">phase</span> = <span class="ruby-identifier">phase</span>
|
95
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-identifier">error</span>, <span class="ruby-identifier">e</span>.<span class="ruby-identifier">message</span>
|
96
|
-
<span class="ruby-keyword kw">end</span></pre>
|
97
|
-
</body>
|
98
|
-
</html>
|
@@ -1,150 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Autobuild::Subprocess::Failed</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Autobuild::Subprocess::Failed</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../../files/lib/autobuild/subcommand_rb.html">
|
59
|
-
lib/autobuild/subcommand.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Exception
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
</div>
|
84
|
-
|
85
|
-
<div id="method-list">
|
86
|
-
<h3 class="section-bar">Methods</h3>
|
87
|
-
|
88
|
-
<div class="name-list">
|
89
|
-
<a href="#M000032">new</a>
|
90
|
-
</div>
|
91
|
-
</div>
|
92
|
-
|
93
|
-
</div>
|
94
|
-
|
95
|
-
|
96
|
-
<!-- if includes -->
|
97
|
-
|
98
|
-
<div id="section">
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
<div id="attribute-list">
|
105
|
-
<h3 class="section-bar">Attributes</h3>
|
106
|
-
|
107
|
-
<div class="name-list">
|
108
|
-
<table>
|
109
|
-
<tr class="top-aligned-row context-row">
|
110
|
-
<td class="context-item-name">status</td>
|
111
|
-
<td class="context-item-value"> [R] </td>
|
112
|
-
<td class="context-item-desc"></td>
|
113
|
-
</tr>
|
114
|
-
</table>
|
115
|
-
</div>
|
116
|
-
</div>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
<!-- if method_list -->
|
121
|
-
<div id="methods">
|
122
|
-
<h3 class="section-bar">Public Class methods</h3>
|
123
|
-
|
124
|
-
<div id="method-M000032" class="method-detail">
|
125
|
-
<a name="M000032"></a>
|
126
|
-
|
127
|
-
<div class="method-heading">
|
128
|
-
<a href="Failed.src/M000032.html" target="Code" class="method-signature"
|
129
|
-
onclick="popupCode('Failed.src/M000032.html');return false;">
|
130
|
-
<span class="method-name">new</span><span class="method-args">(status = 0)</span>
|
131
|
-
</a>
|
132
|
-
</div>
|
133
|
-
|
134
|
-
<div class="method-description">
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
|
138
|
-
|
139
|
-
</div>
|
140
|
-
|
141
|
-
|
142
|
-
</div>
|
143
|
-
|
144
|
-
|
145
|
-
<div id="validator-badges">
|
146
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
147
|
-
</div>
|
148
|
-
|
149
|
-
</body>
|
150
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>new (Autobuild::Subprocess::Failed)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/autobuild/subcommand.rb, line 11</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">status</span> = <span class="ruby-value">0</span>)
|
15
|
-
<span class="ruby-ivar">@status</span> = <span class="ruby-identifier">status</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>new (Autobuild::Subprocess::Failed)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/autobuild/subcommand.rb, line 11</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">status</span> = <span class="ruby-value">0</span>)
|
15
|
-
<span class="ruby-ivar">@status</span> = <span class="ruby-identifier">status</span>
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,287 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Autobuild::TarImporter</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Autobuild::TarImporter</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/autobuild/import/tar_rb.html">
|
59
|
-
lib/autobuild/import/tar.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
<a href="Importer.html">
|
69
|
-
Importer
|
70
|
-
</a>
|
71
|
-
</td>
|
72
|
-
</tr>
|
73
|
-
</table>
|
74
|
-
</div>
|
75
|
-
<!-- banner header -->
|
76
|
-
|
77
|
-
<div id="bodyContent">
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
<div id="contextContent">
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
</div>
|
86
|
-
|
87
|
-
<div id="method-list">
|
88
|
-
<h3 class="section-bar">Methods</h3>
|
89
|
-
|
90
|
-
<div class="name-list">
|
91
|
-
<a href="#M000067">cachedir</a>
|
92
|
-
<a href="#M000070">checkout</a>
|
93
|
-
<a href="#M000068">new</a>
|
94
|
-
<a href="#M000069">update</a>
|
95
|
-
<a href="#M000065">update_cache</a>
|
96
|
-
<a href="#M000066">url=</a>
|
97
|
-
<a href="#M000064">url_to_mode</a>
|
98
|
-
</div>
|
99
|
-
</div>
|
100
|
-
|
101
|
-
</div>
|
102
|
-
|
103
|
-
|
104
|
-
<!-- if includes -->
|
105
|
-
|
106
|
-
<div id="section">
|
107
|
-
|
108
|
-
|
109
|
-
<div id="constants-list">
|
110
|
-
<h3 class="section-bar">Constants</h3>
|
111
|
-
|
112
|
-
<div class="name-list">
|
113
|
-
<table summary="Constants">
|
114
|
-
<tr class="top-aligned-row context-row">
|
115
|
-
<td class="context-item-name">Plain</td>
|
116
|
-
<td>=</td>
|
117
|
-
<td class="context-item-value">0</td>
|
118
|
-
</tr>
|
119
|
-
<tr class="top-aligned-row context-row">
|
120
|
-
<td class="context-item-name">Gzip</td>
|
121
|
-
<td>=</td>
|
122
|
-
<td class="context-item-value">1</td>
|
123
|
-
</tr>
|
124
|
-
<tr class="top-aligned-row context-row">
|
125
|
-
<td class="context-item-name">Bzip</td>
|
126
|
-
<td>=</td>
|
127
|
-
<td class="context-item-value">2</td>
|
128
|
-
</tr>
|
129
|
-
<tr class="top-aligned-row context-row">
|
130
|
-
<td class="context-item-name">TAR_OPTION</td>
|
131
|
-
<td>=</td>
|
132
|
-
<td class="context-item-value">{ Plain => '', Gzip => 'z', Bzip => 'j'</td>
|
133
|
-
</tr>
|
134
|
-
<tr class="top-aligned-row context-row">
|
135
|
-
<td class="context-item-name">VALID_URI_SCHEMES</td>
|
136
|
-
<td>=</td>
|
137
|
-
<td class="context-item-value">[ 'file', 'http', 'ftp' ]</td>
|
138
|
-
</tr>
|
139
|
-
</table>
|
140
|
-
</div>
|
141
|
-
</div>
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
<div id="attribute-list">
|
146
|
-
<h3 class="section-bar">Attributes</h3>
|
147
|
-
|
148
|
-
<div class="name-list">
|
149
|
-
<table>
|
150
|
-
<tr class="top-aligned-row context-row">
|
151
|
-
<td class="context-item-name">cachefile</td>
|
152
|
-
<td class="context-item-value"> [R] </td>
|
153
|
-
<td class="context-item-desc"></td>
|
154
|
-
</tr>
|
155
|
-
<tr class="top-aligned-row context-row">
|
156
|
-
<td class="context-item-name">mode</td>
|
157
|
-
<td class="context-item-value"> [R] </td>
|
158
|
-
<td class="context-item-desc"></td>
|
159
|
-
</tr>
|
160
|
-
<tr class="top-aligned-row context-row">
|
161
|
-
<td class="context-item-name">url</td>
|
162
|
-
<td class="context-item-value"> [R] </td>
|
163
|
-
<td class="context-item-desc"></td>
|
164
|
-
</tr>
|
165
|
-
</table>
|
166
|
-
</div>
|
167
|
-
</div>
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
<!-- if method_list -->
|
172
|
-
<div id="methods">
|
173
|
-
<h3 class="section-bar">Public Class methods</h3>
|
174
|
-
|
175
|
-
<div id="method-M000068" class="method-detail">
|
176
|
-
<a name="M000068"></a>
|
177
|
-
|
178
|
-
<div class="method-heading">
|
179
|
-
<a href="TarImporter.src/M000068.html" target="Code" class="method-signature"
|
180
|
-
onclick="popupCode('TarImporter.src/M000068.html');return false;">
|
181
|
-
<span class="method-name">new</span><span class="method-args">(url, options)</span>
|
182
|
-
</a>
|
183
|
-
</div>
|
184
|
-
|
185
|
-
<div class="method-description">
|
186
|
-
</div>
|
187
|
-
</div>
|
188
|
-
|
189
|
-
<div id="method-M000064" class="method-detail">
|
190
|
-
<a name="M000064"></a>
|
191
|
-
|
192
|
-
<div class="method-heading">
|
193
|
-
<a href="TarImporter.src/M000064.html" target="Code" class="method-signature"
|
194
|
-
onclick="popupCode('TarImporter.src/M000064.html');return false;">
|
195
|
-
<span class="method-name">url_to_mode</span><span class="method-args">(url)</span>
|
196
|
-
</a>
|
197
|
-
</div>
|
198
|
-
|
199
|
-
<div class="method-description">
|
200
|
-
</div>
|
201
|
-
</div>
|
202
|
-
|
203
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
204
|
-
|
205
|
-
<div id="method-M000067" class="method-detail">
|
206
|
-
<a name="M000067"></a>
|
207
|
-
|
208
|
-
<div class="method-heading">
|
209
|
-
<a href="TarImporter.src/M000067.html" target="Code" class="method-signature"
|
210
|
-
onclick="popupCode('TarImporter.src/M000067.html');return false;">
|
211
|
-
<span class="method-name">cachedir</span><span class="method-args">()</span>
|
212
|
-
</a>
|
213
|
-
</div>
|
214
|
-
|
215
|
-
<div class="method-description">
|
216
|
-
</div>
|
217
|
-
</div>
|
218
|
-
|
219
|
-
<div id="method-M000070" class="method-detail">
|
220
|
-
<a name="M000070"></a>
|
221
|
-
|
222
|
-
<div class="method-heading">
|
223
|
-
<a href="TarImporter.src/M000070.html" target="Code" class="method-signature"
|
224
|
-
onclick="popupCode('TarImporter.src/M000070.html');return false;">
|
225
|
-
<span class="method-name">checkout</span><span class="method-args">(package)</span>
|
226
|
-
</a>
|
227
|
-
</div>
|
228
|
-
|
229
|
-
<div class="method-description">
|
230
|
-
</div>
|
231
|
-
</div>
|
232
|
-
|
233
|
-
<div id="method-M000069" class="method-detail">
|
234
|
-
<a name="M000069"></a>
|
235
|
-
|
236
|
-
<div class="method-heading">
|
237
|
-
<a href="TarImporter.src/M000069.html" target="Code" class="method-signature"
|
238
|
-
onclick="popupCode('TarImporter.src/M000069.html');return false;">
|
239
|
-
<span class="method-name">update</span><span class="method-args">(package)</span>
|
240
|
-
</a>
|
241
|
-
</div>
|
242
|
-
|
243
|
-
<div class="method-description">
|
244
|
-
</div>
|
245
|
-
</div>
|
246
|
-
|
247
|
-
<div id="method-M000065" class="method-detail">
|
248
|
-
<a name="M000065"></a>
|
249
|
-
|
250
|
-
<div class="method-heading">
|
251
|
-
<a href="TarImporter.src/M000065.html" target="Code" class="method-signature"
|
252
|
-
onclick="popupCode('TarImporter.src/M000065.html');return false;">
|
253
|
-
<span class="method-name">update_cache</span><span class="method-args">()</span>
|
254
|
-
</a>
|
255
|
-
</div>
|
256
|
-
|
257
|
-
<div class="method-description">
|
258
|
-
</div>
|
259
|
-
</div>
|
260
|
-
|
261
|
-
<div id="method-M000066" class="method-detail">
|
262
|
-
<a name="M000066"></a>
|
263
|
-
|
264
|
-
<div class="method-heading">
|
265
|
-
<a href="TarImporter.src/M000066.html" target="Code" class="method-signature"
|
266
|
-
onclick="popupCode('TarImporter.src/M000066.html');return false;">
|
267
|
-
<span class="method-name">url=</span><span class="method-args">(url)</span>
|
268
|
-
</a>
|
269
|
-
</div>
|
270
|
-
|
271
|
-
<div class="method-description">
|
272
|
-
</div>
|
273
|
-
</div>
|
274
|
-
|
275
|
-
|
276
|
-
</div>
|
277
|
-
|
278
|
-
|
279
|
-
</div>
|
280
|
-
|
281
|
-
|
282
|
-
<div id="validator-badges">
|
283
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
284
|
-
</div>
|
285
|
-
|
286
|
-
</body>
|
287
|
-
</html>
|