yangide.git
7 years agoSet odl-version to 0.8.3-Beryllium-SR3 release 55/45355/2 master
Thanh Ha [Wed, 7 Sep 2016 23:51:36 +0000 (19:51 -0400)]
Set odl-version to 0.8.3-Beryllium-SR3 release

YangIDE should not depend on a SNAPSHOT version of past dependencies
otherwise it will not be able to resolve them during build. Set
odl-version to a release version.

Change-Id: Iaa14ce7b836f5c798d685b28ad9505beeb2d2796
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoBacking up to Beryllium ODL until we can transition to new parser. 51/41251/1
David M. Karr [Tue, 28 Jun 2016 22:10:35 +0000 (15:10 -0700)]
Backing up to Beryllium ODL until we can transition to new parser.

Change-Id: Ibe13b9bf3777d969c0c2a63b1329fa404fa8429e
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoMerge "Added more info to an unexpected YangModelException."
David M. Karr [Thu, 2 Jun 2016 21:31:55 +0000 (21:31 +0000)]
Merge "Added more info to an unexpected YangModelException."

8 years agoAdded more info to an unexpected YangModelException. 98/39798/1
David M. Karr [Thu, 2 Jun 2016 21:24:11 +0000 (14:24 -0700)]
Added more info to an unexpected YangModelException.

Change-Id: Ieccdbd65b93098fb250fc9c4718d35b41d368a9f
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoFix for the Bug 5891 - Sometimes get NPE in HelpCompositionUtils.getNodeHelp(ASTNode) 43/39743/1
Dhevendran [Thu, 2 Jun 2016 05:00:49 +0000 (10:30 +0530)]
Fix for the Bug 5891 - Sometimes get NPE in HelpCompositionUtils.getNodeHelp(ASTNode)

Change-Id: Ia2e02ae8cb40e9340b42ca710844882f0d504cca
Signed-off-by: Dhevendran <dhevendran.k@tcs.com>
8 years agoMerge "Added code to generate maven-bundle-plugin to Yang project."
David M. Karr [Thu, 26 May 2016 16:47:25 +0000 (16:47 +0000)]
Merge "Added code to generate maven-bundle-plugin to Yang project."

8 years agoMerge "Make 2-3x .classpath & .project matching to what M2E now auto. generates"
David M. Karr [Thu, 26 May 2016 16:42:13 +0000 (16:42 +0000)]
Merge "Make 2-3x .classpath & .project matching to what M2E now auto. generates"

8 years agoAdded code to generate maven-bundle-plugin to Yang project. 56/39456/1
David M. Karr [Thu, 26 May 2016 00:51:07 +0000 (17:51 -0700)]
Added code to generate maven-bundle-plugin to Yang project.

Renamed "mavenplugin" variable prefix to "yangplugin".
Added variables for maven-bundle-plugin reference.

Change-Id: I3284bf3ce8e7d8d068a6300820780ca7a335b990
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoMerge "Use slf4j instead of IStatus, to avoid polluting the Error Log view"
David M. Karr [Wed, 25 May 2016 22:23:30 +0000 (22:23 +0000)]
Merge "Use slf4j instead of IStatus, to avoid polluting the Error Log view"

8 years agoFix some minor checkstyle warnings 61/39261/3
Michael Vorburger [Wed, 27 Apr 2016 18:47:07 +0000 (20:47 +0200)]
Fix some minor checkstyle warnings

Change-Id: If32f2d7c09404f647b5453d2adbe692dc4dd3277
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
8 years agoUse slf4j instead of IStatus, to avoid polluting the Error Log view 72/39272/1
Michael Vorburger [Mon, 23 May 2016 15:18:41 +0000 (17:18 +0200)]
Use slf4j instead of IStatus, to avoid polluting the Error Log view

Change-Id: Ie51de456b500dc02341d7f2839acbba8f5d7dab1
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
8 years agoMake 2-3x .classpath & .project matching to what M2E now auto. generates 59/39259/2
Michael Vorburger [Mon, 23 May 2016 13:59:20 +0000 (15:59 +0200)]
Make 2-3x .classpath & .project matching to what M2E now auto. generates

Change-Id: I36706db8ef96d660f720f855fd0d392686d5f13e
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
8 years agoMerge "Fixed bad feature="org.eclipse.emf" via PDE Compute"
David M. Karr [Wed, 18 May 2016 17:46:21 +0000 (17:46 +0000)]
Merge "Fixed bad feature="org.eclipse.emf" via PDE Compute"

8 years agoMerge "Upgraded Maven Tycho version from 0.24.0 to 0.25.0"
David M. Karr [Wed, 18 May 2016 16:33:44 +0000 (16:33 +0000)]
Merge "Upgraded Maven Tycho version from 0.24.0 to 0.25.0"

8 years agoMerge "Clean up: No p2 repos in pom.xml with target-platform-configuration"
David M. Karr [Wed, 18 May 2016 15:56:54 +0000 (15:56 +0000)]
Merge "Clean up: No p2 repos in pom.xml with target-platform-configuration"

8 years agoMerge "Bug 5866 Export Package for Guava & ANTLR as in their resp. own MANIFEST"
David M. Karr [Wed, 18 May 2016 15:32:21 +0000 (15:32 +0000)]
Merge "Bug 5866 Export Package for Guava & ANTLR as in their resp. own MANIFEST"

8 years agoMerge "Fix to make System.out/System.err output only when debugging"
David M. Karr [Mon, 16 May 2016 19:55:55 +0000 (19:55 +0000)]
Merge "Fix to make System.out/System.err output only when debugging"

8 years agoFix to make System.out/System.err output only when debugging 75/38175/3
Michael Vorburger [Wed, 27 Apr 2016 18:47:07 +0000 (20:47 +0200)]
Fix to make System.out/System.err output only when debugging

incl. also some Eclipse Auto-Save automated clean-up changes

Added checkstyle builder to some projects.
Changed some printlns to log method calls, including some commented-out
printlns (from earlier commits in this review).
Changed some HashSet variable types to Set.
Added additional log method to Activator.

Change-Id: I3dc5989136914c11a1af154789a885c6ff19ec6d
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoFixed bad feature="org.eclipse.emf" via PDE Compute 61/38661/1
Michael Vorburger [Wed, 11 May 2016 11:58:26 +0000 (13:58 +0200)]
Fixed bad feature="org.eclipse.emf" via PDE Compute

Change-Id: Ib0a1404b9a089f897c51c0f764bbdbf9ab275058
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
8 years agoClean up: No p2 repos in pom.xml with target-platform-configuration 73/38173/2
Michael Vorburger [Wed, 27 Apr 2016 21:48:04 +0000 (23:48 +0200)]
Clean up: No p2 repos in pom.xml with target-platform-configuration

This avoids a number of confusing WARNING during the build.

Change-Id: Ib8eb12b907b7cc0a8e8df06e66dfeb261409e143
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
8 years agoCleaned-up samples so that they have no red and work out-of-the-box 28/38628/1
Michael Vorburger [Tue, 10 May 2016 12:18:37 +0000 (14:18 +0200)]
Cleaned-up samples so that they have no red and work out-of-the-box

Change-Id: I91b60ae5a3c9072a489681a92d8c95754d7c8167
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
8 years agoBug 5866 Export Package for Guava & ANTLR as in their resp. own MANIFEST 24/38624/1
Michael Vorburger [Tue, 10 May 2016 11:14:23 +0000 (13:14 +0200)]
Bug 5866 Export Package for Guava & ANTLR as in their resp. own MANIFEST

Change-Id: I3493aca1fc1109aa29be12463187c85ed1b06add
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
8 years agoEnabled Checkstyle in projects. 09/38609/1
David M. Karr [Mon, 9 May 2016 20:52:37 +0000 (13:52 -0700)]
Enabled Checkstyle in projects.

Added src/test/java to build.properties to hopefully prevent Eclipse
from removing the reference to the folder in the build path again.

Added two additional .project files.

Change-Id: Ie59651858369c029de49db5cfba72b54683b082c
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoBug 5866 Remove Guava v15 (as we already have a v18 on same classpath) 96/38596/2
Michael Vorburger [Mon, 9 May 2016 16:10:59 +0000 (18:10 +0200)]
Bug 5866 Remove Guava v15 (as we already have a v18 on same classpath)

Also removed similar plugin dependency from ext.model.editor and added
exported package reference for com.google.common.io to yangparser.

Change-Id: I84f10adca4c3edd59259bfd0f84596e71779183c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoUse https to connect ODL Nexus 77/38477/3
Thanh Ha [Thu, 5 May 2016 20:08:36 +0000 (16:08 -0400)]
Use https to connect ODL Nexus

Added references in YangProjectWizard to the url properties.

Change-Id: Ifd3fd32b57c3c9e047484e604013695517eea79e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoMove everything from "com.cisco" to "org.opendaylight". 91/38391/1
David M. Karr [Wed, 4 May 2016 22:25:46 +0000 (15:25 -0700)]
Move everything from "com.cisco" to "org.opendaylight".

Change-Id: I2ed717d27091e9cf29adf3705310d65fe184707d
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoRemoved antlr packages from core's "Import-Package" directive. 79/38379/1
David M. Karr [Wed, 4 May 2016 17:17:37 +0000 (10:17 -0700)]
Removed antlr packages from core's "Import-Package" directive.

This may fix the "Linkage Error" problem.

Still a bit uncertain what the POINT is of the "Import-Package"
directive.

Change-Id: Ia2a5d3acc7696d6fe8897da2579e2d33d28ba20c
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoUpgraded Maven Tycho version from 0.24.0 to 0.25.0 71/38171/1
Michael Vorburger [Wed, 27 Apr 2016 21:39:42 +0000 (23:39 +0200)]
Upgraded Maven Tycho version from 0.24.0 to 0.25.0

Change-Id: I8b382ba0e9ce22738180ca67bcd4f2062b2eb2d5
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
8 years agoFixed Yin view for Yang file with imported modules. 80/37680/1
David M. Karr [Fri, 15 Apr 2016 18:55:00 +0000 (11:55 -0700)]
Fixed Yin view for Yang file with imported modules.

Change-Id: I5f4be3f14567c5616b6de28f89e0f9c847d77d57
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoYinBuilder changes to resolve import references, and other fixes. 74/37674/1
David M. Karr [Tue, 5 Apr 2016 23:30:01 +0000 (16:30 -0700)]
YinBuilder changes to resolve import references, and other fixes.

Removed maven-dependency-plugin yangtools references from core plugin,
should all be yangparser plugin now.
Fixed more symbol search scenarios where the source has a prefix and the
target does not.
Added preliminary interface to "new" parser that returns API module, not
DOM Module.
Upgraded artifact version references from Beryllium to latest SNAPSHOT.
Added code in YinBuilder to resolve import references from IndexManager.
Moved all groupid, artifactid, and version references out of Java code
into pom.xml, so release scripts will only have to operate on the
pom.xml file, even if in a custom way.

Change-Id: I3099eae4c84e088a4616c0e9fa216c208d569b57
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoAdded YinBuilderTest and required test infrastructure. 64/37164/1
David M. Karr [Tue, 5 Apr 2016 23:30:01 +0000 (16:30 -0700)]
Added YinBuilderTest and required test infrastructure.

Moved "src" to "src/main/java" and added test class in "src/test/java".

Additional code in ModuleApiProxy to map features shown missing in
tests.

Change-Id: I48f8b63c24e39d96444cfd1653c7005c3ce6828f
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoFixed artifact references in samples. 11/37111/1
David M. Karr [Mon, 4 Apr 2016 22:04:21 +0000 (15:04 -0700)]
Fixed artifact references in samples.

Change-Id: I289606fded6ae5a4f843efc948db9505513125a9
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoAdded Yin view. 08/37108/1
David M. Karr [Mon, 4 Apr 2016 20:52:56 +0000 (13:52 -0700)]
Added Yin view.

Upgraded artifacts in generated projects to 0.8.0-Beryllium.

Change-Id: Ice191b5182b928d50d075627333166fb26bd0d73
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoRemoved .classpath from .gitignore and added .classpath files. 80/36580/1
David M. Karr [Wed, 23 Mar 2016 03:51:03 +0000 (20:51 -0700)]
Removed .classpath from .gitignore and added .classpath files.

Turns out Eclipse can't easily regenerate the .classpath files, so they need to be stored.

Change-Id: I0b866a65da87bc57e76d0428c5135460b760dd13
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoBuild with odlparent 1.7.0-SNAPSHOT 49/36549/1
Stephen Kitt [Tue, 22 Mar 2016 11:49:12 +0000 (12:49 +0100)]
Build with odlparent 1.7.0-SNAPSHOT

For Boron, artifacts are supposed to use odlparent 1.7.0-SNAPSHOT.

Change-Id: Ie25c8202a3e2e11782d9f68c2f8e6a608a0ebd98
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoFixed reference to groupid in target-platform-configuration plugin. 29/36529/1
David M. Karr [Tue, 22 Mar 2016 02:25:43 +0000 (19:25 -0700)]
Fixed reference to groupid in target-platform-configuration plugin.

Change-Id: Iffe8cd624fee12bafa7bedd1b8716f7541e3bc8f
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoChanged groupId to org.opendaylight.yangide. 28/36528/1
David M. Karr [Tue, 22 Mar 2016 02:19:03 +0000 (19:19 -0700)]
Changed groupId to org.opendaylight.yangide.

Change-Id: I963c83af305c86ef7764f4d64eab72d2f67c0b21
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoChanged odlparent from 1.6.0-SNAPSHOT to 1.4.5-Helium-SR3. 16/36516/1
David M. Karr [Mon, 21 Mar 2016 21:31:00 +0000 (14:31 -0700)]
Changed odlparent from 1.6.0-SNAPSHOT to 1.4.5-Helium-SR3.

The SNAPSHOT version is no longer on the snapshot repo.  I first tried to replace this with 1.5.2-Lithium-SR2 (the latest), but that somehow caused the update site to not be built.  I still have to understand that.  I was able to back off on versions until I got to 1.4.5-Helium-SR3, which works.

Change-Id: Ia0425e39c2c54d84f77cbae526d95112f0986729
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoRe-added .options file in ext.model.editor because it actually did need it. 49/36449/1
David M. Karr [Fri, 18 Mar 2016 15:59:49 +0000 (08:59 -0700)]
Re-added .options file in ext.model.editor because it actually did need it.

Also removed .options from .gitignore.

Change-Id: I6486682c367dd88d7319ff414e713d3da4d6514b
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoInitial commit of yangide codebase. 10/36410/1
David M. Karr [Thu, 17 Mar 2016 20:09:33 +0000 (13:09 -0700)]
Initial commit of yangide codebase.

Replaced hard-stored jars with maven-dependency-plugin copy.
Moved up to 0.6.2-Helium for yang.

Change-Id: I0e9de5403ed160538cc5373f5c5521bdad88406a
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
8 years agoInitial empty repository
Andrew Grimberg [Wed, 25 Nov 2015 15:32:59 +0000 (15:32 +0000)]
Initial empty repository