WALA/travis
Ben Liblit 8529c10491 Use Gradle to create selected Eclipse metadata before Maven builds
The Eclipse metadata files created in this way are not identical to
those that Buildship would create when importing into Eclipse.  The
tests in com.ibm.wala.cast.java.test.JDTJava15IRTests and
com.ibm.wala.cast.java.test.JDTJavaIRTests seem to pass using either
the Gradle-generated or the Buildship-generated versions.

As an aside, if you generate these files using Gradle first and *then*
import using Buildship, you end up with metadata that is identical to
what you would have had if you'd only imported with
Buildship.  (There's one irrelevant difference in an unimportant
"<comment>" element.)  So Maven's tests should run fine under any
wacky mix of Gradle- and Buildship-generated Eclipse metadata files.

That being said, I recommend not mixing build systems.  WALA can be
built using either Maven, Gradle, or Eclipse+Buildship, but you're
probably better off only using one of these in any given build tree.
A mixed tree *should* probably work, but I haven't tested it
thoroughly, and consider better to avoid doing.

Incidentally, if there are other Maven-preparation steps that we'd
like Gradle to automate for us, that can now be done easily by
creating more "prepareMavenBuild" Gradle tasks in other subprojects
and adding the appropriate dependencies.  For example, it would be
trivial to use this to automate downloading "/tmp/DroidBench",
installing the Android SDK, etc.
2018-04-18 11:29:29 -05:00
..
before-cache-gradle "rm" on macOS apparently doesn't understand long ("--foo") flags 2018-04-18 11:29:28 -05:00
before-cache-maven In Travis-CI, test Maven and Gradle separately and concurrently 2018-04-18 11:29:24 -05:00
before-install-gradle In Travis-CI, test Maven and Gradle separately and concurrently 2018-04-18 11:29:24 -05:00
before-install-maven Teach Gradle how to download "/tmp/DroidBench" when needed 2018-04-18 11:29:26 -05:00
install-gradle Tell Travis CI to be even more patient during initial p2AsMaven downloads 2018-04-18 11:29:29 -05:00
install-maven Use Gradle to create selected Eclipse metadata before Maven builds 2018-04-18 11:29:29 -05:00
script-gradle Don't use build cache (a.k.a. task output caching) under Travis CI 2018-04-18 11:29:29 -05:00
script-maven In Travis-CI, test Maven and Gradle separately and concurrently 2018-04-18 11:29:24 -05:00