Return-Path: Delivered-To: apmail-maven-doxia-users-archive@www.apache.org Received: (qmail 47650 invoked from network); 25 Jun 2008 17:11:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2008 17:11:49 -0000 Received: (qmail 23595 invoked by uid 500); 25 Jun 2008 17:11:50 -0000 Delivered-To: apmail-maven-doxia-users-archive@maven.apache.org Received: (qmail 23566 invoked by uid 500); 25 Jun 2008 17:11:50 -0000 Mailing-List: contact doxia-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: doxia-users@maven.apache.org Delivered-To: mailing list doxia-users@maven.apache.org Received: (qmail 23554 invoked by uid 99); 25 Jun 2008 17:11:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 10:11:50 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of olivier.beyler@orange-ftgroup.com designates 195.101.245.16 as permitted sender) Received: from [195.101.245.16] (HELO p-mail2.rd.francetelecom.com) (195.101.245.16) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 17:11:01 +0000 Received: from ftrdmel3.rd.francetelecom.fr ([10.193.117.155]) by ftrdsmtp1.rd.francetelecom.fr with Microsoft SMTPSVC(6.0.3790.1830); Wed, 25 Jun 2008 19:11:18 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Snippet with file Date: Wed, 25 Jun 2008 19:11:16 +0200 Message-ID: <941BA0BF46DB8F4983FF7C8AFE800BC207D4457D@ftrdmel3> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Snippet with file Thread-Index: AcjW5Yp51dW9yRLYRA24yjVQkeFtSgAANwvg From: To: X-OriginalArrivalTime: 25 Jun 2008 17:11:18.0523 (UTC) FILETIME=[7BA40CB0:01C8D6E6] X-Virus-Checked: Checked by ClamAV on apache.org I 've try without success :-( Caused by: java.io.FileNotFoundException: C:\Program Files\NetBeans = 6.1\${basedir}\src\site\xdoc\MU_32_sommaire.fr.xml (Le chemin d'acc=E8s = sp=E9cifi=E9 est introuvable) at java.io.FileInputStream.open(Native Method)=20 -----Message d'origine----- De : Dennis Lundberg [mailto:dennisl@apache.org]=20 Envoy=E9 : mercredi 25 juin 2008 19:04 =C0 : doxia-users@maven.apache.org Objet : Re: Snippet with file Did you try value=3D"${basedir}/src/site/xdoc/MU_32_sommaire.fr.xml" olivier.beyler@orange-ftgroup.com wrote: > Thanks, but I try both without success :-( If I put the full path=20 > value=3D"C:\projet\OdisSite\src\site\xdoc/MU_32_sommaire.fr.xml"/> > It works > OdisSite is the name of the project and where is located the pom.xml = file. > As we use several computer the full path can't be use at the end.=20 > (some are on linux, windows...) >=20 > The main idea is to try to separate a big file MU_32.xml into several = file witch would be assembly by the macro. >=20 >=20 >=20 >=20 > -----Message d'origine----- > De : Lukas Theussl [mailto:ltheussl@apache.org] Envoy=E9 : mercredi 25 = > juin 2008 18:32 =C0 : doxia-users@maven.apache.org Objet : Re: Snippet = > with file >=20 > try >=20 > >=20 > or >=20 > value=3D"projet/src/site/xdoc/MU_32_sommaire.fr.xml"/> >=20 > (not sure about your project structure, I don't know what the three=20 > dots > mean...) >=20 > HTH, > -Lukas >=20 >=20 > olivier.beyler@orange-ftgroup.com wrote: >> >> >> >> >> >> >> 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=E9cifi=E9 est introuvable) >> at java.io.FileInputStream.open(Native Method) >> at java.io.FileInputStream.(FileInputStream.java:106) >> at java.io.FileInputStream.(FileInputStream.java:66) >> at = sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.jav= a:70) >> at = sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnect= ion.java:161) >> at java.net.URL.openStream(URL.java:1007) >> at = org.apache.maven.doxia.macro.snippet.SnippetReader.readLines(SnippetReade= r.java:118) >> at = org.apache.maven.doxia.macro.snippet.SnippetReader.readSnippet(SnippetRea= der.java:59) >> at = org.apache.maven.doxia.macro.snippet.SnippetMacro.getSnippet(SnippetMacro= .java:150) >> at = org.apache.maven.doxia.macro.snippet.SnippetMacro.execute(SnippetMacro.ja= va:110) >> ... 26 more >> >> Have you got any idea ? I don't want to put the absolute path to the=20 >> file as every one into the team has different path -- Dennis Lundberg