Browse Source

Many improvements to Gradle build support, including within Eclipse

master
Ben Liblit 5 years ago
parent
commit
530d74929f
  1. 6
      .dir-locals.el
  2. 15
      .gitignore
  3. 17
      .project
  4. 3
      .settings/org.eclipse.buildship.core.prefs
  5. 46
      build.gradle
  6. 17
      com.ibm.wala-repository/.project
  7. 1
      com.ibm.wala-repository/.settings/org.eclipse.buildship.core.prefs
  8. 4
      com.ibm.wala.cast.java.ecj/.classpath
  9. 6
      com.ibm.wala.cast.java.ecj/.project
  10. 2
      com.ibm.wala.cast.java.ecj/.settings/org.eclipse.buildship.core.prefs
  11. 11
      com.ibm.wala.cast.java.ecj/build.gradle
  12. 5
      com.ibm.wala.cast.java.test.data/.classpath
  13. 6
      com.ibm.wala.cast.java.test.data/.project
  14. 2
      com.ibm.wala.cast.java.test.data/.settings/org.eclipse.buildship.core.prefs
  15. 4
      com.ibm.wala.cast.java.test/.classpath
  16. 6
      com.ibm.wala.cast.java.test/.project
  17. 2
      com.ibm.wala.cast.java.test/.settings/org.eclipse.buildship.core.prefs
  18. 13
      com.ibm.wala.cast.java.test/build.gradle
  19. 4
      com.ibm.wala.cast.java/.classpath
  20. 6
      com.ibm.wala.cast.java/.project
  21. 2
      com.ibm.wala.cast.java/.settings/org.eclipse.buildship.core.prefs
  22. 24
      com.ibm.wala.cast.java/build.gradle
  23. 5
      com.ibm.wala.cast.js.html.nu_validator/.classpath
  24. 6
      com.ibm.wala.cast.js.html.nu_validator/.project
  25. 2
      com.ibm.wala.cast.js.html.nu_validator/.settings/org.eclipse.buildship.core.prefs
  26. 18
      com.ibm.wala.cast.js.html.nu_validator/build.gradle
  27. 6
      com.ibm.wala.cast.js.nodejs.test/.classpath
  28. 6
      com.ibm.wala.cast.js.nodejs.test/.project
  29. 2
      com.ibm.wala.cast.js.nodejs.test/.settings/org.eclipse.buildship.core.prefs
  30. 22
      com.ibm.wala.cast.js.nodejs/.classpath
  31. 6
      com.ibm.wala.cast.js.nodejs/.project
  32. 2
      com.ibm.wala.cast.js.nodejs/.settings/org.eclipse.buildship.core.prefs
  33. 3
      com.ibm.wala.cast.js.nodejs/META-INF/MANIFEST.MF
  34. 14
      com.ibm.wala.cast.js.nodejs/build.gradle
  35. 5
      com.ibm.wala.cast.js.rhino.test/.classpath
  36. 6
      com.ibm.wala.cast.js.rhino.test/.project
  37. 2
      com.ibm.wala.cast.js.rhino.test/.settings/org.eclipse.buildship.core.prefs
  38. 16
      com.ibm.wala.cast.js.rhino.test/build.gradle
  39. 3
      com.ibm.wala.cast.js.rhino.test/build.properties
  40. 27
      com.ibm.wala.cast.js.rhino.test/launchers/JsViewerDriver.launch
  41. 1
      com.ibm.wala.cast.js.rhino.test/launchers/TestForInLoopHackRhino.launch
  42. 1
      com.ibm.wala.cast.js.rhino.test/launchers/TestMozillaBugPagesRhino.launch
  43. 1
      com.ibm.wala.cast.js.rhino.test/launchers/com.ibm.wala.cast.js.rhino.test-JUnit.launch
  44. 5
      com.ibm.wala.cast.js.rhino/.classpath
  45. 6
      com.ibm.wala.cast.js.rhino/.project
  46. 2
      com.ibm.wala.cast.js.rhino/.settings/org.eclipse.buildship.core.prefs
  47. 23
      com.ibm.wala.cast.js.rhino/META-INF/MANIFEST.MF
  48. 21
      com.ibm.wala.cast.js.rhino/build.gradle
  49. 6
      com.ibm.wala.cast.js.test.data/.project
  50. 2
      com.ibm.wala.cast.js.test.data/.settings/org.eclipse.buildship.core.prefs
  51. 4
      com.ibm.wala.cast.js.test/.classpath
  52. 3
      com.ibm.wala.cast.js.test/.launchConfigurations/com.ibm.wala.cast.js.test-JUnit.launch
  53. 6
      com.ibm.wala.cast.js.test/.project
  54. 2
      com.ibm.wala.cast.js.test/.settings/org.eclipse.buildship.core.prefs
  55. 16
      com.ibm.wala.cast.js.test/build.gradle
  56. 5
      com.ibm.wala.cast.js/.classpath
  57. 6
      com.ibm.wala.cast.js/.project
  58. 2
      com.ibm.wala.cast.js/.settings/org.eclipse.buildship.core.prefs
  59. 2
      com.ibm.wala.cast.js/.settings/org.eclipse.jdt.core.prefs
  60. 4
      com.ibm.wala.cast.js/META-INF/MANIFEST.MF
  61. 23
      com.ibm.wala.cast.js/build.gradle
  62. 4
      com.ibm.wala.cast.test/.classpath
  63. 1
      com.ibm.wala.cast.test/.launchConfigurations/com.ibm.wala.cast.test-JUnit.launch
  64. 6
      com.ibm.wala.cast.test/.project
  65. 2
      com.ibm.wala.cast.test/.settings/org.eclipse.buildship.core.prefs
  66. 17
      com.ibm.wala.cast.test/build.gradle
  67. 5
      com.ibm.wala.cast/.classpath
  68. 6
      com.ibm.wala.cast/.project
  69. 2
      com.ibm.wala.cast/.settings/org.eclipse.buildship.core.prefs
  70. 4
      com.ibm.wala.cast/META-INF/MANIFEST.MF
  71. 21
      com.ibm.wala.cast/build.gradle
  72. 5
      com.ibm.wala.core.testdata/.classpath
  73. 6
      com.ibm.wala.core.testdata/.project
  74. 2
      com.ibm.wala.core.testdata/.settings/org.eclipse.buildship.core.prefs
  75. 4
      com.ibm.wala.core.tests/.classpath
  76. 6
      com.ibm.wala.core.tests/.project
  77. 2
      com.ibm.wala.core.tests/.settings/org.eclipse.buildship.core.prefs
  78. 37
      com.ibm.wala.core.tests/build.gradle
  79. 1
      com.ibm.wala.core.tests/launchers/ConstructAllIRs.launch
  80. 29
      com.ibm.wala.core.tests/launchers/CountParameters.launch
  81. 1
      com.ibm.wala.core.tests/launchers/ExportTypeHierarchyToXML.launch
  82. 25
      com.ibm.wala.core.tests/launchers/GetEnv.launch
  83. 29
      com.ibm.wala.core.tests/launchers/GetLoadedFields.launch
  84. 27
      com.ibm.wala.core.tests/launchers/JavaViewerDriver.launch
  85. 3
      com.ibm.wala.core.tests/launchers/PDFCallGraph.launch
  86. 3
      com.ibm.wala.core.tests/launchers/PDFControlDependenceGraph.launch
  87. 3
      com.ibm.wala.core.tests/launchers/PDFSDG.launch
  88. 3
      com.ibm.wala.core.tests/launchers/PDFSlice.launch
  89. 3
      com.ibm.wala.core.tests/launchers/PDFTypeHierarchy.launch
  90. 1
      com.ibm.wala.core.tests/launchers/PDFWalaIR.launch
  91. 1
      com.ibm.wala.core.tests/launchers/wala.core short profile (non-windows).launch
  92. 53
      com.ibm.wala.core.tests/launchers/wala.core short profile.launch
  93. 1
      com.ibm.wala.core.tests/launchers/wala.core.launch
  94. 4
      com.ibm.wala.core/.classpath
  95. 6
      com.ibm.wala.core/.project
  96. 2
      com.ibm.wala.core/.settings/org.eclipse.buildship.core.prefs
  97. 19
      com.ibm.wala.core/build.gradle
  98. 7
      com.ibm.wala.dalvik.test/.classpath
  99. 6
      com.ibm.wala.dalvik.test/.project
  100. 2
      com.ibm.wala.dalvik.test/.settings/org.eclipse.buildship.core.prefs
  101. Some files were not shown because too many files have changed in this diff Show More

6
.dir-locals.el

@ -0,0 +1,6 @@
((groovy-mode
(c-file-style . "bsd")))
;; Local variables:
;; flycheck-disabled-checkers: (emacs-lisp emacs-lisp-checkdoc)
;; End:

15
.gitignore vendored

@ -4,9 +4,11 @@
*.swp
*/bin/
*/bin/*
*/build/
*~
.metadata/
com.ibm.wala.cast/lib/
/.gradle/
/build/
com.ibm.wala.cast.java.jdt.test/
com.ibm.wala.cast.java.polyglot/lib/
com.ibm.wala.cast.java.test.data/src/JLex/
@ -25,6 +27,7 @@ com.ibm.wala.cast.js.rhino/lib/
com.ibm.wala.cast.js.test.data/examples-src/ajaxslt/
com.ibm.wala.cast.js.test/examples-src/ajaxslt/
com.ibm.wala.cast.js/lib/
com.ibm.wala.cast/lib/
com.ibm.wala.core.testdata/*.jar
com.ibm.wala.core.testdata/@dot/
com.ibm.wala.core.testdata/lib/
@ -34,12 +37,12 @@ com.ibm.wala.core.tests/report
com.ibm.wala.core/@dot
com.ibm.wala.core/com.ibm.wala.core*.jar
com.ibm.wala.core/dat/wala.properties
com.ibm.wala.dalvik/src/logback.xml
com.ibm.wala.ide.jdt.test/testdata/
edu.kit.wala.smali.test/out/
target/
com.ibm.wala.dalvik.test/data/sample.cup
com.ibm.wala.dalvik.test/parser.java
com.ibm.wala.dalvik.test/report
com.ibm.wala.dalvik.test/sym.java
results
com.ibm.wala.dalvik/src/logback.xml
com.ibm.wala.ide.jdt.test/testdata/
edu.kit.wala.smali.test/out/
results
target/

17
.project

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>WALA</name>
<comment>Project WALA created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

3
.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,3 @@
#Fri Dec 15 16:39:30 CST 2017
eclipse.preferences.version=1
connection.project.dir=

46
build.gradle

@ -0,0 +1,46 @@
def osgi_platform
switch (System.getProperty('os.name')) {
case ~/Mac OS X/:
osgi_platform = 'cocoa.macosx.x86_64'
break
case ~/Windows.*/:
osgi_platform = 'win32.win32.x86_64'
break
case ~/Linux/:
osgi_platform = 'gtk.linux.x86_64'
break
}
System.setProperty('osgi.platform', osgi_platform)
subprojects { subproject ->
// skip generic Java setup for the few projects that have no Java code whatsoever
switch (subproject.name) {
case 'com.ibm.wala-repository':
case 'com.ibm.wala.cast.js.test.data':
case ~/.*_feature/:
return
}
apply plugin: 'java'
repositories {
mavenCentral()
maven {
url 'https://artifacts.alfresco.com/nexus/content/repositories/public/'
}
maven {
url 'https://repo.eclipse.org/content/groups/releases/'
}
}
configurations.all {
resolutionStrategy {
// failOnVersionConflict()
dependencySubstitution {
substitute module('org.eclipse.platform:org.eclipse.swt.${osgi.platform}') with module("org.eclipse.platform:org.eclipse.swt.${System.getProperty('osgi.platform')}:3.+")
}
}
}
}

17
com.ibm.wala-repository/.project

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>com.ibm.wala-repository</name>
<comment>Project com.ibm.wala-repository created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

1
com.ibm.wala-repository/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1 @@
connection.project.dir=..

4
com.ibm.wala.cast.java.ecj/.classpath

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.cast.java.ecj/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.java.ecj/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

11
com.ibm.wala.cast.java.ecj/build.gradle

@ -0,0 +1,11 @@
sourceSets.main.java.srcDir 'src'
dependencies {
compile project(':com.ibm.wala.cast')
compile project(':com.ibm.wala.cast.java')
compile project(':com.ibm.wala.core')
compile project(':com.ibm.wala.shrike')
compile project(':com.ibm.wala.util')
compile 'org.eclipse.jdt:org.eclipse.jdt.core:3.13.50'
compile 'org.eclipse.platform:org.eclipse.equinox.common:3.9.0'
}

5
com.ibm.wala.cast.java.test.data/.classpath

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.cast.java.test.data/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -34,5 +39,6 @@
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.java.test.data/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

4
com.ibm.wala.cast.java.test/.classpath

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.cast.java.test/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.java.test/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

13
com.ibm.wala.cast.java.test/build.gradle

@ -0,0 +1,13 @@
sourceSets.main.java.srcDir 'src'
dependencies {
compile project(':com.ibm.wala.cast')
compile project(':com.ibm.wala.cast.java')
compile project(':com.ibm.wala.core')
compile project(':com.ibm.wala.core.tests')
compile project(':com.ibm.wala.shrike')
compile project(':com.ibm.wala.util')
compile 'junit:junit:4.11'
compile 'org.eclipse.core:org.eclipse.core.runtime:3.10.0.v20140318-2214'
compile 'org.osgi:org.osgi.core:4.2.0'
}

4
com.ibm.wala.cast.java/.classpath

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.cast.java/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.java/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

24
com.ibm.wala.cast.java/build.gradle

@ -1,28 +1,10 @@
apply plugin: 'java'
repositories {
mavenCentral()
maven {
url "https://repo.eclipse.org/content/groups/releases/"
}
}
sourceSets {
main {
java {
srcDir 'src'
}
}
}
sourceSets.main.java.srcDir 'src'
dependencies {
compile project(':com.ibm.wala.cast')
compile project(':com.ibm.wala.core')
compile project(':com.ibm.wala.shrike')
compile project(':com.ibm.wala.util')
// https://mvnrepository.com/artifact/org.eclipse.core/org.eclipse.core.runtime
compile group: 'org.eclipse.core', name: 'org.eclipse.core.runtime', version: '3.10.0.v20140318-2214'
// https://mvnrepository.com/artifact/org.osgi/org.osgi.core
compile group: 'org.osgi', name: 'org.osgi.core', version: '4.2.0'
// compile 'org.eclipse.core:org.eclipse.core.runtime:3.10.0.v20140318-2214'
// compile 'org.osgi:org.osgi.core:4.2.0'
}

5
com.ibm.wala.cast.js.html.nu_validator/.classpath

@ -2,8 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="tests"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="lib" path="lib/htmlparser-1.4.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.cast.js.html.nu_validator/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.js.html.nu_validator/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

18
com.ibm.wala.cast.js.html.nu_validator/build.gradle

@ -1,18 +1,5 @@
apply plugin: 'java'
repositories {
mavenCentral()
maven {
url "https://repo.eclipse.org/content/groups/releases/"
}
}
sourceSets {
main {
java {
srcDir 'src'
}
}
main.java.srcDirs = ['src', 'tests']
}
dependencies {
@ -23,7 +10,6 @@ dependencies {
compile project(':com.ibm.wala.cast.test')
compile project(':com.ibm.wala.cast.js.test')
compile project(':com.ibm.wala.core.tests')
// https://mvnrepository.com/artifact/nu.validator.htmlparser/htmlparser
compile group: 'nu.validator.htmlparser', name: 'htmlparser', version: '1.4'
compile 'nu.validator.htmlparser:htmlparser:1.4'
}

6
com.ibm.wala.cast.js.nodejs.test/.classpath

@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="testdata"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.cast.js.nodejs.test/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.js.nodejs.test/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

22
com.ibm.wala.cast.js.nodejs/.classpath

@ -1,28 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="dat">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry exported="true" kind="lib" path="lib/json-20160212.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry combineaccessrules="false" kind="src" path="/com.ibm.wala.cast"/>
<classpathentry combineaccessrules="false" kind="src" path="/com.ibm.wala.cast.js"/>
<classpathentry combineaccessrules="false" kind="src" path="/com.ibm.wala.cast.js.rhino"/>
<classpathentry combineaccessrules="false" kind="src" path="/com.ibm.wala.core"/>
<classpathentry combineaccessrules="false" kind="src" path="/com.ibm.wala.util"/>
<classpathentry combineaccessrules="false" kind="src" path="/com.ibm.wala.shrike"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="dat"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.cast.js.nodejs/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.js.nodejs/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

3
com.ibm.wala.cast.js.nodejs/META-INF/MANIFEST.MF

@ -3,8 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name
Bundle-SymbolicName: com.ibm.wala.cast.js.nodejs
Bundle-Version: 1.4.4.qualifier
Export-Package: com.ibm.wala.cast.js.nodejs,
org.json
Export-Package: com.ibm.wala.cast.js.nodejs
Require-Bundle: com.ibm.wala.cast.js;bundle-version="1.3.10",
com.ibm.wala.cast.js.rhino;bundle-version="1.3.10"
Bundle-ClassPath: lib/json-20160212.jar,

14
com.ibm.wala.cast.js.nodejs/build.gradle

@ -0,0 +1,14 @@
sourceSets.main {
java.srcDir 'src'
resources.srcDir 'dat'
}
dependencies {
compile project(':com.ibm.wala.cast')
compile project(':com.ibm.wala.cast.js')
compile project(':com.ibm.wala.cast.js.rhino')
compile project(':com.ibm.wala.core')
compile project(':com.ibm.wala.util')
compile 'commons-io:commons-io:2.4'
compile 'org.json:json:20160212'
}

5
com.ibm.wala.cast.js.rhino.test/.classpath

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="harness-src"/>
<classpathentry kind="lib" path="/com.ibm.wala.cast.js.test.data/examples-src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.cast.js.rhino.test/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.js.rhino.test/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

16
com.ibm.wala.cast.js.rhino.test/build.gradle

@ -1,16 +1,4 @@
apply plugin: 'java'
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDir 'src'
}
}
}
sourceSets.main.java.srcDir 'harness-src'
dependencies {
compile project(':com.ibm.wala.cast.js.rhino')
@ -22,5 +10,5 @@ dependencies {
compile project(':com.ibm.wala.cast.js')
compile project(':com.ibm.wala.cast.js.test')
compile project(':com.ibm.wala.cast.test')
compile 'junit:junit:4.11'
}

3
com.ibm.wala.cast.js.rhino.test/build.properties

@ -1,6 +1,5 @@
source.. = harness-src/
output.. = bin/,\
/com.ibm.wala.cast.js.test.data/examples-src/
output.. = bin/
bin.includes = META-INF/,\
.,\
OSGI-INF/l10n/bundle.properties,\

27
com.ibm.wala.cast.js.rhino.test/launchers/JsViewerDriver.launch

@ -1,13 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/com.ibm.wala.cast.js.rhino.test/harness-src/com/ibm/wala/cast/js/vis/JsViewerDriver.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.ibm.wala.cast.js.vis.JsViewerDriver"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="file:${workspace_loc}/com.ibm.wala.cast.js.test/examples-src/pages/page1.html"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="com.ibm.wala.cast.js.rhino.test"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-ea -Xmx800M"/>
</launchConfiguration>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/com.ibm.wala.cast.js.rhino.test/harness-src/com/ibm/wala/cast/js/vis/JsViewerDriver.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.buildship.core.classpathprovider"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.ibm.wala.cast.js.vis.JsViewerDriver"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="file:${workspace_loc}/com.ibm.wala.cast.js.test/examples-src/pages/page1.html"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="com.ibm.wala.cast.js.rhino.test"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-ea -Xmx800M"/>
</launchConfiguration>

1
com.ibm.wala.cast.js.rhino.test/launchers/TestForInLoopHackRhino.launch

@ -11,6 +11,7 @@
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.buildship.core.classpathprovider"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.ibm.wala.cast.js.test.TestForInLoopHackRhino"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="com.ibm.wala.cast.js.rhino.test"/>
</launchConfiguration>

1
com.ibm.wala.cast.js.rhino.test/launchers/TestMozillaBugPagesRhino.launch

@ -15,6 +15,7 @@
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.buildship.core.classpathprovider"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/JVM 1.6"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.ibm.wala.cast.js.test.TestMozillaBugPagesRhino"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="com.ibm.wala.cast.js.rhino.test"/>

1
com.ibm.wala.cast.js.rhino.test/launchers/com.ibm.wala.cast.js.rhino.test-JUnit.launch

@ -22,6 +22,7 @@
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;com.ibm.wala.cast.js.rhino.test&quot;/&gt;&#10;&lt;/runtimeClasspathEntry&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/com.ibm.wala.cast.js.test.data/examples-src&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.buildship.core.classpathprovider"/>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value=""/>

5
com.ibm.wala.cast.js.rhino/.classpath

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="source"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="lib" path="lib/rhino-1.7.6.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.cast.js.rhino/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.js.rhino/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

23
com.ibm.wala.cast.js.rhino/META-INF/MANIFEST.MF

@ -10,27 +10,6 @@ Require-Bundle: com.ibm.wala.cast;bundle-version="1.4.4",
com.ibm.wala.util;bundle-version="1.4.4"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
Export-Package: com.ibm.wala.cast.js.translator,
org.mozilla.classfile,
org.mozilla.javascript,
org.mozilla.javascript.annotations,
org.mozilla.javascript.ast,
org.mozilla.javascript.commonjs.module,
org.mozilla.javascript.commonjs.module.provider,
org.mozilla.javascript.debug,
org.mozilla.javascript.jdk13,
org.mozilla.javascript.jdk15,
org.mozilla.javascript.json,
org.mozilla.javascript.optimizer,
org.mozilla.javascript.regexp,
org.mozilla.javascript.serialize,
org.mozilla.javascript.tools,
org.mozilla.javascript.tools.debugger,
org.mozilla.javascript.tools.debugger.treetable,
org.mozilla.javascript.tools.idswitch,
org.mozilla.javascript.tools.jsc,
org.mozilla.javascript.tools.shell,
org.mozilla.javascript.xml,
org.mozilla.javascript.xmlimpl
Export-Package: com.ibm.wala.cast.js.translator
Bundle-ClassPath: .,
lib/rhino-1.7.6.jar

21
com.ibm.wala.cast.js.rhino/build.gradle

@ -1,26 +1,9 @@
apply plugin: 'java'
repositories {
mavenCentral()
maven {
url "https://repo.eclipse.org/content/groups/releases/"
}
}
sourceSets {
main {
java {
srcDir 'source'
}
}
}
sourceSets.main.java.srcDir 'source'
dependencies {
compile project(':com.ibm.wala.util')
compile project(':com.ibm.wala.cast')
compile project(':com.ibm.wala.core')
compile project(':com.ibm.wala.cast.js')
// https://mvnrepository.com/artifact/org.mozilla/rhino
compile group: 'org.mozilla', name: 'rhino', version: '1.7.7.1'
compile 'org.mozilla:rhino:1.7.7.1'
}

6
com.ibm.wala.cast.js.test.data/.project

@ -5,6 +5,11 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.js.test.data/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

4
com.ibm.wala.cast.js.test/.classpath

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="harness-src"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

3
com.ibm.wala.cast.js.test/.launchConfigurations/com.ibm.wala.cast.js.test-JUnit.launch

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.junit.launchconfig">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/com.ibm.wala.cast.js.test"/>
@ -16,6 +16,7 @@
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#13;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;com.ibm.wala.cast.js.test&quot;/&gt;&#13;&#10;&lt;/runtimeClasspathEntry&gt;&#13;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/com.ibm.wala.cast.js.test.data/examples-src&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.buildship.core.classpathprovider"/>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="com.ibm.wala.cast.js.test"/>

6
com.ibm.wala.cast.js.test/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.js.test/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

16
com.ibm.wala.cast.js.test/build.gradle

@ -1,16 +1,4 @@
apply plugin: 'java'
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDir 'src'
}
}
}
sourceSets.main.java.srcDir 'harness-src'
dependencies {
compile project(':com.ibm.wala.cast.js.rhino')
@ -21,5 +9,5 @@ dependencies {
compile project(':com.ibm.wala.core.tests')
compile project(':com.ibm.wala.cast.js')
compile project(':com.ibm.wala.shrike')
compile 'junit:junit:4.11'
}

5
com.ibm.wala.cast.js/.classpath

@ -2,8 +2,7 @@
<classpath>
<classpathentry kind="src" path="source"/>
<classpathentry kind="src" path="dat"/>
<classpathentry exported="true" kind="lib" path="lib/jericho-html-3.2.jar"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.cast.js/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.js/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

2
com.ibm.wala.cast.js/.settings/org.eclipse.jdt.core.prefs

@ -35,7 +35,7 @@ org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
org.eclipse.jdt.core.compiler.problem.finalParameterBound=error
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=error
org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=enabled
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=error

4
com.ibm.wala.cast.js/META-INF/MANIFEST.MF

@ -26,9 +26,7 @@ Export-Package: .,
com.ibm.wala.cast.js.translator,
com.ibm.wala.cast.js.types,
com.ibm.wala.cast.js.util,
com.ibm.wala.cast.js.vis,
net.htmlparser.jericho,
net.htmlparser.jericho.nodoc
com.ibm.wala.cast.js.vis
Require-Bundle: com.ibm.wala.cast,
com.ibm.wala.core,
com.ibm.wala.cast,

23
com.ibm.wala.cast.js/build.gradle

@ -1,18 +1,6 @@
apply plugin: 'java'
repositories {
mavenCentral()
maven {
url "https://repo.eclipse.org/content/groups/releases/"
}
}
sourceSets {
main {
java {
srcDir 'source'
}
}
sourceSets.main {
java.srcDir 'source'
resources.srcDir 'dat'
}
dependencies {
@ -21,7 +9,6 @@ dependencies {
compile project(':com.ibm.wala.shrike')
compile project(':com.ibm.wala.core.tests')
compile project(':com.ibm.wala.cast')
// https://mvnrepository.com/artifact/net.htmlparser.jericho/jericho-html
compile group: 'net.htmlparser.jericho', name: 'jericho-html', version: '3.2'
compile 'commons-io:commons-io:2.4'
compile 'net.htmlparser.jericho:jericho-html:3.2'
}

4
com.ibm.wala.cast.test/.classpath

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="harness-src/java"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

1
com.ibm.wala.cast.test/.launchConfigurations/com.ibm.wala.cast.test-JUnit.launch

@ -12,6 +12,7 @@
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.buildship.core.classpathprovider"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="com.ibm.wala.cast.test"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-ea -Djava.library.path=${project_loc:/com.ibm.wala.cast.test}/bin"/>

6
com.ibm.wala.cast.test/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast.test/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

17
com.ibm.wala.cast.test/build.gradle

@ -1,21 +1,10 @@
apply plugin: 'java'
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDir 'src'
}
}
}
sourceSets.main.java.srcDir 'harness-src/java'
// TODO: hook up harness-src/c somehow
dependencies {
compile project(':com.ibm.wala.cast')
compile project(':com.ibm.wala.core')
compile project(':com.ibm.wala.core.tests')
compile project(':com.ibm.wala.util')
compile 'junit:junit:4.11'
}

5
com.ibm.wala.cast/.classpath

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="source/java"/>
<classpathentry exported="true" kind="lib" path="lib/commons-io-2.4.jar"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.cast/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -34,5 +39,6 @@
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.cast/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

4
com.ibm.wala.cast/META-INF/MANIFEST.MF

@ -25,8 +25,6 @@ Export-Package: com.ibm.wala.cast.analysis.typeInference,
com.ibm.wala.cast.tree.rewrite,
com.ibm.wala.cast.tree.visit,
com.ibm.wala.cast.types,
com.ibm.wala.cast.util,
org.apache.commons.io,
org.apache.commons.io.input
com.ibm.wala.cast.util
Bundle-RequiredExecutionEnvironment: JavaSE-1.8

21
com.ibm.wala.cast/build.gradle

@ -1,26 +1,9 @@
apply plugin: 'java'
repositories {
mavenCentral()
maven {
url "https://repo.eclipse.org/content/groups/releases/"
}
}
sourceSets {
main {
java {
srcDir 'source'
}
}
}
sourceSets.main.java.srcDir 'source/java'
dependencies {
compile project(':com.ibm.wala.util')
compile project(':com.ibm.wala.shrike')
compile project(':com.ibm.wala.core')
compile project(':com.ibm.wala.core.tests')
// https://mvnrepository.com/artifact/commons-io/commons-io
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile 'commons-io:commons-io:2.4'
}

5
com.ibm.wala.core.testdata/.classpath vendored

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.core.testdata/.project vendored

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.core.testdata/.settings/org.eclipse.buildship.core.prefs vendored

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

4
com.ibm.wala.core.tests/.classpath

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="dat"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

6
com.ibm.wala.core.tests/.project

@ -10,6 +10,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
@ -24,5 +29,6 @@
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

2
com.ibm.wala.core.tests/.settings/org.eclipse.buildship.core.prefs

@ -0,0 +1,2 @@
eclipse.preferences.version=1
connection.project.dir=..

37
com.ibm.wala.core.tests/build.gradle

@ -1,34 +1,15 @@
apply plugin: 'java'
repositories {
mavenCentral()
maven {
url "https://repo.eclipse.org/content/groups/releases/"
}
}
sourceSets {
main {
java {
srcDir 'src'
}
}
sourceSets.main {
java.srcDir 'src'
resources.srcDir 'dat'
}
dependencies {
compile project(':com.ibm.wala.core')
compile project(':com.ibm.wala.shrike')
compile project(':com.ibm.wala.util')
compile project(':com.ibm.wala.core')
// https://mvnrepository.com/artifact/org.hamcrest/hamcrest-all
compile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
// https://mvnrepository.com/artifact/junit/junit
compile group: 'junit', name: 'junit', version: '4.11'
// https://mvnrepository.com/artifact/org.apache.ant/ant
compile group: 'org.apache.ant', name: 'ant', version: '1.8.2'
// https://mvnrepository.com/artifact/org.eclipse.core/org.eclipse.core.runtime
compile group: 'org.eclipse.core', name: 'org.eclipse.core.runtime', version: '3.10.0.v20140318-2214'
// https://mvnrepository.com/artifact/org.osgi/org.osgi.core
compile group: 'org.osgi', name: 'org.osgi.core', version: '4.2.0'
compile 'junit:junit:4.11'
compile 'org.apache.ant:ant:1.8.2'
compile 'org.eclipse.core:org.eclipse.core.runtime:3.10.0.v20140318-2214'
compile 'org.hamcrest:hamcrest-core:1.3'
compile 'org.osgi:org.osgi.core:4.2.0'
}

1
com.ibm.wala.core.tests/launchers/ConstructAllIRs.launch

@ -14,6 +14,7 @@
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/com.ibm.wala.core.testdata/bin&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/com.ibm.wala.core.testdata/src&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#10;"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.buildship.core.classpathprovider"/>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.ibm.wala.examples.analysis.ConstructAllIRs"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="/Users/manu/Documents/workspaces/34workspace/com.ibm.wala.core.tests/dat/bcel.txt"/>

29
com.ibm.wala.core.tests/launchers/CountParameters.launch

@ -1,14 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/com.ibm.wala.core.tests/src/com/ibm/wala/examples/analysis/CountParameters.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.ibm.wala.examples.analysis.CountParameters"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-classpath c:/temp/testdata/JLex.jar"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="com.ibm.wala.core.tests"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx500M"/>
</lau