Back to index

apport  2.3
Public Member Functions | Static Public Attributes
setup.build_java_subdir Class Reference
Collaboration diagram for setup.build_java_subdir:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def initialize_options
def finalize_options
def run

Static Public Attributes

string description = 'Compile java components of Apport'
list user_options = []

Detailed Description

Java crash handler build command

Definition at line 19 of file setup.py.


Member Function Documentation

Definition at line 28 of file setup.py.

00028 
00029     def finalize_options(self):
00030         pass

Definition at line 25 of file setup.py.

00025 
00026     def initialize_options(self):
00027         pass

Definition at line 31 of file setup.py.

00031 
00032     def run(self):
00033         oldwd = os.getcwd()
00034         os.chdir('java')
00035 
00036         subprocess.check_call(['javac'] + glob('com/ubuntu/apport/*.java'))
00037         subprocess.check_call(['jar', 'cvf', 'apport.jar'] +
00038                               glob('com/ubuntu/apport/*.class'))
00039         subprocess.check_call(['javac', 'crash.java'])
00040         subprocess.check_call(['jar', 'cvf', 'crash.jar', 'crash.class'])
00041 
00042         os.chdir(oldwd)
00043 


Member Data Documentation

string setup.build_java_subdir.description = 'Compile java components of Apport' [static]

Definition at line 22 of file setup.py.

Definition at line 23 of file setup.py.


The documentation for this class was generated from the following file: