You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Jean-Philippe Caruana <je...@orange-ftgroup.com> on 2010/03/19 11:19:43 UTC

reduce pom timeout

Hello,

I would like to reduce timeout duration for downloading pom files : we 
don't have any pom.xml in our repository, and downloading all artifacts 
takes a lot of time.
Is that possible ?

-- Jean-Philippe Caruana
********************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'attention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration. CVF decline
toute responsabilite au titre de ce message s'il a ete altere, deforme
ou falsifie.
Si vous n'etes pas destinataire de ce message, merci de le detruire
immediatement et d'avertir l'expediteur.
*********************************
This message and any attachments (the "message") are confidential and
intended solely for the addressees. Any unauthorised use or
dissemination is prohibited.
Messages are susceptible to alteration. CVF shall not be liable for the
message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it
immediately and inform the sender..
********************************

Re: reduce pom timeout

Posted by Jean-Philippe Caruana <je...@orange-ftgroup.com>.
Le 22/03/2010 02:41, Alex Boisvert a écrit :
> One idea would be to monkey-patch the artifact class to return a 'nil' pom,
>
> module Buildr
>    class Artifact
>      def pom
>        nil
>      end
>    end
> end

Thanks.
I will try this.

-- Jean-Philippe Caruana
********************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'attention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration. CVF decline
toute responsabilite au titre de ce message s'il a ete altere, deforme
ou falsifie.
Si vous n'etes pas destinataire de ce message, merci de le detruire
immediatement et d'avertir l'expediteur.
*********************************
This message and any attachments (the "message") are confidential and
intended solely for the addressees. Any unauthorised use or
dissemination is prohibited.
Messages are susceptible to alteration. CVF shall not be liable for the
message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it
immediately and inform the sender..
********************************

Re: reduce pom timeout

Posted by Alex Boisvert <al...@gmail.com>.
One idea would be to monkey-patch the artifact class to return a 'nil' pom,

module Buildr
  class Artifact
    def pom
      nil
    end
  end
end

(put at the top of your buildfile).

I've only tested this with a trivial build and it worked.

alex


On Fri, Mar 19, 2010 at 3:19 AM, Jean-Philippe Caruana <
jeanphilippe1.caruana@orange-ftgroup.com> wrote:

> Hello,
>
> I would like to reduce timeout duration for downloading pom files : we
> don't have any pom.xml in our repository, and downloading all artifacts
> takes a lot of time.
> Is that possible ?
>
> -- Jean-Philippe Caruana
> ********************************
> Ce message et toutes les pieces jointes (ci-apres le "message") sont
> confidentiels et etablis a l'attention exclusive de ses destinataires.
> Toute utilisation ou diffusion non autorisee est interdite.
> Tout message electronique est susceptible d'alteration. CVF decline
> toute responsabilite au titre de ce message s'il a ete altere, deforme
> ou falsifie.
> Si vous n'etes pas destinataire de ce message, merci de le detruire
> immediatement et d'avertir l'expediteur.
> *********************************
> This message and any attachments (the "message") are confidential and
> intended solely for the addressees. Any unauthorised use or
> dissemination is prohibited.
> Messages are susceptible to alteration. CVF shall not be liable for the
> message if altered, changed or falsified.
> If you are not the intended addressee of this message, please cancel it
> immediately and inform the sender..
> ********************************
>