Resource deployment based on conditions
First Claim
1. A method, comprising:
- identifying conditions under which resources are applicable to a build of an application, the conditions define applicability information for associated resources of the application;
creating an index which enumerates the resources, references to resources, and conditions associated with the resources and references;
recognizing, using a processing device, tokens to find resources that meet specific applicability information of a resource package for the application; and
partitioning, using the processing device, the resources into the resource package for use by the application based on the associated conditions and partitioning of index indices;
wherein the partitioning includes determining whether to store a reference of the references in the resource package, and causing the reference to be stored in the resource package responsive to a result of the determination.
2 Assignments
0 Petitions
Accused Products
Abstract
Architecture that facilitates the package partitioning of application resources based on conditions, and the package applicability based on the conditions. An index is created for a unified lookup of the available resources. At build time of an application, the resources are indexed and determined to be applicable based on the conditions. The condition under which the resource is applicable is then used to automatically partition the resource into an appropriate package. Each resource package then becomes applicable under the conditions in which the resources within it are applicable, and is deployed to the user if the user merits the conditions (e.g., an English user will receive an English package of English strings, but not a French package). Before the application is run, the references to the resources are merged and can be used to do appropriate lookup of what resources are available.
-
Citations
15 Claims
-
1. A method, comprising:
-
identifying conditions under which resources are applicable to a build of an application, the conditions define applicability information for associated resources of the application; creating an index which enumerates the resources, references to resources, and conditions associated with the resources and references; recognizing, using a processing device, tokens to find resources that meet specific applicability information of a resource package for the application; and partitioning, using the processing device, the resources into the resource package for use by the application based on the associated conditions and partitioning of index indices; wherein the partitioning includes determining whether to store a reference of the references in the resource package, and causing the reference to be stored in the resource package responsive to a result of the determination. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A memory device having instructions stored thereon that, in response to execution by a processing device, cause the processing device to perform operations comprising:
-
identifying conditions under which resources are applicable to a build of an application, the conditions define applicability information for associated resources of the application; creating an index which enumerates the resources, references to resources, and conditions associated with the resources and references; recognizing tokens to find resources that meet specific applicability information of a resource package for the application; and partitioning the resources into the resource package for use by the application based on the associated conditions and partitioning of index indices; wherein the partitioning includes determining whether to store a reference of the references in the resource package, and causing the reference to be stored in the resource package responsive to a result of the determination. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15)
-
Specification