Lines Matching refs:Part
1 # HPM Part Development
4 ## HPM Part Development Overview
6 … develop the resources on your own and publish them in the form of an HPM Part. To develop HPM Par…
78 ## Creating an HPM Part
80 You can create an HPM Part by using a template or define an existing project as an HPM Part.
83 ### Creating an HPM Part Using a Template
109 2. Write the code and build script of the HPM Part.
118 > - -**d {dir}** indicates the path for storing the HPM Part to be created.
120 > - **name** indicates the name of the HPM Part to be created.
127 ### Defining an Existing Project as an HPM Part
136 1. Enter an HPM Part name (**mybundle2** for example) and press **Enter**.
218 ## Building an HPM Part
220 If the code of an HPM Part can be independently built, you can configure the build tool and scripts…
302 ## Publishing an HPM Part
304 To publish an HPM Part, you must obtain an account and create an organization (or join an existing …
318 In the directory where the HPM Part is located, run the following command to pack and publish the H…
327 > - To avoid HPM Part name conflicts, name an HPM Part in the format of **\@org_name/bundle_name**.
334 ## Using an HPM Part
337 ### Using a Part
357 …The referenced HPM Part will be installed under **ohos_bundle** in the directory where your projec…
363 │ └─ the_bundle # <--- Referenced HPM Part
372 Open the **bundle.json** file. You will see that the HPM Part has been introduced to the dependenci…
402 If the referenced HPM Part is shared by multiple projects, for example, the compiler toolchain, you…
410 The referenced HPM Part will be installed in the directory specified by the **globalRepo** paramete…
415 │ └─ the_tool # <--- Referenced HPM Part
420 > - For an HPM Part installed in a project, you can reference it using the environment variable **D…
421 > For example, after you run **hpm i \@opensource/gn** to install an HPM Part, edit the build scri…
431 …or a globally installed HPM Part, you can directly call the HPM Part using an environment variable…