Setting up the Onyx Development Environment

THIS PAGE IS NOW OLD AND SLATED FOR UPDATE
——————————————————–
THIS PAGE IS NOW OLD AND SLATED FOR UPDATE
——————————————————–
THIS PAGE IS NOW OLD AND SLATED FOR UPDATE
——————————————————–

Check out the entire Onyx project via svn.

You should have the following folders:

Binaries\ (the folder where you binaries will compile to)
BaseFilters\ (the project that imports filters, transitions, and visualizers)
Onyx2\ (the main user interface project)
OnyxAssets\ (some examples of how to extend the onyx core)
OnyxCore\ (the core onyx libraries)

Copy all the folders to a project path (i.e. C:\Projects\Onyx\).

Then, open up Flex, we will need to create projects for each of them:

dev_2

Create a simple project called AssetStore, then click OK.
(New -> Project -> Simple Project -> AssetStore)

Next we will create our library project for OnyxCore.

dev_2

Create a Flex Library Project called OnyxCore
(New -> Project -> Flex Library Project -> OnyxCore

Then, edit the project properties.
(Project -> Properties)

Select Flex Library Build Path. Here make sure all the classes are checked.

While you’re here, change the output folder to the sdk folder within the AssetStore project (or type in ${DOCUMENTS}\AssetStore\sdk)

dev_3

Click ok, you should see Eclipse building - it will output an OnyxCore.swc, this will be the core library that we will include for all our other projects.

Next, we need to create our User Interface Project. Create an Actionscript Project named Onyx2.

Once that’s done, open the project properties.
(Project -> Properties)

dev_4

Click the Library path tab, then click “Add SWC”.

Navigate to the AssetStore\sdk\ path, and import the OnyxCore.swc

While we’re here, change the output folder to AssetStore\

Next, we need to set up the filters path, same business.

Next, we need to create our Filters Project. Create an Actionscript Project named BaseFilters.

Once that’s done, open the project properties.
(Project -> Properties)

dev_5

Click the Library path tab, then click “Add SWC”.

Navigate to the AssetStore\sdk\ path, and import the OnyxCore.swc

While we’re here, change the output folder to AssetStore\plugins\.

Now we’re ready to launch Onyx, right click the Onyx2 project, then click Debug as -> Flex Project. Onyx should launch!

dev-6

1 Comment »

  1. I have download the version Onyx-VJ 4.0.0, would like to compile it.
    May I know how to set up the development environment for Onyx-VJ 4.0.0?

    Comment by wee soon — September 18, 2009 @ 3:50 am

Leave a comment