Open Eclipse
File > New > Project
Flex Builder > Flex Project
Project name: iSports
Application server type: PHP
Next
Web root: /var/www/weborb
Root URL: http://localhost/weborb
Validate Configuration
Finish
In Eclipse on the right in Flex Navigator
right-click iSports > Properties
Select Flex Compiler
In 'Additional compiler arguments' append '-services /var/www/weborb/Weborb/WEB-INF/flex/services-config.xml' to the existing text.
OK
Our project has been created in
/var/www/weborb/iSports-debug/
Now
cp /var/www/weborb/weborb.php /var/www/weborb/iSports-debug/
And edit /var/www/weborb/iSports-debug/weborb.php so to include '../' in the paths like this:
require_once("../Weborb/ORBHttpHandler.php");
require_once("../Weborb/Util/Cache/Cache.php");
Now we're ready to roll.
No comments:
Post a Comment