How do deal with and unix permissions on Unix?

2002-12-03 Thread Alexey Solofnenko
Without keeping executable bit ANT becomes not very useful on Unix. How do you replace to work correctly on Unix? - Alexey. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: FilterChains - grep and sed

2002-12-03 Thread Matt Benson
Good point. I got caught up in the term "filter" and didn't consider the situations when the effect of the filter was a transformation. That is the kind of thing I was looking for, an example of filter behavior that would be impossible to intelligently invert. Until now I have been unsure whethe

RE: FilterChains - grep and sed

2002-12-03 Thread Dominique Devienne
"replace bar by foo" ;-) So far, I fail to see use cases for inverse filters... --DD -Original Message- From: Stefan Moebius [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 3:04 PM To: Ant Users List Subject: Re: FilterChains - grep and sed Does this make sense for anything

Re: FilterChains - grep and sed

2002-12-03 Thread Stefan Moebius
Does this make sense for anything but removal filters? How would you expect the inverse of a "replace foo by bar" filter to work? Stefan --- Matt Benson <[EMAIL PROTECTED]> wrote: > An InverseFilterReader would do exactly the opposite > of a specified FilterReader. For example, the > StripJavaCo

Re: FilterChains - grep and sed

2002-12-03 Thread Matt Benson
An InverseFilterReader would do exactly the opposite of a specified FilterReader. For example, the StripJavaComments FilterReader in Ant strips away Java comments. An InverseFilterReader wrapping a StripJavaComments FilterReader would strip away everything BUT Java comments. I think implementati

Re: Setting environment for forked java process on Win XP

2002-12-03 Thread Steve Loughran
- Original Message - From: "Michael Kuß" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 03, 2002 3:08 AM Subject: Setting environment for forked java process on Win XP > hi, > > I try to start a java task from ant 1.5.1 on Windows XP. > > > > The Problem is that I n

Re: Setting environment for forked java process on Win XP

2002-12-03 Thread Michael Kuß
I've got it. will work. It was just a matter of the case of the path. Thanks Dominique, and the path="..." statement is also working with unix style path separator :-). I wonder if this is always the case with environment variables. If it works the same way for UNIX I have to define one statem

RE: Custom anttask classloader problem

2002-12-03 Thread Dominique Devienne
Look up the 'loaderef' attribute of in the doc. Also consider creating a properties file that defines all your tasks in one fell swoop, within the same classloader. --- com/xhive/anttasks/tasks.properties --- createlibrary = com.xhive.anttasks.CreateLibrary parse = com.xhive.anttasks.Parse ... P

RE: Setting environment for forked java process on Win XP

2002-12-03 Thread Dominique Devienne
We have discovered recently that the case of PATH matters quite a bit on our Win2K machines. We believe PATH should be defined with the same case in the environment and in Ant. Do a 'set' in DOS window, and look at the case of PATH there. Use the same case in Ant. Once we all had the path defined

Re: Ant 1.5.1 -- build.sysclasspath question

2002-12-03 Thread Jacob Kjome
This is a different issue. Since the optional.jar contains the junit taskdef, the JUnit.jar needs to be in the same classloader. Putting Junit.jar in ANT_HOME/lib will do the trick. Otherwise, you can put optional.jar inside your project along with Junit.jar, but you will have to define the

Custom anttask classloader problem

2002-12-03 Thread Jeroen Breedveld
Hi all, I created custom anttasks to perform common tasks on a database. The database has a java interface but the kernel is written in C++ so JNI is used to call functions in a windows DLL. The problem I have is that when more than 1 of those custom anttasks are used in 1 target I get the follow

Test

2002-12-03 Thread Ashuthosh Bhat
Test -- To unsubscribe, e-mail: For additional commands, e-mail:

Setting environment for forked java process on Win XP

2002-12-03 Thread Michael Kuß
hi, I try to start a java task from ant 1.5.1 on Windows XP. The Problem is that I need a dll (DLL1) to call some JNI stuff. This dll needs another dll (DLL2) not located in the PATH environment. I have tried to modify the PATH for my java task with The DLL2 is located in the ${rundir}/Clien

Ant 1.5.1 -- build.sysclasspath question

2002-12-03 Thread Meinolf . Schulte-Doeinghaus
Hi, I'm using ant 1.5.1. and tried to set the system classpath dynamically during build time. To do so I set the build.sysclasspath to "last" and add a pathelement to the project level. In addition I tried to set the "java.class.path" with a property tag in an init task, but at the end I get the

use different compilers?

2002-12-03 Thread kaan
hi, i´m new to ant... and i try to se different compilers. i need (/want) jsdk1.4 for my netbeans, but need to compile with jsdk1.3. can anybody tell me, how do i configure ant to use a given compiler, if JAVA_HOME is allready points to another jdk... best regards, kaan