maven-doxia-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <olivier.bey...@orange-ftgroup.com>
Subject Snippet with file
Date Wed, 25 Jun 2008 15:36:59 GMT
  <macro name="snippet">
             <param name="id" value="sommaire"/>
            <param name="file" value="MU_32_sommaire.fr.xml"/>
    </macro>


 the MU_32_sommaire.fr.xml is locate into
...\projet\src\site\xdoc

If I do that I obtain :
Caused by: java.io.FileNotFoundException: C:\Program Files\NetBeans 6.1\MU_32_sommaire.fr.xml
(Le fichier spécifié est introuvable)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
        at java.net.URL.openStream(URL.java:1007)
        at org.apache.maven.doxia.macro.snippet.SnippetReader.readLines(SnippetReader.java:118)
        at org.apache.maven.doxia.macro.snippet.SnippetReader.readSnippet(SnippetReader.java:59)
        at org.apache.maven.doxia.macro.snippet.SnippetMacro.getSnippet(SnippetMacro.java:150)
        at org.apache.maven.doxia.macro.snippet.SnippetMacro.execute(SnippetMacro.java:110)
        ... 26 more

Have you got any idea ? I don't want to put the absolute path to the file as every one into
the team has different path



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message