mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Updated Readme files in the BCL project
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
You can specify output folder for Eclipse and xCode using Configuration.xml placed in respective folder. For example:
|
||||
|
||||
##Android
|
||||
## Android
|
||||
|
||||
```xml
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -9,10 +9,18 @@
|
||||
</JSFolder>
|
||||
```
|
||||
|
||||
##xCode
|
||||
## xCode
|
||||
```xml
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<JSFolder>
|
||||
<Path>Z:\TNSBridgeApp\TNSBridgeApp\TNSBridgeApp\tns_modules\</Path>
|
||||
</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/>
|
||||
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.
|
||||
3. Android_Deploy <br/>
|
||||
[Still working on]
|
||||
4. iOS_Deploy <br/>
|
||||
5. iOS_Deploy <br/>
|
||||
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:
|
||||
```
|
||||
```xml
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<JSFolder>
|
||||
<Path>Z:\Kimera\JDBridgeApp\JDBridgeApp\js</Path>
|
||||
</JSFolder>
|
||||
```
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user