Re: Spawning a java call in a new command shell

2005-05-19 Thread Alexey N. Solofnenko
Brain is working faster than fingers I meant that you will to need to add "pause" at the end of your command for the window to remain opened. - Alexey. Alexey N. Solofnenko wrote: On Windows you can execute 'cmd /c start "Window title" command', on Unix ('pwd' is usually executed on Unix) it

Re: path to ant

2005-05-19 Thread THUFIR HAWAT
On 5/19/05, THUFIR HAWAT <[EMAIL PROTECTED]> wrote: > "Unix (bash) > > Assume Ant is installed in /usr/local/ant. The following sets up the > environment: > > export ANT_HOME=/usr/local/ant > export JAVA_HOME=/usr/local/jdk-1.2.2 > export PATH=${PATH}:${ANT_HOME}/bin" >

Re: Spawning a java call in a new command shell

2005-05-19 Thread Alexey N. Solofnenko
On Windows you can execute 'cmd /c start "Window title" command', on Unix ('pwd' is usually executed on Unix) it can be done by executing "xterm ...". You will also pause at the end, so the window is not closed. - Alexey. Brian Kuhn wrote: I think this is more of a windows than an ant question;

RE: Ant Task: sshexec

2005-05-19 Thread S I
Thank you Rob. Just as I suspected. I'm asking our unix group to change my permissions. Thanks again. Steven Original Message Follows From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users List" Subject: RE: Ant Task: sshexec Date: Thu, 19

RE: Ant Task: sshexec

2005-05-19 Thread Anderson, Rob (Global Trade)
Not possible. The sshexec task was not designed for any interactivity. You should configure sudo to allow you to execute the command without a password. -Rob A > -Original Message- > From: S I [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 19, 2005 5:26 PM > To: user@ant.apache.org > Su

RE: Ant Task: sshexec

2005-05-19 Thread S I
I've run into a new problem with sshexec: How can I pass 'sudo' and its password to it? I've tested it in couple of different ways today to no avail. Help please! Thank you. Steven Original Message Follows From: "S I" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: user@ant.apache

Is it possible to override default attribute values for Ant tasks?

2005-05-19 Thread Kumar, Pankaj
Hi, I have a main Ant script which invokes a number of other scripts using "ant" task. These scripts invoke "javac" task without specifying any value for attribute "debug" (so the default value "off" is used). I would like to change the default of "off" to "on" for all javac invocations wit

Re: Spawning a java call in a new command shell

2005-05-19 Thread Brian Kuhn
I think this is more of a windows than an ant question; Does anyone know if it's possible to create a new window when spawning a cmd command? For instance, I'd like to have the following exec task create a new cmd window so I can see the results. This is an example: Thanks, Brian

RE: Ant Task: sshexec

2005-05-19 Thread S I
Ah great thanks. Why didn't I think of that? :) Original Message Follows From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users List" Subject: RE: Ant Task: sshexec Date: Thu, 19 May 2005 15:30:25 -0700 MIME-Version: 1.0 Received: from mail.apac

RE: Ant Task: sshexec

2005-05-19 Thread Anderson, Rob (Global Trade)
Separate the commands with a ; -Rob A > -Original Message- > From: S I [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 19, 2005 3:01 PM > To: user@ant.apache.org > Subject: Ant Task: sshexec > > > How can I get sshexec to pass it more than one command at a time? > > usern

Ant Task: sshexec

2005-05-19 Thread S I
How can I get sshexec to pass it more than one command at a time? I used it to run command on our unix server from my winxp desktop. However, it seems I have to instantiate many of these ... .. just to run 1 cmd @ a time. I tried + it attribs to no avail as you guessed it. Help! Thanks

RE: How to open URL from ANT.

2005-05-19 Thread Matt Benson
I just learned otherwise by more carefully analyzing the history of the get task. For builds running on Sun JVMs with Ant versions prior to 1.6.3, authentication probably worked. These versions of Ant would try to use Sun's BASE64 encoder; beginning in 1.6.3 the get task's own (incorrectly implem

Properties manipulation

2005-05-19 Thread George Dibi
All, Can someone help figure this out? Xml file Content of build_stdapps.properties is below. BUILD_VIEW=ccadm_cmlab178_ld2 label.product=stdapps XADEVVOB_VER=1.0 XADEVVOB_BLD=016 --

Re: path to ant

2005-05-19 Thread THUFIR HAWAT
On 5/19/05, Peter Reilly <[EMAIL PROTECTED]> wrote: > cat /etc/ant.conf [EMAIL PROTECTED] ~]$ cat /etc/ant.conf # # ant.conf (Ant 1.6.x) # JPackage Project # # Validate --noconfig setting in case being invoked # from pre Ant 1.6.x environment if [ -z "$no_config" ] ; th

Re: Problem with task

2005-05-19 Thread Ninju Bohra
Found that the cause is that the ANT task appears to have a size limit. There was an existing Bugzilla entry (http://issues.apache.org/bugzilla/show_bug.cgi?id=34241) regarding the size issue. I have updated it with the information I found (basically, Red Hat ES 3.0 CAN handle file size, it

Re: Use of zipfileset

2005-05-19 Thread Antoine Levy-Lambert
Hello Archit, > --- Ursprüngliche Nachricht --- > Von: <[EMAIL PROTECTED]> > An: > Betreff: Use of zipfileset > Datum: Thu, 19 May 2005 18:15:59 +0530 > > Hi > > I have to create a jar that includes other external jars. I want those > external jars to be present in the classpath. > For this I

Ant 1.6.4 released

2005-05-19 Thread Antoine Lévy-Lambert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have the pleasure to annouce the release of Ant 1.6.4. This is a bug fix release, including fixing of a bug affecting javah and another affecting directory scanning activities. In one or two hours, the release will be visible on our web site. C

Use of zipfileset

2005-05-19 Thread ArchitP
Hi I have to create a jar that includes other external jars. I want those external jars to be present in the classpath. For this I am using the task. But the problem with the 'src' attribute of is that I can mention just one jar in the src attribute. But I have to include jars from a "lib" dire

Problem with the defined collection.

2005-05-19 Thread Siwiec, Tomasz
Dear All, I have a problem with my own collection of objects that I pass to my task. I have a AntFileInfoSet collection that store AntFileInfo objects (both of them inherits from ProjectComponent). The AntFileInfoSet looks like that: public class AntFileInfoSet extends ProjectComponent { priv

Re: ANT Configuration

2005-05-19 Thread Antoine Levy-Lambert
Hello, there is a conflict between the ant classes in the weblogic.jar and the ant classes in ant.jar. one solution : - make yourself an expurged version of weblogic.jar without the ant classes in it. - and put this expurged version in $ANT_HOME/lib, - then unset your CLASSPATH when you use ant

Re: ANT Configuration

2005-05-19 Thread Peter Reilly
tushar S Kulkarni wrote: Yes classpath has weblogic.jar file? but weblogic.jar file is necessary for ANT? weblogic.jar contains weblogic ant tasks, but it also contains an old implementation of ant. In particular it contains the class org.apache.tools.ant.Main. The laucher class in ant 1.6.*

RE: How to open URL from ANT.

2005-05-19 Thread Nir Geier
So if i understood u correctly (Imm using ant 1.6.3) it shouldnt work. Nir. -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 5:27 PM To: Ant Users List Subject: Re: How to open URL from ANT. --without a doubt. on Ant < 1.6.4 should not work

Re: Re: ANT Configuration

2005-05-19 Thread tushar S Kulkarni
 Yes classpath has weblogic.jar file? but weblogic.jar file is necessary for ANT? On Thu, 19 May 2005 Peter Reilly wrote : >Does your CLASSPATH contain weblogic.jar? >Peter > >tushar S Kulkarni wrote: > >>Hi, >>Thanks for your replies, My OS is Win 2000 professional, After setting path >>to bi

Re: path to ant

2005-05-19 Thread Peter Reilly
cat /etc/ant.conf Peter THUFIR HAWAT wrote: "Unix (bash) Assume Ant is installed in /usr/local/ant. The following sets up the environment: export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/local/jdk-1.2.2 export PATH=${PATH}:${ANT_HOME}/bin"

Re: ANT Configuration

2005-05-19 Thread Peter Reilly
Does your CLASSPATH contain weblogic.jar? Peter tushar S Kulkarni wrote: Hi, Thanks for your replies, My OS is Win 2000 professional, After setting path to bin dir and classpath to lib dir the previous error ant is not recognizedcommand is gone but I am getting following error: java.lang.Ins

Re: RE: Re: ANT Configuration

2005-05-19 Thread tushar S Kulkarni
Hi, Thanks for your replies, My OS is Win 2000 professional, After setting path to bin dir and classpath to lib dir the previous error ant is not recognizedcommand is gone but I am getting following error: java.lang.InstantiationException: org.apache.tools.ant.Main at java.lang.Cla