हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
Trade Federation का ग्लोबल कॉन्फ़िगरेशन
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Trade Federation (TF) ग्लोबल कॉन्फ़िगरेशन एक ऐसी फ़ाइल है जो TF के शुरू होने पर एक बार लोड होती है. इस कॉन्फ़िगरेशन फ़ाइल का इस्तेमाल, TF के उस इंस्टेंस के लिए एनवायरमेंट तय करने के लिए किया जाता है.
ग्लोबल कॉन्फ़िगरेशन फ़ाइल लोड करना
TF ग्लोबल कॉन्फ़िगरेशन फ़ाइल एक एक्सएमएल फ़ाइल होती है. इसे तय करने के लिए, लोकल एनवायरमेंट वैरिएबल TF_GLOBAL_CONFIG
को सेट करें. अगर TF_GLOBAL_CONFIG
का नाम नहीं दिया गया है, तो TF अपने मौजूदा वर्किंग पाथ में tf_global_config.xml
नाम की फ़ाइल ढूंढने की कोशिश करेगा. अगर ऐसा नहीं होता है, तो TF डिफ़ॉल्ट ग्लोबल कॉन्फ़िगरेशन फ़ाइल लोड करेगा. उदाहरण के लिए, इस कमांड का इस्तेमाल करके, अपने कस्टम ग्लोबल कॉन्फ़िगरेशन के साथ TF लॉन्च किया जा सकता है:
TF_GLOBAL_CONFIG=/path/to/my/custom/good_tf_global_conf.xml tradefed.sh
ग्लोबल कॉन्फ़िगरेशन फ़ाइल का उदाहरण
<configuration description="Example Global Config">
<device_manager class="com.android.tradefed.device.DeviceManager">
<option name="max-null-devices" value="10" />
</device_manager>
</configuration>
ऊपर दिए गए उदाहरण में, "null-device" प्लेसहोल्डर की संख्या को DeviceManager
में तय की गई डिफ़ॉल्ट वैल्यू के बजाय 10 पर सेट किया गया है.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Trade Federation Global Configuration\n\nThe Trade Federation (TF) Global Configuration is a file that is loaded once\nupon TF initialization. This configuration file is used to define the\nenvironment for that instance of TF.\n\nLoad the Global Configuration file\n----------------------------------\n\nThe TF Global Configuration file is an XML file and can be specified by setting\nthe local environment variable `TF_GLOBAL_CONFIG`. If `TF_GLOBAL_CONFIG` is\nnot specified, TF will try to locate a file named `tf_global_config.xml` in its\ncurrent working path. If that fails, TF will load the default Global\nConfiguration file. For example, you can launch TF with your custom global\nconfiguration via the following command: \n\n TF_GLOBAL_CONFIG=/path/to/my/custom/good_tf_global_conf.xml tradefed.sh\n\nExample Global Configuration file\n---------------------------------\n\n \u003cconfiguration description=\"Example Global Config\"\u003e\n \u003cdevice_manager class=\"com.android.tradefed.device.DeviceManager\"\u003e\n \u003coption name=\"max-null-devices\" value=\"10\" /\u003e\n \u003c/device_manager\u003e\n \u003c/configuration\u003e\n\nThe example above sets the number of \"null-device\" placeholders to 10 instead of\nthe default value define in the `DeviceManager`."]]