Commit Graph

60 Commits

Author SHA1 Message Date
Michael Bayne 49e59008fd [maven-release-plugin] prepare for next development iteration 2016-01-19 17:56:18 -08:00
Michael Bayne 855f1d33d2 [maven-release-plugin] prepare release jmustache-1.12 2016-01-19 17:56:14 -08:00
Michael Bayne ed15294419 OMG! GWT 2.8 is finally in beta. 2015-12-14 13:28:17 -08:00
Michael Bayne 51f5840363 Reinstate GWT 2.8.0 & tests. 2015-10-05 15:16:48 -07:00
Michael Bayne 667a1fecd2 [maven-release-plugin] prepare for next development iteration 2015-10-05 15:09:58 -07:00
Michael Bayne e520fed423 [maven-release-plugin] prepare release jmustache-1.11 2015-10-05 15:09:55 -07:00
Michael Bayne d217b41a67 Disable GWT tests so we can release.
We'll go back to GWT 2.8.0-SNAPSHOT after, so we can continue to test GWT, and
hopefully GWT 2.8.0 will ship sometime before 2020.
2015-10-05 15:08:57 -07:00
Michael Bayne a0a6b1fc99 A bunch of POM up-to-dating. 2015-10-05 15:02:03 -07:00
Michael Bayne b9c48fa077 Reenable GWT unit testing, using 2.8.0-SNAPSHOT. 2015-09-21 14:34:57 -07:00
Michael Bayne 461b108663 Support getters from default methods in interfaces.
Fortunately this did not require using any JDK 1.8-specific APIs, just
searching (via reflection) through the set of interfaces implemented by a class
in addition to its super-classes.

One downside is that the transitive set of all implemented interfaces could be
much larger than the super-class chain, but this is the last thing we search,
so in theory we only even get here if we were about to fail to find the getter
entirely.

This also means that our tests have to be compiled and run with Java 8, because
I was not in the mood to figure out how to do all the complex Maven jockeying
to have a special JDK8 profile and disable JDK8 tests in the normal profile and
re-enable them in the JDK8 profile and blah blah blah, just shoot me now.
2015-08-22 15:07:05 -07:00
Michael Bayne 69ebfdf6a0 Bumped GWT to 2.7.0.
Also disabled GWT htmlunit tests because it seems to choke on the fact that I
factored the GWT bits into src/main/gwt.

It should work fine because everything is in target/classes by the time GWT
runs, and target/classes is on GWT's classpath, but it doesn't. I'm sure
someone is doing something clever along the way and passing the value on to the
customer.
2015-03-06 12:42:59 -08:00
Michael Bayne 978758fdde Disable some annoying Javadoc lint warnings. 2015-02-09 08:35:34 -08:00
Michael Bayne 2b006b06d0 [maven-release-plugin] prepare for next development iteration 2015-02-09 08:33:15 -08:00
Michael Bayne 2957516854 [maven-release-plugin] prepare release jmustache-1.10 2015-02-09 08:33:12 -08:00
Michael Bayne 692adc47f4 Move our GWT stuff around.
This avoids having it look like normal Java source and then confusing tools
because there are two copies of DefaultCollector.
2014-12-01 16:46:51 -08:00
Michael Bayne aafa5c0a73 Update to more recent compiler plugin.
Also bumped source/target to 1.6. Hopefully this won't result in backlash from
cavemen still using JMustache on JDK 1.5.
2014-02-17 12:06:42 -08:00
Michael Bayne 93b66b757e More test coverage plus Coveralls wiring. 2014-02-17 12:02:41 -08:00
Michael Bayne 6b866d3263 Try wiring up Coveralls Maven plugin. 2014-02-17 11:54:17 -08:00
Michael Bayne b618e6dbd4 [maven-release-plugin] prepare for next development iteration 2014-02-13 10:16:36 -08:00
Michael Bayne 834759d04c [maven-release-plugin] prepare release jmustache-1.9 2014-02-13 10:16:32 -08:00
Michael Bayne 9910bb691a SBT updates, fixed GWT test depends. 2013-10-08 12:18:48 -07:00
Michael Bayne 3af55c2660 Some javadoc improvements. 2013-08-01 16:04:46 -07:00
Michael Bayne 3baec8221d [maven-release-plugin] prepare for next development iteration 2013-04-05 11:03:35 -07:00
Michael Bayne 23c9ed91c8 [maven-release-plugin] prepare release jmustache-1.8 2013-04-05 11:03:26 -07:00
Michael Bayne 7e414b6c95 Use latest JUnit. 2013-04-02 12:54:20 -07:00
Yoryos Valotasios 2889ee8692 Added standard Mustache specs tests suite.
The groups with failing tests are currently commented out (everything except
interpolation). The main reason for failures are due to the requirement that
standalone lines that contain nothing but whitespace be stripped from the
output.
2013-04-02 12:54:20 -07:00
Michael Bayne f3afcda74f [maven-release-plugin] prepare for next development iteration 2013-02-27 10:24:27 -08:00
Michael Bayne 96020e46de [maven-release-plugin] prepare release jmustache-1.7 2013-02-27 10:24:18 -08:00
Michael Bayne 41eec508cb [maven-release-plugin] prepare for next development iteration 2012-08-16 17:53:52 -07:00
Michael Bayne 21f2145222 [maven-release-plugin] prepare release jmustache-1.6 2012-08-16 17:53:45 -07:00
Michael Bayne a899c466ca Use latest test plugin. 2012-08-13 14:31:23 -07:00
Martin Ellis 049359cde3 Add Bundle-ActivationPolicy to OSGi manifest.
Set the Bundle-ActivationPolicy to 'lazy'. According to the OSGi wiki:

  "This can improve performance in a system with many bundles, where
  instead of starting them they may be placed into a lazy state, and
  only activated when they are actually used."
  -- http://wiki.osgi.org/wiki/Bundle-ActivationPolicy

'Lazy' is fine for jmustache, because it has no bundle activator,
and does not provide any OSGi services that need to be registered.
2012-08-13 14:42:47 +01:00
Michael Bayne a1808fb3ef POM tidying. 2012-06-08 08:34:48 -07:00
Martin Ellis 77991e52bb Add OSGi headers in manifest file using maven-bundle-plugin.
Some of the automatically generated headers are suppressed because
they are for information only, and not very useful. These include
Bnd-LastModified, Include-Resource, Private-Package and Tool.
2012-05-25 15:54:39 +01:00
Michael Bayne 751123c067 [maven-release-plugin] prepare for next development iteration 2011-11-13 08:53:24 -08:00
Michael Bayne ab3d6206e0 [maven-release-plugin] prepare release jmustache-1.5 2011-11-13 08:53:17 -08:00
Michael Bayne 407d999836 Further work on making JMustache work in GWT.
I've ironed out most of the kinks, but the GWT unit test still fails because
we're forced to do some sneaky things with java.io.Reader/Writer. I think it
will all work when compiled to JavaScript, so I need to check it in a real
project.
2011-10-29 15:31:27 -07:00
Michael Bayne 627da759c7 Include sources in jar for (eventual) GWT usage. 2011-10-13 20:49:33 -07:00
Michael Bayne 76e9d54683 Extracted the iteration over collections and creation of variable fetchers into
a pluggable component.

This allows scaling down to the GWT environment by hiding the reflection code
via GWT's super source mechanism.

And it allows scaling up to non-Java languages (like Scala) by allowing the
library client to extend the DefaultCollector and teach it about Scala
Iterators, Iterables and Maps.

I also just realized that GWT has no facilities for Reader and Writer, which is
going to complicate making things work in GWT even further. But for now, I'll
just leave things as is.
2011-10-13 20:35:46 -07:00
Michael Bayne 2b6066adce [maven-release-plugin] prepare for next development iteration 2011-08-29 14:50:49 -07:00
Michael Bayne 447b109512 [maven-release-plugin] prepare release jmustache-1.4 2011-08-29 14:50:40 -07:00
Michael Bayne 71fdc8aa33 Specify correct license in POM. 2011-08-26 11:26:41 -07:00
Michael Bayne 553ab51357 [maven-release-plugin] prepare for next development iteration 2011-06-03 11:08:50 -07:00
Michael Bayne ca50fe0b15 [maven-release-plugin] prepare release jmustache-1.3 2011-06-03 11:08:45 -07:00
Michael Bayne 6acca915b1 [maven-release-plugin] prepare for next development iteration 2011-04-13 16:18:42 -07:00
Michael Bayne b38f17ea0f [maven-release-plugin] prepare release jmustache-1.2 2011-04-13 16:18:35 -07:00
Michael Bayne 76f86ea665 [maven-release-plugin] prepare for next development iteration 2011-03-01 11:35:16 -08:00
Michael Bayne 13ac4f9b87 [maven-release-plugin] prepare release jmustache-1.1 2011-03-01 11:35:09 -08:00
Michael Bayne 4a1a125f87 Maybe these URLs will appease my fickle Maven mistress. 2011-03-01 11:34:20 -08:00
Michael Bayne c94782fd9b My release was borked, need to start over. Yay! 2011-03-01 11:31:55 -08:00