Page 1 of 1

Compiling Rifidi from Source

Posted: Thu Jul 10, 2008 8:25 am
by Urb
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

Re: Autonomous/Polling

Posted: Mon Jul 28, 2008 5:22 pm
by kyle
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

Re: Compiling Rifidi from Source

Posted: Thu Jun 18, 2009 4:43 am
by michele
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?

Re: Compiling Rifidi from Source

Posted: Thu Jun 18, 2009 8:15 am
by kyle
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

Re: Compiling Rifidi from Source

Posted: Thu Jun 18, 2009 11:11 am
by michele
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