Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 89533 invoked from network); 14 Jun 2004 21:54:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Jun 2004 21:54:24 -0000 Received: (qmail 41002 invoked by uid 500); 14 Jun 2004 21:54:36 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 40972 invoked by uid 500); 14 Jun 2004 21:54:36 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 18814 invoked by uid 99); 14 Jun 2004 21:46:05 -0000 From: "Arnaud Heritier" To: "'Maven Users List'" Subject: RE: How to add a resource in a plugin classloader Date: Mon, 14 Jun 2004 23:46:20 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <40CD9721.3080409@apache.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRSDtf+vddz8D4eS0SOM5ptSQdtXgASNVOw Message-Id: <20040614214530.B3F0F180019D@mwinf0802.wanadoo.fr> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I tried to do it but without success. I created a path where I added the ${plugin.resources} and I used it in = the style task as a reference but it doesn't work. I also tried to create a new task with the customized path: I don't know if it can be a problem with maven classloaders or there's a = bug in the ant style task or in xalan. For the moment I abandon. Thanks for your idea Brett. Cheers, Arnaud. > -----Message d'origine----- > De=A0: Brett Porter [mailto:brett@apache.org] > Envoy=E9=A0: lundi 14 juin 2004 14:17 > =C0=A0: Maven Users List > Objet=A0: Re: How to add a resource in a plugin classloader >=20 > I think you need to pass the classpath/classpathref element to the = style > task. Build the classpath using standard tags. >=20 > - Brett >=20 > Arnaud HERITIER wrote: >=20 > >Hello, > > > > > > > >I have a little problem. > > > >I want to use the ant style task to transform some xml files. > > > >My xslt file uses a resource bundle to create some labels. > > > > > > > >My resource bundle is stored in a properties file. > > > > > > > >I tried to add this file in plugin's root directory but the bundle = isn't > >found. > > > > > > > >How can I add something in the classloader used by ant tasks ??? > > > > > > > > ???? > > > > > > > > > > > >Arnaud > > > > > > > > > > > > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org