On Mon, Mar 11, 2013 at 5:58 PM, Jake Mannix <[email protected]> wrote:
> On Mon, Mar 11, 2013 at 5:44 PM, Jake Mannix <[email protected]> > wrote: > > > > > > > > > On Mon, Mar 11, 2013 at 5:14 PM, Ted Dunning <[email protected] > >wrote: > > > >> [mvn compile|test|package] will do the trick. > >> > >> Everything is built-in. The code generator is a maven plug-in that runs > >> whenever you build math. That is why the build isn't real incremental. > >> Not that it matters much since the compile is so fast. > >> > > > > Ok, I'll try that. For some reason, it wasn't doing anything (I think?) > > before, > > as we hardcode dependency on mahout-collections-1.0 in a lot of poms, > > I think? > > > > In particular, when I build, I notice that I see: > > Downloading: > > http://repo1.maven.org/maven2/org/apache/mahout/mahout-collections/1.0/mahout-collections-1.0.jar > > Which implies to me that I'm not going to be using my newly minted code... > > > How tragically anomalous. What I see is this: [INFO] --- mahout-collection-codegen-plugin:1.0:generate (default) @ > mahout-math --- > Mar 11, 2013 6:07:50 PM org.apache.velocity.runtime.log.JdkLogChute log > INFO: FileResourceLoader : adding path > '/Users/tdunning/Apache/mahout/math/src/main/java-templates' > Mar 11, 2013 6:07:50 PM org.apache.velocity.runtime.log.JdkLogChute log > INFO: FileResourceLoader : adding path > '/Users/tdunning/Apache/mahout/math/src/test/java-templates' > [INFO] Writing to > /Users/tdunning/Apache/mahout/math/target/generated-sources/mahout/org/apache/mahout/math/buffer/ByteBufferConsumer.java > ... many lines deleted ... > sources/mahout/org/apache/mahout/math/set/OpenLongHashSetTest.java > [INFO] Writing to > /Users/tdunning/Apache/mahout/math/target/generated-test-sources/mahout/org/apache/mahout/math/set/OpenFloatHashSetTest.java > [INFO] Writing to > /Users/tdunning/Apache/mahout/math/target/generated-test-sources/mahout/org/apache/mahout/math/set/OpenDoubleHashSetTest.java > [INFO] > [INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ > mahout-math --- > [INFO] Source directory: > /Users/tdunning/Apache/mahout/math/target/generated-sources/mahout added. > [INFO] > [INFO] --- build-helper-maven-plugin:1.7:add-test-source (add-test-source) > @ mahout-math --- > [INFO] Test Source directory: > /Users/tdunning/Apache/mahout/math/target/generated-test-sources/mahout > added. > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > mahout-math --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory > /Users/tdunning/Apache/mahout/math/src/main/resources > [INFO] > [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ > mahout-math --- > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 368 source files to > /Users/tdunning/Apache/mahout/math/target/classes
