Compiling Rifidi from Source

Questions about developing the edge server core as well as applications

Moderators: Matt, kyle

Post Reply
Urb
Posts: 9
Joined: Wed Jul 02, 2008 6:31 am
Organization: Cambridge

Compiling Rifidi from Source

Post by Urb » Thu Jul 10, 2008 8:25 am

Hi

How do you compile the source code in the svn repository? When I follow the instructions on http://wiki.rifidi.org/index.php/Rifidi:Source_Code, it tells me to run Rifidi.product in the package org.rifidi.ide as an eclipse application. However, the repository I'm told to download files from (tried both 'https://svn.rifidi.org/svn/rep-external' and 'http://rifidi.googledocks.com/svn' as referenced in the screenshots) does not contain this package?

Also, when I switch Eclipse into the Java perspective, it seems to find lots of errors in the packages from the repository. Are there any files stored that I'm missing?

thanks again,

Urb

kyle
Posts: 220
Joined: Tue Apr 22, 2008 10:12 pm
Name: Kyle
Organization: Pramari
Location: Hartford, CT
Contact:

Re: Autonomous/Polling

Post by kyle » Mon Jul 28, 2008 5:22 pm

Urb,
Sorry it took me so long to reply to this. You need to use org.rifidi.ui.ide....I guess a package named changed since we last updated the documentation. I'll change this on the wiki
-Kyle

michele
Posts: 6
Joined: Thu Jun 18, 2009 3:50 am
Organization: uni

Re: Compiling Rifidi from Source

Post by michele » Thu Jun 18, 2009 4:43 am

Hi

i'm trying to compile RIFIDI Emulator from the latest version of the source code, but the instruction at http://wiki.rifidi.org/index.php/Rifidi:Source_Code doesn't work.
And, like Urb said :
.. when I switch Eclipse into the Java perspective, it seems to find lots of errors in the packages from the repository.
Are there any files stored that I'm missing?

kyle
Posts: 220
Joined: Tue Apr 22, 2008 10:12 pm
Name: Kyle
Organization: Pramari
Location: Hartford, CT
Contact:

Re: Compiling Rifidi from Source

Post by kyle » Thu Jun 18, 2009 8:15 am

No problem. We realize that our build process is less than optimal. We hope to improve this in the future.

Here are the basic steps that you need to do:
1) Download the Eclipse for plugin developers (3.4 is what we are using)
2) Install the subclipse plugin
3) Add this svn to the list of repositories: https://svn.rifidi.org/svn/rep-external
4) Check out the following projects from rifidi/trunk: org.rifidi.binary, org.rifidi.emulator.target, org.rifidi.ui.ide
5) Open up the target file in org.rifidi.emulator.target and click the button that says "set as target platform"
6) Open up the .product file in org.rifidi.ui.ide and click "launch an eclipse application"

I think this is all you need to do to . If you need help with one or more of these steps, the http://wiki.rifidi.org/index.php/Rifidi:Source_Code page should be able to clarify. If you found something in that page misleading or unclear, please let me know. Also, please post back with any errors that you are getting, so I know what kind of problems our users are running into.
-Kyle

michele
Posts: 6
Joined: Thu Jun 18, 2009 3:50 am
Organization: uni

Re: Compiling Rifidi from Source

Post by michele » Thu Jun 18, 2009 11:11 am

it works!
the only instructions missing in the wiki is
5) Open up the target file in org.rifidi.emulator.target and click the button that says "set as target platform"
Thank you Kyle

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests