CIAPI.As
February 11, 2014 ยท View on GitHub
Actionscript3 client libraries for the CityIndex Trading API, suitable for Flex/Flash/Actionscript based projects
Status


This project has been retired and is no longer being supported by City Index Ltd.
- if you should choose to fork it outside of City Index, please let us know so we can link to your project
Development Requirements
Install Maven 2
- Install Maven 2 to
C:\Program Files\apache-maven-2.2.1 - Add
C:\Program Files\apache-maven-2.2.1\binto the path - Set environment variable
M2_HOMEtoC:\Program Files\apache-maven-2.2.1 - Add
C:\Users\<your name>\.m2\settings.xmlcontaining<settings></settings> - Verify
mvn --versionyields the expected result
Install Flash Debug version 10.1 or later
Setup Maven dependencies
- Install the bundled 3rd party dependencies using
./register_3rdparty_libs_with_local_m2repo.cmd
(Optional) Setup FlashBuilder4
- We're using FlashBuilder 4 premium (Eclipse plugin version, using the build in Eclipse)
- Install Subclipse from http://subclipse.tigris.org/update_1.6.x
- Install Maven2 Eclipse plugin from http://m2eclipse.sonatype.org/sites/m2e
- Create a new workspace. Checkout the trunk folder into a folder below the workspace folder, e.g.
# workspace here
C:\Dev\FlexITPWorkspace
# svn checkout of http://cityindex.unfuddle.com/svn/cityindex_flexitp/trunk here
C:\Dev\FlexITPWorkspace\cityindex_flexitp
- Import > Maven > Existing Maven project - select C:\Dev\FlexChartsWorkspace\cityindex_flexcharts folder
- Wait for build process,
- Run FlexUnit tests
Known Issues
- Q: Flashbuilder code completion etc breaks.
A: Make sure you checkout the project to a new workspace, such that the project is below the workspace directory
# workspace here
C:\Dev\FlexITPWorkspace
# svn checkout of http://cityindex.unfuddle.com/svn/cityindex_flexitp/trunk here
C:\Dev\FlexITPWorkspace\cityindex_flexitp
License
Copyright 2010-2011 City Index Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.