-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eclipse IDE setup: resolving dom4j dependency #51
Comments
I haven't done so myself, but I remember that dom4j was metioned in birt\build\org.eclipse.birt.build\readme.txt |
Thanks for your comment, I'll have a look at the mentioned readme.txt How do you build BIRT within eclipse (without any errors)? |
Yesterday I was able to have the BIRT project inside the Eclipse IDE without red lights by following the instructions at https://github.com/Flugtiger/birt/wiki/How-to-setup-an-Eclipse-IDE-for-Eclipse-BIRT. But to be honest, I still don't know how to generate/run/test from inside Eclipse. For building, I use Maven on the command line as described on the other Wiki page. My scripts look like this: Script mvn-umgebung.cmd: set JAVA_HOME=c:\prog\jdk\jdk1.8.40\jre Script build-birt.cmd: @echo off Note that the script deletes and the eintire build directory before building. This seems to be necessary to have a really clean build. I then extract the birt-report-designer-all-in-one-...zip and then start the eclipse.exe in the extracted directory. When I only have minor changes in a few files, in order to save time, I directly copy the corresponding *.class files to the *.jar files, e.g. like this: rem Test the DOCX emitter setlocal rem Configuration set BIRT_ECLIPSE_HOME=C:\prog\birt-report-designer-all-in-one-4.11.0-%YYYY%%MM%%DD%-win32.win32.x86_64\eclipse rem Update some of the plugins pushd %SRC_DIR% popd SET JAVA_HOME=C:\prog\jdk\jdk8u212-b03\jre endlocal :UPDATE_JARS This is of course not the recommended way, but it works. |
hi @patric-r , Test from inside eclipse can be started by choosing "Run As... -> Junit Plugin Test" given that all the build errors are gone (BIRT then can also be started from inside eclipse). |
@Flugtiger After this has been clarified, I will make another attempt for creating a working build environment. |
@Flugtiger As a kind reminder to the above, please. Which eclipse version does the project require? The oomph installation process failed to checkout the git project out-of-the-box: |
@patric-r Sorry for waiting so long for a reply. This BIRT fork is currently far from being my top priority. I'm currently trying to follow my own "How-to install an Eclipse IDE for BIRT". I would recommend not using the most recent version of Eclipse for a BIRT IDE. Eclipse nowadays requires Java 11 to run and BIRT is far from supporting Java 11. The last Eclipse version that was able to run with Java 8 seems to be Eclipse 2020-06 so I will try this version together with AdoptOpenJDK 8. |
@patric-r When following my own "How-to" I also stumbled upon the errors you described.
I will try to mitigate these problems in the Oomph-setup soon, so that others don't run into these problems. |
@Flugtiger Thanks for your response. However, afterwards, following your step-by-step tutorial, oomph fails in the 2nd stage (after eclipse 2020-06 has been started):
So I had to click 'cancel' and not all eclipse dependencies could been resolved, therefore BIRT build breaks... |
Can you check whether the bundles that could not be resolved are still available in the given orbit repo (http://download.eclipse.org/tools/orbit/downloads/drops2/R20181128170323/repository/)? If yes, it might be a simple connection problem. |
Question here.
First of all, thank you for this repo. It's good to see that there is still a BIRT community alive.
I tried to follow your steps setup up the Eclipse IDE. However, a few (~100) build errors remain:
dom4j imports cannot be resolved.
Is there something I missed?
Thanks!
The text was updated successfully, but these errors were encountered: