A method and system for separating java archive files

A java class and file technology, applied in the field of separating java archive files, can solve the problems that jar packages cannot be compiled and passed, and achieve the effect of solving interdependence, convenient and flexible separation, and adding functions

Active Publication Date: 2017-01-25
TCL COMM TECH NINGBO CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a method and system for separating java archive files, aiming at solving the problem in the prior art that jar packages depend on each other and cannot be compiled

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and system for separating java archive files
  • A method and system for separating java archive files
  • A method and system for separating java archive files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The present invention provides a method and system for separating java archive files. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0041] see figure 2 , figure 2 The flow chart of the preferred embodiment of the method for separating java archive file of the present invention, as shown in the figure, it comprises steps:

[0042] S101. When compiling the target file, refer to the java source code required for compiling from the source code directory into the compiling process, and compile it together with the target code, and record the java source code involved in compiling during the compiling process;

[0043] S102. Eliminate the bytecode files compiled from the java source code that part...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a system for separating java archived files. The method includes the steps: quoting java source codes needed by compilation into the compilation process from a source code catalog when compiling object files, compiling the object files together with object codes and recording the java source codes involved in compilation in the compilation process; removing byte code files compiled by the java source codes involved in compilation, and packing remaining byte code files into final java archived files. The java archived files are more conveniently and flexibly separated, the function of quoting in compilation is added, and the problem that jar packets need mutual dependence is solved.

Description

technical field [0001] The invention relates to the field of Android system development, in particular to a method and system for separating java archive files. Background technique [0002] The Android system is an intelligent mobile terminal operating system launched by Google. In the framework (framework) development process of the Android system, a large number of custom classes and methods will be added. Over time, an error of excessive number of interfaces may occur when compiling the framework module. The reason is: the Android-specific dex file (the type of executable file on the Android platform) can accommodate a maximum of 65535 interfaces. If the number of interfaces exceeds this number, errors may occur. [0003] In the prior art, when the number of interfaces in the framework exceeds the limit, the original framework will be divided into two java archive files (jar packages for short): framework.jar (A) and framework_ext.jar (B), These two jar packages are ea...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/45G06F9/44
Inventor 史豪君
Owner TCL COMM TECH NINGBO CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products