| 36 | | <echo>YAHOO! User Interface library is installed.</echo> |
|---|
| | 38 | <if> |
|---|
| | 39 | <equals arg1="${yui.local.use}" arg2="yes"/> |
|---|
| | 40 | <then> |
|---|
| | 41 | <if> |
|---|
| | 42 | <equals arg1="${yui.local.available}" arg2="yes"/> |
|---|
| | 43 | <then> |
|---|
| | 44 | <echo>YAHOO! User Interface library is installed.</echo> |
|---|
| | 45 | </then> |
|---|
| | 46 | <else> |
|---|
| | 47 | <echo level="error">[Error] YAHOO! User Interface library is *not* installed.</echo> |
|---|
| | 48 | <echo level="error"/> |
|---|
| | 49 | <echo level="error">Set the property "yui.local.use" in "build.properties" to "no" to use the online version.</echo> |
|---|
| | 50 | <echo level="error"/> |
|---|
| | 51 | <echo level="error">Or download the latest version of the YAHOO! User Interface library from http://developer.yahoo.com/yui</echo> |
|---|
| | 52 | <echo level="error">and place it into ${examples.absolute.dir}/yui.</echo> |
|---|
| | 53 | <echo level="error">For more information refer to ${examples.absolute.dir}/json-rpc/README.</echo> |
|---|
| | 54 | </else> |
|---|
| | 55 | </if> |
|---|
| | 56 | </then> |
|---|
| | 57 | <else> |
|---|
| | 58 | <echo>Using online version of the YAHOO! User Interface library, please make sure, you are connected to the Internet.</echo> |
|---|
| | 59 | </else> |
|---|
| | 60 | </if> |
|---|
| 39 | | <echo level="error">[Error] YAHOO! User Interface library is *not* installed.</echo> |
|---|
| 40 | | <echo>Please download the latest version of the YAHOO! User Interface library from http://developer.yahoo.com/yui</echo> |
|---|
| 41 | | <echo>and place it into ${examples.absolute.dir}/yui.</echo> |
|---|
| 42 | | <echo>For more information refer to ${examples.absolute.dir}/json-rpc/README.</echo> |
|---|
| | 63 | <if> |
|---|
| | 64 | <equals arg1="${yui.local.available}" arg2="yes"/> |
|---|
| | 65 | <then> |
|---|
| | 66 | <echo>YAHOO! User Interface library is installed.</echo> |
|---|
| | 67 | <echo>Will use this version in examples.</echo> |
|---|
| | 68 | <append destFile="build.properties" text="yui.local.use=yes${line.separator}"/> |
|---|
| | 69 | </then> |
|---|
| | 70 | <else> |
|---|
| | 71 | <echo>YAHOO! User Interface library is *not* installed.</echo> |
|---|
| | 72 | <input propertyname="yui.remote.use" promptChar="?">Do you want to use the online version provided by YAHOO (Y/N)</input> |
|---|
| | 73 | <if> |
|---|
| | 74 | <equals arg1="${yui.remote.use}" arg2="Y"/> |
|---|
| | 75 | <then> |
|---|
| | 76 | <append destFile="build.properties" text="yui.local.use=no${line.separator}"/> |
|---|
| | 77 | </then> |
|---|
| | 78 | <else> |
|---|
| | 79 | <append destFile="build.properties" text="yui.local.use=yes${line.separator}"/> |
|---|
| | 80 | </else> |
|---|
| | 81 | </if> |
|---|
| | 82 | </else> |
|---|
| | 83 | </if> |
|---|