javaextensions/wma/mms/tsrc/pushtests/compileAndInstall.bat
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 @rem
       
     2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 @rem All rights reserved.
       
     4 @rem This component and the accompanying materials are made available
       
     5 @rem under the terms of "Eclipse Public License v1.0"
       
     6 @rem which accompanies this distribution, and is available
       
     7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 @rem
       
     9 @rem Initial Contributors:
       
    10 @rem Nokia Corporation - initial contribution.
       
    11 @rem
       
    12 @rem Contributors:
       
    13 @rem
       
    14 @rem Description: 
       
    15 @rem
       
    16 @echo off
       
    17 ren \epoc32\RELEASE\winscw\udeb\Z\system\data\midp2\security\policy\midp2_rp.xpf midp2_rp.xpf_
       
    18 copy ..\..\..\data\midp2_rp.xpf \epoc32\RELEASE\winscw\udeb\Z\system\data\midp2\security\policy\
       
    19 
       
    20 call ant compile
       
    21 call ant jar
       
    22 call ant deploy
       
    23 
       
    24 rem IF THE INSTALLATION OF MIDLETS FROM COMMAND LINE WORKS THEN:
       
    25 rem    . UNCOMMENT LINE NO. 12
       
    26 rem    . COMMENT OUT LINES NO.14, 15, 16
       
    27 rem call ant install
       
    28 
       
    29 rem THIS IS A WORKAROUND FOR THE MIDLET NOT BEING INSTALLED FROM COMMAND LINE
       
    30 echo Install and run the MIDlet and
       
    31 pause
       
    32 
       
    33 del /Q \epoc32\RELEASE\winscw\udeb\Z\system\data\midp2\security\policy\midp2_rp.xpf
       
    34 ren \epoc32\RELEASE\winscw\udeb\Z\system\data\midp2\security\policy\midp2_rp.xpf_ midp2_rp.xpf