We are having problems building BFlow project in Indigo. In eclipse indigo, we created a java project for each of the Bflow files. We installed epsilon, openarchitectureware and OTDT.But we still get errors such as build path is incomplete, and it cannot find some of the files. We deattach and attach JRE Library but it still doesn't work.
We also observe that some of the packages are missing in the project like:
import org.bflow.toolbox.bflow.Bflow;
import org.bflow.toolbox.bflow.BflowPackage
We are sure we are missing something but we cannot find out what. If you can help us running the tool from source codes, we will be very happy.
(1) Download Eclipse 3.7 (Indigo), package version: Modeling Modeling Tools
from http://eclipsesource.com/en/downloads/eclipse-indigo-download/
(2) Start Eclipse
Update Eclipse (Help - Check for Updates) (Note: This might take a while!)
Install Eclipse Epsilon:
Help - Install new Software
Click Button "Add" to add the update site: http://download.eclipse.org/epsilon/updates/
Select "Epsilon (Incubation), unselect "Eugenia"
Click twice "Next", accept the license agreement and click "Finish"
allow to install unsigned content
restart Eclipse
Install M2T Xpand/Xtend
Help - Install new Software
Click Button "Add" to add the update site: http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/
Select M2T Xpand/Extend-1.2.1 only
Click twice "Next", accept the license agreement and click "Finish"
restart Eclipse
(3) Checkout the sources from the subversion repository
https://bflowtoolbox.svn.sourceforge.net/svnroot/bflowtoolbox/trunk/
Note:
You might want to check whether https://eclipsemodeling.svn.sourceforge.net/svnroot/eclipsemodeling
has a newer version of any plugin.
It is always a good idea to use the most recent sources for all plugins.
We will also try our best to include always the most recent version in the original subversion
repository for the bflow* Toolbox.
If you have added new plugins that are available at
https://eclipsemodeling.svn.sourceforge.net/svnroot/eclipsemodeling
but not yet in the bflow repository, right Click at org.bflow.toolbox.bflow-<Version>-<OS>.product, do the following:
Run As - Run Configurations
Select "Plugins" tab
Press "Validate Plugins"
If missed plugins are reported, add them by checking the checkbox for these plugins.
(4) Checkout the sources from the subversion repository
https://bflowtoolbox.svn.sourceforge.net/svnroot/bflowtoolbox/branches/indigo/
Replace the source for plugins which are already in your source folder with the source for those plugins from this repository.
(5) Import the projects you have checked out from the repository:
(File - Import - General - Existing Project into Workspace).
Close the project org.bflow.toolbox.oaw.oepc2uml
When the workspace is built automatically, it can happen that some errors are shown in the Problems View.
Do Project - Clean - Clean All Projects
Building the workspace should now proceeds without errors.
(6) Run - Run Configurations New
Select "Eclipse Application" (and a new window for "new_configuration" will be opened)
For running the bflow* Tollbox, start with "Launch with all workspace and enabled target plugins" in the "Plugins" folder.
The number of plugins should be reduced later to prevent Out of memory-errors.
click Run