mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Updated Readme files in the BCL project
This commit is contained in:
@ -16,3 +16,11 @@
|
|||||||
<Path>Z:\TNSBridgeApp\TNSBridgeApp\TNSBridgeApp\tns_modules\</Path>
|
<Path>Z:\TNSBridgeApp\TNSBridgeApp\TNSBridgeApp\tns_modules\</Path>
|
||||||
</JSFolder>
|
</JSFolder>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## UnitTestApp - Ready to run
|
||||||
|
```xml
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<JSFolder>
|
||||||
|
<Path>C:\Work\Git\xPlatCore\Applications\Android\UnitTestApp\assets\tns_modules</Path>
|
||||||
|
</JSFolder>
|
||||||
|
```
|
30
Readme.md
30
Readme.md
@ -18,20 +18,40 @@ There are four different configurations of the project:
|
|||||||
|
|
||||||
1. Android <br/>
|
1. Android <br/>
|
||||||
This configuration will create a `bin/Android` folder and output all the Android-related files there.
|
This configuration will create a `bin/Android` folder and output all the Android-related files there.
|
||||||
2. iOS <br/>
|
2. Android_Deploy <br/>
|
||||||
|
Same as the Android configuration plus the generated javascript is copied to the tns_modules folder in the targeted Eclipse project.
|
||||||
|
The path to the project is taken from the `BCL/Deploy/Eclipse/Configuration.xml` file. The expected XML structure is:
|
||||||
|
```xml
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<JSFolder>
|
||||||
|
<Path>C:\Work\Git\xPlatCore\Applications\Android\UnitTestApp\assets\tns_modules</Path>
|
||||||
|
</JSFolder>
|
||||||
|
```
|
||||||
|
3. Android_Tests <br/>
|
||||||
|
Same as Android_Deploy plus the Tests folder in the BCL is copied to the output directory.
|
||||||
|
|
||||||
|
4. iOS <br/>
|
||||||
This configuration will create a `bin/iOS` folder and output all the iOS-related files there.
|
This configuration will create a `bin/iOS` folder and output all the iOS-related files there.
|
||||||
3. Android_Deploy <br/>
|
5. iOS_Deploy <br/>
|
||||||
[Still working on]
|
|
||||||
4. iOS_Deploy <br/>
|
|
||||||
Same as the iOS configuration plus the generated javascript is copied to the JS folder in the testing xCode project.
|
Same as the iOS configuration plus the generated javascript is copied to the JS folder in the testing xCode project.
|
||||||
The path to the project is taken from the `BCL/Deploy/xCode/Configuration.xml` file. The expected XML structure is:
|
The path to the project is taken from the `BCL/Deploy/xCode/Configuration.xml` file. The expected XML structure is:
|
||||||
```
|
```xml
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<JSFolder>
|
<JSFolder>
|
||||||
<Path>Z:\Kimera\JDBridgeApp\JDBridgeApp\js</Path>
|
<Path>Z:\Kimera\JDBridgeApp\JDBridgeApp\js</Path>
|
||||||
</JSFolder>
|
</JSFolder>
|
||||||
```
|
```
|
||||||
In order to use this path you will need to map a shared MAC's folder and access it from your PC.
|
In order to use this path you will need to map a shared MAC's folder and access it from your PC.
|
||||||
|
6. iOS_Tests <br/>
|
||||||
|
Same as iOS_Deploy plus the Tests folder in the BCL is copied to the output directory.
|
||||||
|
|
||||||
|
### UnitTestApp - Ready to run
|
||||||
|
```xml
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<JSFolder>
|
||||||
|
<Path>C:\Work\Git\xPlatCore\Applications\Android\UnitTestApp\assets\tns_modules</Path>
|
||||||
|
</JSFolder>
|
||||||
|
```
|
||||||
|
|
||||||
### Useful links
|
### Useful links
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user