Changeset 604

Show
Ignore:
Timestamp:
04/22/07 18:45:32 (1 year ago)
Author:
schst
Message:

Moved YUI-location from /examples/JSON-RPC to /examples, as there might be other examples, that make use of the library.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/build.xml

    r601 r604  
    2020  <!-- Setup examples --> 
    2121  <target name="setup-examples" description="Setup the included examples"> 
     22    <resolvepath propertyName="examples.absolute.dir" file="${examples.base.dir}"/> 
    2223    <echo>-------------------------------</echo> 
    2324    <echo>| Setting up JSON-RPC example |</echo> 
     
    3132    </copy> 
    3233    <if> 
    33       <available file="${examples.base.dir}/json-rpc/yui" type="dir"/> 
     34      <available file="${examples.absolute.dir}/yui" type="dir"/> 
    3435      <then> 
    3536        <echo>YAHOO! User Interface library is installed.</echo> 
     
    3738      <else> 
    3839        <echo level="error">[Error] YAHOO! User Interface library is *not* installed.</echo> 
    39         <echo level="error">[Error] Please refer to the README file in the ${examples.base.dir}/json-rpc/ folder.</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> 
    4043      </else> 
    4144    </if> 
  • trunk/examples

    • Property svn:ignore set to
      yui
  • trunk/examples/json-rpc/README

    r600 r604  
    551. Dowload the latest release from http://developer.yahoo.com/yui/ 
    662. Extract the archive 
    7 3. Move the "yui" folder into the document root 
     73. Move the "yui" folder into the /examples folder 
    884. Make sure, that all javascript files from stubbles are copied to this directory, by executing "phing setup" in the Stubbles checkout folder 
  • trunk/examples/json-rpc/index.php

    r602 r604  
    44<head> 
    55  <title>JSON-RPC Test</title> 
    6   <script type="text/javascript" src="yui/build/yahoo/yahoo.js"></script> 
    7   <script type="text/javascript" src="yui/build/connection/connection.js"></script> 
     6  <script type="text/javascript" src="../yui/build/yahoo/yahoo.js"></script> 
     7  <script type="text/javascript" src="../yui/build/connection/connection.js"></script> 
    88  <script type="text/javascript" src="javascript/json.js"></script> 
    99  <script type="text/javascript" src="javascript/stub-base.js"></script>