Re: Problem using custom announcement with changes plugin

2007-08-03 Thread Dennis Lundberg
I had a look at this and it seems that this is a requirement of Velocity, which is used to merge the template with the data. I'll add some text about this in the documentation for the plugin. Dennis Lundberg wrote: That is a very good question. I'm afraid I don't know the answer to it. Since t

Re: Problem using custom announcement with changes plugin

2007-07-10 Thread Dennis Lundberg
That is a very good question. I'm afraid I don't know the answer to it. Since the changes-plugin is still in beta, I think that it would be possible to change the default location for the templates. The normal plugin behavior when it comes to configuration, is to start out from ${basedir}. St

Re: Problem using custom announcement with changes plugin

2007-07-09 Thread Steven Rowe
Hi Dennis, Why not use /src/changes/ instead of /src/main/resources/ ? By default, for jar packaging anyway, everything /src/main/resources/ will be put into the artifact, but why would anybody ever want an email announcement template in the artifact? Just curious, Steve Dennis Lundberg wrote:

Re: Problem using custom announcement with changes plugin

2007-07-08 Thread Dennis Lundberg
Hi Paul, I committed a new page for the site that explains how to create and use a custom template for the announcement. As you sort of figured out already, the templateDirectory starts from /src/main/resources, i.e. not from ${basedir}. I have not deployed a new site yet, but you can have a

Re: Problem using custom announcement with changes plugin

2007-04-20 Thread Paul Spencer
Found a workaround/solution! 1) Set announcement 2) Place the template, announcement.vm, in located in ${basedir}\src\main\resources\announcement. This assumes ${basedir}\src\main\resources is already in the resource classpath! BTW: templateDirectory is a bad name since it has no re

Re: Problem using custom announcement with changes plugin

2007-04-20 Thread Paul Spencer
Wayne, Neither work. src/main/resources I even tried the following, which also failed: removing the directory src/main/resources ${basedir}/src/main/announcement [INFO] Resource Loader Instantiated: org.apache.maven.plugin.resource.loader.ProjectResourceLoader [INFO] ProjectResourceL

Re: Problem using custom announcement with changes plugin

2007-04-20 Thread Wayne Fay
Just stabbing in the dark... Have you tried: src/main/resources Note the missing / at the beginning. Or for that matter, (no value)? Wayne On 4/20/07, Paul Spencer <[EMAIL PROTECTED]> wrote: I already tried that! ${basedir}/src/main/resources [INFO] ProjectResourceLoader : initialization s

Re: Problem using custom announcement with changes plugin

2007-04-20 Thread Paul Spencer
I already tried that! ${basedir}/src/main/resources [INFO] ProjectResourceLoader : initialization starting. [INFO] path :C:\cvs\reporting-jsf\src\main\resources\ [INFO] ProjectResourceLoader : adding path 'C:\cvs\reporting-jsf\src\main\resources\' ... [ERROR] ResourceManager : unable to find r

Re: Problem using custom announcement with changes plugin

2007-04-20 Thread Siegfried Goeschl
Very stupid question ... /src/main/resources seems to be an absolute reference to a directory whereas C:\cvs\reporting-jsf\src\main\resources is the absolute path Cheers Siegfried Goeschl Paul Spencer wrote: I am trying to configure the changes plugin, version 2.0-beta-2, to use a cu

Problem using custom announcement with changes plugin

2007-04-20 Thread Paul Spencer
I am trying to configure the changes plugin, version 2.0-beta-2, to use a custom announcement.vm file. Setting templateDirectory in to /src/main/resources does not work. The command "mvn changes:announcement-generate" always fails with the following error message: ResourceManager : unable to