Commit Graph
11 Commits
Author SHA1 Message Date
Guice TeamandGuice Team e399b21ab8 Split generate-latest-docs.sh script into two script: one generates the docs and one generates and publishes them.
This will allow us to generate the released version of the api docs as  part of release process.

PiperOrigin-RevId: 345773223
2020-12-04 15:50:59 -08:00
Guice TeamandGuice Team 4b4b9a6fa8 Run mvn install to install snapshot artifact before running jdiff.
PiperOrigin-RevId: 345714487
2020-12-04 11:05:55 -08:00
Guice TeamandGuice Team 9c7fe49c7a Fix bash script for publishing latest api docs.
Using `/bin/sh` cause an "unexpected operator" so remove it.

PiperOrigin-RevId: 345708574
2020-12-04 10:40:30 -08:00
Guice TeamandGuice Team 07d13be147 Change to use jdiff maven plugin to generate API diffs.
The plugin is configured to diff the current version against last released version of the API.

Unlike the jdiff task run by ant, this plugin generates diff on a per module basis. So the script used to generate latest docs is updated to copy over per module API diffs into a single directory with a index page that links to each module's diffs.

Also fixed travis CI config to remove the docs configuration since the javadoc
and api diffs are now generated using maven.

PiperOrigin-RevId: 345697612
2020-12-04 09:52:37 -08:00
samebandRon Shapiro c09ba1d5b7 Some more infrastructure changes to work w/ java8 code. Namely, neuter ant so that we don't use it for anything other than javadoc & jdiff. A few of the libraries it depended on (jarjar, bnd) didn't work with java8 code. We don't really need ant (we just use it for javadocs & jdiffs right now, and theoretically those could move to mvn too if someone figures out how to do that).
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=238041337
2019-04-07 19:01:45 -04:00
ronshapiroandRon Shapiro 1016a14f74 Typo: "Lastest" -> "Latest"
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=186768366
2018-02-26 16:23:01 -05:00
Sam Berlin 1de48d23d8 Explicitly mark sh files as executable. 2014-10-20 16:30:48 -04:00
sameb 1d3f8cd0a1 Add support for java.util.Optional, reflectively. If the class exists, we bind
it the same way we bind com.google.common.base.Optional.  Update tests
accordingly.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=77215848
2014-10-08 12:43:56 -04:00
Sam Berlin c8836d394c comment out the no-aop build for comparisons 2014-08-11 15:35:52 -04:00
Sam Berlin 22d4cca355 Fix the compareBuilds script (compares mvn vs ant generated jars) & add it to travis (before publishing snapshots). Comment out comparing the noaop builds since they're different right now, and update to asm 5.0.3 (which was a source of a difference). 2014-08-10 09:33:33 -04:00
Sam Berlin c15e74affa Move utility scripts to util dir, add secure vars to CI username/pwd, update POM to use canonical snapshot dir, add support for snapshot on succesful commit in Travis. 2014-08-08 14:17:43 -04:00