[CONTROLLER-448] Errors in eclipse on import Created: 02/May/14  Updated: 11/May/14  Resolved: 11/May/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Tom Pantelis Assignee: Tom Pantelis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 946

 Description   

The sal-binding-dom-it project has errors when imported into eclipse as a result of the yang files not being generated because the "*it" projects don't build from the top-level via CLI - they're activated by a maven profile. Unfortunately, eclipse ignores the maven profile exclusions on import. Enabling the yang-maven-plugin to run in eclipse which fixes the error.

The new nagasena projects also cause errors. They use a zip maven plugin to unzip the openexi party jars under target and re-build it as a bundle. For the bundles that import nagasena as a dependency, if the nagasena project is imported, eclipse wires it to target-ide instead of the jar file in the maven repo. However, the truezip plugin doesn't run in eclipse so the classes aren't under target-ide, thus the compile errors. Removing the project or not importing nagasena fixes the errors b/c eclipse then resolves the classes from the maven repo jar. We can fix this by putting the openexi jars on an external repo, maybe the opendaylight nexus. Then change the nagasena project to "bundle-ize" it using Embed-Dependency.


Generated at Wed Feb 07 19:53:02 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.