Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 98852 invoked by uid 500); 11 Apr 2001 09:51:42 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 98837 invoked from network); 11 Apr 2001 09:51:39 -0000 Sender: olivier@anyware-tech.com Message-ID: <3AD429CD.15640E2E@anyware-tech.com> Date: Wed, 11 Apr 2001 11:54:22 +0200 From: Olivier Prouvost Organization: Anyware Technologies X-Mailer: Mozilla 4.7 [fr] (X11; I; Linux 2.2.14-1mdklinus i686) X-Accept-Language: fr-FR, en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Cvs task not running ? Content-Type: multipart/mixed; boundary="------------82C560C66476B43F8ACCCE89" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Il s'agit d'un message multivolet au format MIME. --------------82C560C66476B43F8ACCCE89 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I repost all mails about this problem... I put it under the login problem posted on monday.... Here is the history.... from the beginning to the last answer from stefan... Hello, I've got a target to get my files from cvs... It was working well until I used the ant1.3 version... What could be the reason, the cvs task do absolutely nothing when called... while the cvs command is ok in my schell command ?? Here is my task : Thanks for help... > And I confirm... If I run this task using Ant 1.2, it works > well..... !! Is it a bug ? If my proposed solution works, it is a known (and bugzilla recorded) bug in the 1.3 binary distribution. Stefan Olivier Prouvost wrote: > I've got a target to get my files from cvs... It was working well > until I used the ant1.3 version... I guess you need to remove the cariage return characters from ANT_HOME/bin/antRun - and it should work. Stefan Do you mean, the file shall become like that : #! /bin/sh # Args: DIR command cd "$1" CMD="$2" shift shift exec $CMD "$@" I removed the empty lines before the cd and exec lines. I tried... it does not work... How this empty lines could cause a problem ? Stefan Bodewig a �crit : > Olivier Prouvost wrote: > > > And I confirm... If I run this task using Ant 1.2, it works > > well..... !! Is it a bug ? > > If my proposed solution works, it is a known (and bugzilla recorded) > bug in the 1.3 binary distribution. > > Stefan -- -------------------------------------------- Olivier Prouvost Anyware Technologies Tel : 05 61 00 52 90 Fax : 05 61 00 51 46 Web : http://www.anyware-tech.com -------------------------------------------- --------------82C560C66476B43F8ACCCE89 Content-Type: message/rfc822 Content-Transfer-Encoding: 8bit Content-Disposition: inline Return-Path: Received: from apache.org (h31.sny.collab.net [64.208.42.41]) by mail.anyware-tech.com (8.11.0/8.8.7) with SMTP id f3B9htP31588 for ; Wed, 11 Apr 2001 11:44:01 +0200 Received: (qmail 90610 invoked by uid 500); 11 Apr 2001 09:45:01 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 90591 invoked from network); 11 Apr 2001 09:45:00 -0000 Sender: olivier@anyware-tech.com Message-ID: <3AD4283E.E7BA1025@anyware-tech.com> Date: Wed, 11 Apr 2001 11:47:42 +0200 From: Olivier Prouvost Organization: Anyware Technologies X-Mailer: Mozilla 4.7 [fr] (X11; I; Linux 2.2.14-1mdklinus i686) X-Accept-Language: fr-FR, en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: Cvs task not runnig ? References: <006a01c0c0fe$57df44d0$3700a8c0@softech1.softline.ro> <3AD423C6.E4CC7CBB@anyware-tech.com> <3AD42592.CC52E901@anyware-tech.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Do you mean, the file shall become like that : #! /bin/sh # Args: DIR command cd "$1" CMD="$2" shift shift exec $CMD "$@" I removed the empty lines before the cd and exec lines. I tried... it does not work... How this empty lines could cause a problem ? Stefan Bodewig a �crit : > Olivier Prouvost wrote: > > > And I confirm... If I run this task using Ant 1.2, it works > > well..... !! Is it a bug ? > > If my proposed solution works, it is a known (and bugzilla recorded) > bug in the 1.3 binary distribution. > > Stefan -- -------------------------------------------- Olivier Prouvost Anyware Technologies Tel : 05 61 00 52 90 Fax : 05 61 00 51 46 Web : http://www.anyware-tech.com -------------------------------------------- --------------82C560C66476B43F8ACCCE89--