I was able to pull the BIRT source (4.2.2 branch) from here: https://github.com/eclipse/birt/ using m2e (Maven integration for Eclipse) and imported it in my eclipse workspace. The BIRT documentation (https://wiki.eclipse.org/BIRT/FAQ/Birt_Project#Q:_How_to_Build_BIRT_3.7.1.2B_from_GIT.3F) seems to be outdated. As a result, I'm having many issues building the source.
My question is: Can anyone explain to me how I can build the 4.x source using Eclipse?
Here are what I use:
Find what you need at: github.com/eclipse/birt. To open it, use the Window item on the Eclipse main menu. Choose Open Perspective, then Report Design. If report Design does not appear directly in the Open Perspective window, then choose Other... A list of perspectives will appear.
The best way to do it is, after importing the project in your eclipse workspace, run below maven command to make it compatible with Eclipse,
mvn eclipse:eclipse
This will solve your eclipse and maven dependecy errors.
Also you can check whether the problem is with your imported project , i.e. missing any libraries or just with eclipse.
You can try to build the project from command prompt to check the same with
mvn clean install
Once done refresh the eclipse workspace.
Note: Run the commands from the place where your pom.xml resides.
Make sure you've set jre 1.7 and not jdk. from command line go to the pom.xml directory and run
mvn package -Pmars -DskipTest
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With