예제 #1
0
'''
Created on Jan 14, 2011

@author: Administrator
'''

import os
import rpyc
from rpycutil import rcopy
from s60util import install

HOST = '172.16.0.2'
FNS = 'amx.jad', 'amx.jar'
APP = 'Aportuj'
DIR = r'E:\installs'

conn = rpyc.classic.connect(HOST)
for fn in FNS:
    rcopy(fn, DIR, dst=conn)
install(conn, os.path.join(DIR, FNS[0]))
conn.modules.midlet.run(APP)
예제 #2
0
파일: s60ctl.py 프로젝트: mwicat/s60ctl
def install(host, path):
    conn = init_conn(host)
    err = s60util.install(conn, path)
예제 #3
0
def install(host, path):
    conn = init_conn(host)
    err = s60util.install(conn, path)