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:
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 , ie 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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.