"vertical" > 12

13
        <LinearLayout
14
            android:id="@+id/layout"
15
            android:layout_width="fill_parent"
16
            android:layout_height="wrap_content"
17
            android:orientation="horizontal"
18
            android:visibility="gone" >
19

20
            <EditText
21
                android:id="@+id/et_url"
22
                android:layout_width="0dp"
23
                android:layout_height="wrap_content"
24
                android:layout_weight="1"
25
                android:inputType="textUri"
26
                android:singleLine="true" />
27

28
            <Button
29
                android:id="@+id/btn_visit"
30
                android:layout_width="wrap_content"
31
                android:layout_height="wrap_content"
32
                android:text="@string/visit" />
33
        </LinearLayout>
34

35
        <LinearLayout
36
            android:id="@+id/ll_btn"
37
            android:layout_width="fill_parent"
38
            android:layout_height="wrap_content"
39
            android:gravity="center_horizontal"
40
            android:orientation="horizontal" >
41

42
            <Button
43
                android:id="@+id/btn_home"
44
                android:layout_width="wrap_content"
45
                android:layout_height="wrap_content"
46
                android:layout_weight="1"
47
                android:text="@string/home" />
48

49
            <Button
50
                android:id="@+id/btn_left"
51
                android:layout_width="wrap_content"
52
                android:layout_height="wrap_content"
53
                android:layout_weight="1"
54
                android:text="@string/left" />
55

56
            <Button
57
                android:id="@+id/btn_right"
58
                android:layout_width="wrap_content"
59
                android:layout_height="wrap_content"
60
                android:layout_weight="1"
61
                android:text="@string/right" />
62

63
            <Button
64
                android:id="@+id/btn_exit"
65
                android:layout_width="wrap_content"
66
                android:layout_height="wrap_content"
67
                android:layout_weight="1"
68
                android:text="@string/exit" />
69
        </LinearLayout>
70

71
        <WebView
72
            android:id="@+id/web"
73
            android:layout_width="fill_parent"
74
            android:layout_height="fill_parent" />
75
    </LinearLayout>
76

77
</LinearLayout>

+ 23 - 0
ipu-mobile-common/res/layout/keyboard.xml

@ -0,0 +1,23 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
    <RelativeLayout  xmlns:android="http://schemas.android.com/apk/res/android"
3
        android:layout_width="fill_parent"
4
    	android:layout_height="match_parent"
5
    	android:orientation="vertical" 
6
        android:layout_gravity="bottom">
7
             
8
        <android.inputmethodservice.KeyboardView
9
            android:id="@+id/keyboard_view"
10
            android:layout_width="fill_parent"
11
            android:layout_height="wrap_content"
12
            android:focusable="true"
13
            android:focusableInTouchMode="true"
14
            android:background="#ff202020"
15
            android:keyBackground="@drawable/keyboard_key" 
16
            android:layout_alignParentBottom="true"
17
            android:keyTextColor="#ffffffff"
18
            android:visibility="visible" />
19
            <requestFocus />
20

21
          
22
           
23
    </RelativeLayout>

+ 23 - 0
ipu-mobile-common/res/layout/nfcard.xml

@ -0,0 +1,23 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="fill_parent"
4
    android:layout_height="fill_parent"
5
    android:background="#FFBABABA" >
6
7
    <ImageView
8
        android:contentDescription="@string/imgContentDesc"
9
        android:layout_width="fill_parent"
10
        android:layout_height="fill_parent"
11
        android:background="@android:color/white"
12
        android:src="@drawable/nfc_bg" >
13
    </ImageView>
14
15
    <TextView
16
        android:layout_width="fill_parent"
17
        android:layout_height="wrap_content"
18
        android:gravity="center"
19
        android:text="@string/tips"
20
        android:textColor="#5499d2"
21
        android:textSize="20sp" />
22
23
</RelativeLayout>

+ 36 - 0
ipu-mobile-common/res/layout/screenlock_login_layout2.xml

@ -0,0 +1,36 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="fill_parent"
4
    android:layout_height="fill_parent" >
5
    
6
    <RelativeLayout
7
        android:layout_width="fill_parent"
8
        android:layout_height="fill_parent"
9
        android:background="@drawable/screenlock_welcome_bg"
10
        android:padding="10dp" >
11

12
        <com.ai.ipu.mobile.common.screenlock.view.LocusPassWordView
13
            android:id="@+id/lock_view"
14
            android:layout_width="fill_parent"
15
            android:layout_height="fill_parent" />
16

17
        <TextView
18
            android:id="@+id/notify"
19
            android:layout_width="fill_parent"
20
            android:layout_height="wrap_content"
21
            android:layout_marginTop="10dp"
22
            android:gravity="center"
23
            android:text="请输入您设置的手势密码"
24
            android:textColor="@android:color/white"
25
            android:textSize="16sp" />
26

27
        <Button
28
            android:id="@+id/forget_btn"
29
            android:layout_width="fill_parent"
30
            android:layout_height="wrap_content"
31
            android:layout_alignParentBottom="true"
32
            android:padding="10dp"
33
            android:text="忘记密码或者用其他方式登录" />
34
    </RelativeLayout>
35

36
</RelativeLayout>

+ 28 - 0
ipu-mobile-common/res/layout/screenlock_reset_lock_layout.xml

@ -0,0 +1,28 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="match_parent"
4
    android:layout_height="match_parent"
5
    android:background="@drawable/screenlock_welcome_bg"
6
    android:padding="10dp" >
7

8
    <com.ai.ipu.mobile.common.screenlock.view.LocusPassWordView
9
        android:id="@+id/lock_view"
10
        android:layout_width="fill_parent"
11
        android:layout_height="fill_parent" />
12
    <TextView
13
        android:id="@+id/notify"
14
        android:layout_width="fill_parent"
15
        android:layout_height="wrap_content"
16
        android:gravity="center"
17
        android:text="123"
18
        android:textColor="@android:color/white"
19
        android:textSize="16sp" />
20
	<Button
21
        android:id="@+id/reset_btn"
22
        android:layout_width="fill_parent"
23
        android:layout_height="wrap_content"
24
        android:layout_alignParentBottom="true"
25
        android:padding="10dp"
26
        android:text="重新设置" 
27
        android:visibility="invisible"/>
28
</RelativeLayout>

+ 77 - 0
ipu-mobile-common/res/layout/share_apk_activity.xml

@ -0,0 +1,77 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="300dp"
4
    android:layout_height="400dp"
5
    android:background="#060514"
6
    android:orientation="vertical" >
7
    
8
    <TextView
9
        android:id="@+id/share"
10
        android:layout_width="match_parent"
11
        android:layout_height="wrap_content"
12
        android:gravity="center"
13
        android:text="@string/sa_share"
14
        android:textColor="#FFFFFF"
15
        android:textSize="20sp" />
16

17
    <View
18
        android:layout_width="match_parent"
19
        android:layout_height="1dp"
20
        android:layout_marginBottom="2dp"
21
        android:layout_marginTop="2dp"
22
        android:background="#696969" />
23

24
    <ListView
25
        android:id="@+id/deviceListView"
26
        android:layout_width="match_parent"
27
        android:layout_height="0dp"
28
        android:layout_weight="1"
29
        android:isScrollContainer="true"
30
        android:paddingTop="5dp" >
31
    </ListView>
32

33
    <View
34
        android:layout_width="match_parent"
35
        android:layout_height="1dp"
36
        android:layout_marginBottom="2dp"
37
        android:layout_marginTop="2dp"
38
        android:background="#696969" />
39

40
    <RelativeLayout
41
        android:layout_width="wrap_content"
42
        android:layout_height="50dp" >
43

44
        <Button
45
            android:id="@+id/exit"
46
            android:layout_width="140dp"
47
            android:layout_height="wrap_content"
48
            android:layout_marginRight="5dp"
49
            android:paddingLeft="20dp"
50
            android:text="@string/sa_exit"
51
            android:textColor="#FFFFFF"
52
            android:textSize="20sp" />
53

54
        <View
55
            android:layout_width="1dip"
56
            android:layout_height="50dp"
57
            android:layout_gravity="center_horizontal"
58
            android:layout_centerInParent="true"
59
            android:background="#696969"
60
            android:layout_marginLeft="3dp"
61
            android:layout_marginRight="3dp"
62
             />
63

64
        <Button
65
            android:id="@+id/search"
66
            android:layout_width="140dp"
67
            android:layout_height="wrap_content"
68
            android:layout_alignParentRight="true"
69
            android:layout_alignTop="@id/exit"
70
            android:layout_marginRight="5dp"
71
            android:paddingRight="20dp"
72
            android:text="@string/sa_search"
73
            android:textColor="#FFFFFF"
74
            android:textSize="20sp" />
75
    </RelativeLayout>
76

77
</LinearLayout>

+ 39 - 0
ipu-mobile-common/res/layout/share_apk_device_list_item.xml

@ -0,0 +1,39 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="fill_parent"
4
    android:layout_height="fill_parent"
5
    android:orientation="horizontal" >
6

7
    <LinearLayout
8
        android:layout_width="0dp"
9
        android:layout_height="wrap_content"
10
        android:orientation="vertical"
11
        android:layout_weight="1"
12
        android:paddingBottom="5dp"
13
         >
14
        <!-- 设备名 -->
15
        <TextView
16
            android:id="@+id/deviceNameTV"
17
            android:layout_width="wrap_content"
18
            android:layout_height="wrap_content"
19
            android:paddingLeft="5dp"
20
            android:textColor="#fff"
21
            android:textSize="20sp" />
22
        <LinearLayout
23
            android:layout_width="fill_parent"
24
            android:layout_height="wrap_content"
25
            android:orientation="horizontal" >
26
            <!-- MAC地址 -->
27
            <TextView
28
                android:layout_width="wrap_content"
29
                android:layout_height="wrap_content"
30
                android:layout_marginLeft="15dp"
31
                android:text="@string/sa_mac_address" />
32
            <!-- MAC地址字符串 -->
33
            <TextView
34
                android:id="@+id/macAddressTV"
35
                android:layout_width="wrap_content"
36
                android:layout_height="wrap_content" />
37
        </LinearLayout>
38
    </LinearLayout>
39
</LinearLayout>

BIN
ipu-mobile-common/res/raw/beep.ogg


+ 11 - 0
ipu-mobile-common/res/values-v11/styles.xml

@ -0,0 +1,11 @@
1
<resources>
2

3
    <!--
4
        Base application theme for API 11+. This theme completely replaces
5
        AppBaseTheme from res/values/styles.xml on API 11+ devices.
6
    -->
7
    <style name="AppBaseTheme" parent="android:Theme.Holo.Light">
8
        <!-- API 11 theme customizations can go here. -->
9
    </style>
10

11
</resources>

+ 12 - 0
ipu-mobile-common/res/values-v14/styles.xml

@ -0,0 +1,12 @@
1
<resources>
2

3
    <!--
4
        Base application theme for API 14+. This theme completely replaces
5
        AppBaseTheme from BOTH res/values/styles.xml and
6
        res/values-v11/styles.xml on API 14+ devices.
7
    -->
8
    <style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
9
        <!-- API 14 theme customizations can go here. -->
10
    </style>
11

12
</resources>

+ 3 - 0
ipu-mobile-common/res/values/strings.xml

@ -0,0 +1,3 @@
1
<resources>
2
    <string name="app_name">ipu-plugin-extend</string>
3
</resources>

+ 5 - 0
ipu-mobile-common/res/values/strings_audio.xml

@ -0,0 +1,5 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
3
    <string name="recording">正在录音……</string>
4
    <string name="pressTip">按下说话</string>
5
</resources>

+ 8 - 0
ipu-mobile-common/res/values/strings_browser.xml

@ -0,0 +1,8 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
3
    <string name="home">主页</string>
4
    <string name="left">后退</string>
5
    <string name="right">前进</string>
6
    <string name="exit">退出</string>
7
    <string name="visit">访问</string>
8
</resources>

+ 5 - 0
ipu-mobile-common/res/values/strings_nfc.xml

@ -0,0 +1,5 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
3
    <string name="imgContentDesc">NFC 背景图片</string>
4
    <string name="tips">还在等什么,碰一碰~</string>
5
</resources>

+ 10 - 0
ipu-mobile-common/res/values/strings_share_apk.xml

@ -0,0 +1,10 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
3
    <string name="sa_share">应用分享</string>
4
	<string name="sa_mac_address">MAC地址:</string>
5
	<string name="sa_search">刷新</string>
6
	<string name="sa_searching">搜索设备中……</string>
7
	<string name="sa_exit">退出</string>
8
	<string name="sa_confirm_share">确认要分享吗?</string>
9
	<string name="sa_tip">请将远程蓝牙设备打开,并且保持可见……</string>
10
</resources>

+ 9 - 0
ipu-mobile-common/res/values/style_audio.xml

@ -0,0 +1,9 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
3
	<style name="AudioDialogTheme" parent="@android:style/Theme.Dialog">
4
        <!-- 无标题 -->
5
        <item name="android:windowNoTitle">true</item>
6
        <!-- 设置背景色 -->
7
        <item name="android:windowBackground">@drawable/audio_activity_dialog</item>
8
    </style>
9
</resources>

+ 7 - 0
ipu-mobile-common/res/values/style_custom_dialog.xml

@ -0,0 +1,7 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
3
    <style name="CustomDialogTheme" parent="@android:style/Theme.Dialog">
4
        <!-- 无标题 -->
5
        <item name="android:windowNoTitle">true</item>
6
    </style>
7
</resources>

+ 7 - 0
ipu-mobile-common/res/values/style_share_apk.xml

@ -0,0 +1,7 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
3
    <style name="ShareApkDialogTheme" parent="@android:style/Theme.Dialog">
4
        <!-- 无标题 -->
5
        <item name="android:windowNoTitle">true</item>
6
    </style>
7
</resources>

+ 7 - 0
ipu-mobile-common/res/values/style_sliding_menu.xml

@ -0,0 +1,7 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<resources>
3
    <style name="SlidingMenuTheme" parent="@android:style/Theme.Translucent">
4
        <!-- 无标题 -->
5
        <item name="android:windowNoTitle">true</item>
6
    </style>
7
</resources>

+ 20 - 0
ipu-mobile-common/res/values/styles.xml

@ -0,0 +1,20 @@
1
<resources>
2

3
    <!--
4
        Base application theme, dependent on API level. This theme is replaced
5
        by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
6
    -->
7
    <style name="AppBaseTheme" parent="android:Theme.Light">
8
        <!--
9
            Theme customizations available in newer API levels can go in
10
            res/values-vXX/styles.xml, while customizations related to
11
            backward-compatibility can go here.
12
        -->
13
    </style>
14

15
    <!-- Application theme. -->
16
    <style name="AppTheme" parent="AppBaseTheme">
17
        <!-- All customizations that are NOT specific to a particular API-level can go here. -->
18
    </style>
19

20
</resources>

BIN
ipu-mobile-libs/bin/ipu-mobile-libs.jar


+ 0 - 3
ipu-mobile-libs/bin/jarlist.cache

@ -1,3 +0,0 @@
1
# cache for current jar dependency. DO NOT EDIT.
2
# format is <lastModified> <length> <SHA-1> <path>
3
# Encoding is UTF-8

rest-guide - Nuosi Git Service

rest的向导工程

mvnw.cmd 6.5KB

    @REM ---------------------------------------------------------------------------- @REM Licensed to the Apache Software Foundation (ASF) under one @REM or more contributor license agreements. See the NOTICE file @REM distributed with this work for additional information @REM regarding copyright ownership. The ASF licenses this file @REM to you under the Apache License, Version 2.0 (the @REM "License"); you may not use this file except in compliance @REM with the License. You may obtain a copy of the License at @REM @REM https://www.apache.org/licenses/LICENSE-2.0 @REM @REM Unless required by applicable law or agreed to in writing, @REM software distributed under the License is distributed on an @REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @REM KIND, either express or implied. See the License for the @REM specific language governing permissions and limitations @REM under the License. @REM ---------------------------------------------------------------------------- @REM ---------------------------------------------------------------------------- @REM Maven Start Up Batch script @REM @REM Required ENV vars: @REM JAVA_HOME - location of a JDK home dir @REM @REM Optional ENV vars @REM M2_HOME - location of maven2's installed home dir @REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands @REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven @REM e.g. to debug Maven itself, use @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 @REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files @REM ---------------------------------------------------------------------------- @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' @echo off @REM set title of command window title %0 @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' @if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% @REM set %HOME% to equivalent of $HOME if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") @REM Execute a user defined script before this one if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre @REM check for pre script, once with legacy .bat ending and once with .cmd ending if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" :skipRcPre @setlocal set ERROR_CODE=0 @REM To isolate internal variables from possible post scripts, we use another setlocal @setlocal @REM ==== START VALIDATION ==== if not "%JAVA_HOME%" == "" goto OkJHome echo. echo Error: JAVA_HOME not found in your environment. >&2 echo Please set the JAVA_HOME variable in your environment to match the >&2 echo location of your Java installation. >&2 echo. goto error :OkJHome if exist "%JAVA_HOME%\bin\java.exe" goto init echo. echo Error: JAVA_HOME is set to an invalid directory. >&2 echo JAVA_HOME = "%JAVA_HOME%" >&2 echo Please set the JAVA_HOME variable in your environment to match the >&2 echo location of your Java installation. >&2 echo. goto error @REM ==== END VALIDATION ==== :init @REM Find the project base dir, i.e. the directory that contains the folder ".mvn". @REM Fallback to current working directory if not found. set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir set EXEC_DIR=%CD% set WDIR=%EXEC_DIR% :findBaseDir IF EXIST "%WDIR%"\.mvn goto baseDirFound cd .. IF "%WDIR%"=="%CD%" goto baseDirNotFound set WDIR=%CD% goto findBaseDir :baseDirFound set MAVEN_PROJECTBASEDIR=%WDIR% cd "%EXEC_DIR%" goto endDetectBaseDir :baseDirNotFound set MAVEN_PROJECTBASEDIR=%EXEC_DIR% cd "%EXEC_DIR%" :endDetectBaseDir IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig @setlocal EnableExtensions EnableDelayedExpansion for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a @endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% :endReadAdditionalConfig SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" FOR /F "tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B ) @REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central @REM This allows using the maven wrapper in projects that prohibit checking in binary data. if exist %WRAPPER_JAR% ( if "%MVNW_VERBOSE%" == "true" ( echo Found %WRAPPER_JAR% ) ) else ( if not "%MVNW_REPOURL%" == "" ( SET DOWNLOAD_URL="%MVNW_REPOURL%/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" ) if "%MVNW_VERBOSE%" == "true" ( echo Couldn't find %WRAPPER_JAR%, downloading it ... echo Downloading from: %DOWNLOAD_URL% ) powershell -Command "&{"^ "$webclient = new-object System.Net.WebClient;"^ "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ "}"^ "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ "}" if "%MVNW_VERBOSE%" == "true" ( echo Finished downloading %WRAPPER_JAR% ) ) @REM End of extension @REM Provide a "standardized" way to retrieve the CLI args that will @REM work with both Windows and non-Windows executions. set MAVEN_CMD_LINE_ARGS=%* %MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* if ERRORLEVEL 1 goto error goto end :error set ERROR_CODE=1 :end @endlocal & set ERROR_CODE=%ERROR_CODE% if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost @REM check for post script, once with legacy .bat ending and once with .cmd ending if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" :skipRcPost @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' if "%MAVEN_BATCH_PAUSE%" == "on" pause if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% exit /B %ERROR_CODE%