Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 69428 invoked from network); 21 Oct 2004 23:23:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Oct 2004 23:23:14 -0000 Received: (qmail 25416 invoked by uid 500); 21 Oct 2004 23:23:02 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 25363 invoked by uid 500); 21 Oct 2004 23:23:02 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 25343 invoked by uid 99); 21 Oct 2004 23:23:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [209.226.175.184] (HELO tomts22-srv.bellnexxia.net) (209.226.175.184) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 21 Oct 2004 16:23:01 -0700 Received: from athlon ([64.231.167.220]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with SMTP id <20041021232229.WROJ2542.tomts22-srv.bellnexxia.net@athlon> for ; Thu, 21 Oct 2004 19:22:29 -0400 Message-ID: <01bb01c4b7c4$ea1675b0$0d02a8c0@athlon> From: "Rhino" To: "Ant Users List" References: <015601c4b7af$86b8e300$0d02a8c0@athlon> <4178256D.3080307@gmx.net> Subject: Re: Problem with Date: Thu, 21 Oct 2004 19:23:03 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sebastian, For what it's worth, I added a '-url' argument to both the Firefox and Opera tasks and all three tasks now work. (I also noticed that if I added the '-url' argument to the IE task, it DIDN'T work.) I've never heard of the '-url' flag before and it doesn't seem to be necessary when executing the command on the command line but it helps a great deal when executing from an Ant task. Thanks for suggesting it! This really solved my problem. Rhino ----- Original Message ----- From: "Sebastian Redl" To: "Ant Users List" Sent: Thursday, October 21, 2004 5:09 PM Subject: Re: Problem with > Rhino wrote: > > > > > I'm having problems with and would appreciate some guidance. > > > > My project involves compiling, jarring, and uploading a revised Java > > applet to a webpage. All of that works fine. > > > > I decided I would like to try to improve the script by adding a target > > that displayed the web page containing the applet in each of the three > > browsers that I have, just to make sure the applet looks good on the > > web page. I composed this target to do that: > > > > > I don't have a solution for your problem, I'd just like to point out > that paths of browsers are something EXTREMELY unreliable, so if you > actually want to use this for a distributed project, you need to come up > with a better way of finding the browser. > My FireFox, for example, is installed at > C:\Programme\Mozilla Firefox\firefox.exe > Note that even though I accepted the default installation directory, > it's still not the same, because I have a German Windows. That doesn't > even take into account my Linux computers, where the path is completely > different (/usr/share/firefox/lib/firefox-bin I think). > > That said, Mozilla seems to require the -url switch to actually load an > URL, so I think your FireFox call should look like this: > > > > > > Sebastian Redl > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org