RE: FileSet as a command line argument

2001-09-17 Thread Shankar Unni
Title: RE: FileSet as a command line argument Peter Donald [mailto:[EMAIL PROTECTED]] writes: > On Tue, 18 Sep 2001 09:55, Azariah Jeyakumar wrote: > > How do I pass a set of file names as a command line > > argument in tasks such as "java" or "exec"? > > > > > >

RE: converting a file reference to a URL

2001-09-17 Thread Shankar Unni
Title: RE: converting a file reference to a URL Doesn't this sound like a possible enhancement to ? Maybe with targetos="url", or some such hack? Unfortunately, strips out drive letters, so it's not usable by itself. > -Original Message- > From: Jim White [mailto:[EMAIL PROTECTED]

RE: How can I create a zero length file

2001-09-07 Thread Shankar Unni
Title: RE: How can I create a zero length file Not true.   works just fine on NT as well.  Of course, it won't *truncate* an existing non-zero-length file - if you need to do that, you need to use the "" trick. > -Original Message- > From: Ross Cormier [mailto:[EMAIL PROTECTED]]

Problem with in Ant 1.4

2001-09-06 Thread Shankar Unni
ted (for some reason, seems to want to recompile the original source file for the class I'm rmic'ing). (Of course, in 1.3, it used to simply leave some of the generated files in the "base" directory, but 1.4 seems to swing too far in the other direction..) My workaround for t

and trash symlinks?

2001-08-22 Thread Shankar Unni
that indicates any fix in this area, but I'm guessing this has to do with Java not knowing how to create or manipulate symbolic links.. Is there *any* way to do this without forking off an external "zip" or "tar" task? -- Shankar Unni    IntruVert Networks, Inc. [EMAIL PROTECTED]   (408) 434-8311

RE: Conditionals

2001-08-22 Thread Shankar Unni
Title: RE: Conditionals > I'd like to do > trueantcall="some_target" falseantcall="another_target"/> > What's the closes thing I can do to this in Ant?           ...     ...  

RE: Setting a property based on the OS

2001-08-20 Thread Shankar Unni
Title: RE: Setting a property based on the OS Here's a fragment from one of my files:       ...       depends="installprep,installwin,installlinux,installsol"/>       ... ...       if="Windows 2000.install"   unless="action.notrequir

RE: running daemons

2001-08-03 Thread Shankar Unni
Title: RE: running daemons Unfortunately, Java doesn't provide such a primitive.  Runtime.exec() always waits for its child, and worse (if you're trying to create a daemon) it creates a stdin/stdout two-way "pipe" between the parent and child so that they can talk to each other. However, I'm

RE: task support for JOnAS?

2001-07-27 Thread Shankar Unni
Title: RE: task support for JOnAS? Eric Richardson [mailto:[EMAIL PROTECTED]] writes: > > Does anyone have EJB tasks defined/implemented for the JOnAS app > > server? (E.g. for invoking GenIC, etc.?) > > Somebody did this along time ago so Jonas should come with ant and the > genIC task.

RE: target as a property

2001-07-26 Thread Shankar Unni
Title: RE: target as a property > -Original Message- > From: Mike Deibler [mailto:[EMAIL PROTECTED]] > Subject: Re: target as a property > > Can we quantify the number of people who really want these features? We'll never get this resolved this way. This is basically the old cathedr

task support for JOnAS?

2001-07-25 Thread Shankar Unni
Title: task support for JOnAS? Does anyone have EJB tasks defined/implemented for the JOnAS app server? (E.g. for invoking GenIC, etc.?) -- Shankar Unni    IntruVert Networks, Inc. [EMAIL PROTECTED]   (408) 434-8311

task strips permissions?

2001-07-23 Thread Shankar Unni
Title: task strips permissions? I just noticed that the task seems to strip out the "x" permission from the files it copies. Why? (1.3, on Linux, if it matters). I now have to put a to change the target permissions back. -- Shankar Unni    IntruVert Networks, I

RE: Exit Code

2001-07-20 Thread Shankar Unni
Title: RE: Exit Code Stefan Bodewig [mailto:[EMAIL PROTECTED]] writes: > > Does anyone know if the future builds of ant will include a valid > > exit code? > There already is a bug report to this extent, go and vote for it, or > even better, send a fix 8-) Here's one-line fix for NT/2000:

RE: spaces and path definition

2001-07-17 Thread Shankar Unni
Title: RE: spaces and path definition It's easier to just use the equivalent "short path". E.g. usually a name like "Program Files" will have a "short name" of "Progra~1". So you can say things like   C:/Progra~1/Someprod/path/to/dir To get this short name, use "dir /x" on the parent:   d

RE: UNC paths

2001-07-11 Thread Shankar Unni
Title: RE: UNC paths Again, the answer depends on whether you (or rather, the task in question) are interpreting that path inside Java code, or if you are spawning a shell to do something with that path. The default shell (CMD.EXE) on Windows NT insists on seeing the UNC path with backslashes

Re: FTP

2001-07-11 Thread Shankar Unni
Or you can write a wrapper around "ncftp": it will display a progress message on stdout while it's running, which is much more useful, since it has usable numbers in it, and doesn't overwhelm you like when you FTP a 10+ meg file and get 1+ #'s.. dave young wrote: > This is very petty, but i

RE: Accessing a directory on Unix

2001-07-09 Thread Shankar Unni
Title: RE: Accessing a directory on Unix Nico Seessle [mailto:[EMAIL PROTECTED]] writes: > What do you expect to happen? "mkdir //1.2.3.4/a/b/c" is an > invalid command on Windows NT. It's an invalid command *if you execute it inside CMD.EXE*. It's perfectly legal if you do it at the API

RE: Properties, scope and project hierarchies (an answer to the original question)

2001-07-06 Thread Shankar Unni
Title: RE: Properties, scope and project hierarchies (an answer to the original question) Kyle Adams [mailto:[EMAIL PROTECTED]] writes: > Right now there exists a workaround to the problem of > property scope.  Using the Antcall task, you can override a > property set in a "master" file, a

RE: over-riding properties and the concept of scope

2001-07-06 Thread Shankar Unni
th idref=xxx" would have no effect if the id was not defined, or some variant thereof..) Then, one could simply do a   and get the fine level of control desired - only the buildmaster would control the global path, but local build files could specify additional paths to be searched, and

RE: Properties, scope and project hierarchies

2001-07-05 Thread Shankar Unni
t the direction ant2 is taking, but even if it doesn't support all this out of the box, as long as there is a *way* to do all this (however clumsily), I'd be happy.. -- Shankar Unni.

Properties, scope and project hierarchies

2001-07-05 Thread Shankar Unni
files to the fileset used for the default jar rule. I.e. in addition to ${build}/**/*.class, I might wish to add an explicit manifest file, or images, or whatever, on a per-buildfile basis. I've been working over the documentation for a couple of days now, and can't see convenient ways to do any of this. Am I missing something here? -- Shankar Unni.