From ant-user-return-21440-qmlist-jakarta-archive-ant-user=jakarta.apache.org@jakarta.apache.org Tue Jun 04 09:33:11 2002 Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 95077 invoked from network); 4 Jun 2002 09:33:10 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Jun 2002 09:33:10 -0000 Received: (qmail 27901 invoked by uid 97); 4 Jun 2002 09:33:16 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 27885 invoked by uid 97); 4 Jun 2002 09:33:15 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 27850 invoked by uid 98); 4 Jun 2002 09:33:15 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Originating-IP: [203.197.249.102] From: "Rum Pel" To: "Ant Users List" References: <01C20BA8.64F4EEE0.s.diot@eurodata.de> Subject: Re: chmod on windows Date: Tue, 4 Jun 2002 15:03:12 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 04 Jun 2002 09:33:13.0536 (UTC) FILETIME=[D9271C00:01C20BAA] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Well, attrib is an exe on my windows 2000. ----- Original Message ----- From: "Sebastien Diot" To: "'Ant Users List'" Sent: Tuesday, June 04, 2002 12:45 PM Subject: AW: chmod on windows > Hi ! > > I'm afraid that there isn't such a thing as an "executable attribute" under > Windows. What is executable is defined by it's extention. From the > command line, I think you can only run .COM, .EXE, .BAT and .CMD (not > sure). From the GUI you might "run" anything for which there is a > registered program, for example a Perl script (.PL) if you have a Perl > interpreter installed. > > -----Ursprungliche Nachricht----- > Von: Rum Pel [SMTP:rum_pel@hotmail.com] > Gesendet am: Dienstag, 4. Juni 2002 07:12 > An: Ant Users List > Betreff: chmod on windows > > I thought all tasks are platform independant, but > chmod seems to work only on unix. > Whats the equivalent of chmod task on windows? > > Also, is it possible to execute tasks based on conditions? > If os.family is unix > then > chmod o-w file > else > if os.family is windows > then > execute attrib -R file > endif. > > The condition task doesnt seem to be for this purpose. > > --rp. > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > -- To unsubscribe, e-mail: For additional commands, e-mail: