notice this is referenced as DOXIA-373 [1] and used in DOXIATOOLS-15 [2] notice that you should: - avoid ${basedir} and prefer ${project.basedir} - not need the property in pom
Regards, Hervé [1] http://jira.codehaus.org/browse/DOXIA-373 [2] http://jira.codehaus.org/browse/DOXIATOOLS-15 Le vendredi 15 août 2014 16:26:48 Pablo León a écrit : > Ouch, bad news! This plugin has saved us hundreds of hours in APT format > validation and also is a great memory saver. What are my alternatives > for APT editing? > > Nevertheless, I've found a workaround for the problem I was facing, just > in case someone else is experiencing it too: > > 1.- Rename your APT file from file.apt to file.apt.vm, this seems to > activate the preprocessor on maven. > > 2.- Add this to the properties section of your pom file: > <basedir>${basedir}</basedir> > > 3.- Use the snippet macro as follows: > %{snippet|file=$basedir/src/path/to/file.txt} > > Now your macros are correctly recognized by maven and by the eclipse plugin! > > Regards, > > Pablo. > > El 15/08/2014 14:30, Benson Margulies escribió: > > I made an official release once, I think, but since I no longer use > > Eclipse I am not in a position to maintain it further. > > > > On Fri, Aug 15, 2014 at 2:56 AM, Dan Tran <dant...@gmail.com> wrote: > >> Unfortunately, I dont think Doxia for Eclipse is maintained, and it never > >> have an official release either > >> > >> -D > >> > >> On Thu, Aug 14, 2014 at 6:06 PM, Pablo León <pablo.l...@horus.es> wrote: > >>> Hi, > >>> > >>> I have been successfully using the Doxia Eclipse Editor Plugin for a few > >>> months. But now I'm facing a compatibility problem related to the > >>> snippet > >>> > >>> macro. if I use the following macro: > >>> %{snippet|file=${basedir}/src/path/to/file.txt} > >>> > >>> then the "mvn site" issues the error: > >>> Error during retrieving content skip as ignoreDownloadError > >>> activated. > >>> > >>> If I remove the ${basedir} variable from the macro, the "mvn site" works > >>> > >>> as expected, but then I get this error in the eclipse IDE: > >>> Doxia Converter Exception: > >>> C:\eclipse\install\dir\src\path\to\file.txt > >>> > >>> (path not found) > >>> > >>> I'm unable to specify the path of the snippet file in a compatible > >>> manner, > >>> I have tried using $basedir, ${basedir} and ${project.basedir}, but I > >>> always get the same results. > >>> > >>> Anyone has any suggestion? > >>> > >>> There are any plans to release an update of the Doxia Eclipse Editor > >>> Plugin which uses the same default directory as the "mvn site" command? > >>> > >>> Regards, > >>> > >>> Pablo. > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > >>> For additional commands, e-mail: users-h...@maven.apache.org > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org