Hi Kenney,

Finally after a coupe of try, based on your direction,  I manage to make it
work.
Thank you very much for your help.

Jean-Marc




Extranet
[EMAIL PROTECTED] - 22/06/2005 22:06


Veuillez répondre à [email protected]



Pour : users

cc :


Objet :     Re: maven-test-plugin-1.6.2 generated corrupted excel file


On Wed, 22 Jun 2005 [EMAIL PROTECTED] wrote:

Hi Jean-Marc,

maven:copy-resources uses the Ant Copy task internally. It checks
the filtering property on the resource being copied and enables
filtering on the copy task. It seems your excel files are
defined in a <resources> section where you specified
<filtering>true</filtering>.

If you need filtering, you better define 2 <resources> sections,
one with filtering enabled and the other having it disabled. You
can use include/exclude patterns to specify which file will be in
which resource section.

Hope this helps!

-- Kenney

> Hi all,
>
> maven-test-plugin-1.6.2
>
> I am doing a simple maven goal test:test . I have some configuration
files
> in a folder conf/test.
>
> +--conf
>        +--java
>        +--test
> +--src
>         +--java
>         +--test
>
> Normally the plugin should copy all the files from conf/java to
> target\test-classes\. However I have some excel files and they are
> corrupted once they have copied by maven. I had a look at the plugin and
> the goal which take of the copy is test:test-resources in the plugin. The
> method is:
> <maven:copy-resources resources="${pom.build.unitTest.resources}"
> todir="${maven.test.dest}"/>
>
> How this copy-resources works? Do I need to configrue anything?
>
> Thanks,
>
> Jean-Marc
>
>
>
>
>
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential.
> If you receive this message in error, please delete it and
> immediately notify the sender. Any use not in accord with
> its purpose, any dissemination or disclosure, either whole
> or partial, is prohibited except formal approval. The internet
> can not guarantee the integrity of this message.
> BNP PARIBAS (and its subsidiaries) shall (will) not
> therefore be liable for the message if modified.
>
>                 ---------------------------------------------
>
> Ce message et toutes les pieces jointes (ci-apres le
> "message") sont etablis a l'intention exclusive de ses
> destinataires et sont confidentiels. Si vous recevez ce
> message par erreur, merci de le detruire et d'en avertir
> immediatement l'expediteur. Toute utilisation de ce
> message non conforme a sa destination, toute diffusion
> ou toute publication, totale ou partielle, est interdite, sauf
> autorisation expresse. L'internet ne permettant pas
> d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> filiales) decline(nt) toute responsabilite au titre de ce
> message, dans l'hypothese ou il aurait ete modifie.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to