-
Notifications
You must be signed in to change notification settings - Fork 224
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
com.ibm.wala.ide JAR is missing dependencies #1264
Comments
I don't think Gradle (or even Maven Tycho for that matter) reads |
No other WALA jar files include their dependencies. Is there some reason that this one must? If yes, then should this jar include all transitive dependencies, or only the subset of transitive dependencies that are also part of WALA? If just the WALA subset, then presumably there is some mechanism for identifying and making non-WALA dependencies available. Why does that mechanism not also work for dependencies that are part of WALA? |
I believe that these dependencies are needed because the rest of WALA is no longer being packaged as OSGi components. The other dependencies are packaged as OSGi components in p2 repos (i.e., Eclipse dependencies). |
More thorough answer:
Right. That is the ideal situation, especially if you are using a build system that handles dependencies.
Looks like @msridhar does a good job explaining it here: 12dc060. My thinking, as I mentioned above, is that when the rest of the WALA subprojects were still OSGi components, including the JARs was unnecessary. Now, they are just normal dependencies. And, OSGi components have traditionally included the JARs for "normal" dependencies. That's no longer the case, though; it is now possible to add dependencies from, say, Maven Central, using M2E. If the
AFAIK, these JARs suffice. However, I am unsure if they themselves include transitive dependencies. I don't think that they do.
We'll need Maven to do that since it's done through Tycho and Tycho does not yet seem to be supported in Gradle. |
I don't think the following is working:
WALA/ide/build.properties
Lines 1 to 7 in d15ca9b
I just built locally off of d15ca9b. Then, I had a look at
ide/build/libs/com.ibm.wala.ide-1.6.1-SNAPSHOT.jar
. In that JAR, there's aMETA-INF
directory, but no WALA JARs. The only other things in the JAR are the IDE class files.My guess is that this is a Gradle problem.
Originally posted by @khatchad in #1260 (comment)
The text was updated successfully, but these errors were encountered: