[CORE-82] Compile and run errors in Workbench 1.6.0.9 with Eclipse 4.3.1 and Java 1.7/1.6 Created: 20/Dec/13  Updated: 08/Feb/17  Resolved: 01/Aug/16

Status: Closed
Project: i2b2 Core Software
Component/s: Install, Workbench
Affects Version/s: 1.6.00
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Alex F. Bokov, Ph.D. Assignee: Mike Mendis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Ubuntu Linux 10.04, kernel version 2.6.35-32-generic, Eclipse 4.3.1, jdk1.7.0 with java-6-sun-1.6.0.26 as an alternative.

Attachments: Text File build_log_workbench1609.txt     File stacktrace_workbench1609.log    
Rank: 0|i000pb:
Participant/s:

 Description   
I followed the instructions here: https://www.i2b2.org/software/files/PDF/current/i2b2Workbench_Developers_Guide.pdf

There were components besides edu.harvard.i2b2.eclipse that had JRE compliance explicitly set, and they were all set to 1.5. The remaining components defaulted to 1.7. I tried continuing with the build instructions nonetheless and there were build errors as follows:

edu.harvard.i2b2.eclipse/

        src/ProjectManagementRequestData.java, lines 16, 17, 35, 144
            (it seems I am missing org.apache.commons.logging.Log and org.apache.commons.logging.LogFactory)

        META-INF/MANIFEST.MF, lines 11, 28, 29, 39, 39

edu.harvard.i2b2.eclipse.plugins.workplace/
        META-INF/MANIFEST.MF, line 26


I refreshed and went through the run configurations setup and attempted running edu.harvard.i2b2.eclipse as per instructions, and it would not launch. I went through all the projects and manually changed their compliance, making sure to replace JRE 1.7 with 1.6 in their build paths. Then I re-built. The build errors were in the same places as before and are in the attached build log. Also attached is the stack trace from my final attempt.
Generated at Wed Apr 24 11:41:11 UTC 2024 using Jira 8.20.11#820011-sha1:0629dd8d260e3954ece49053e565d01dabe11609.