Re: Dependencies between two subdirectories

2004-03-12 Thread Matt Benson
--- Baz <[EMAIL PROTECTED]> wrote: > If subdirectory A depends on the classes from > subdirectory B, then how can > I > use ant to do it? Maybe you want to go up a level, make A and B subprojects of some "AB" project, then have A depend on B at that level, using . -Matt _

Search log file and get rows above and below search "hits"

2004-03-12 Thread Mario Manfre
As part of a process to check and report on errors I pass into a target a file to ${file}. I then process the file looking for a given regular expression ${string}. If there is a "hit" on this then I generate an e-mail message stating that an error was found in the log and send the log file. Wh

Dependencies between two subdirectories

2004-03-12 Thread Baz
All, I try to look for an answer and have not heard anything back, so here I go again... Please help. What is the correct way to do the followings? If subdirectory A depends on the classes from subdirectory B, then how can I use ant to do it? The build.xml in src directory is building B then A

RE: migrating from jlink to jar

2004-03-12 Thread Jan . Materne
> We have an ant build file that uses jlink to create a single > jar of all the > thirdparty jars we compile with (for deployment). > > The ant build file defines a thirdparty classpath as a series of path > elements, this is referred to in both the javac and jlink tasks. > > I would like to swi

migrating from jlink to jar

2004-03-12 Thread PERRY, Jonathan, FM
We have an ant build file that uses jlink to create a single jar of all the thirdparty jars we compile with (for deployment). The ant build file defines a thirdparty classpath as a series of path elements, this is referred to in both the javac and jlink tasks. I would like to switch to using the

RE: Use of environment properties

2004-03-12 Thread Jan . Materne
Have you thought about using the implementation in your task? Jan > -Original Message- > From: Christophe Demarey [mailto:[EMAIL PROTECTED] > Sent: Friday, March 12, 2004 11:09 AM > To: Ant Users List > Subject: Re: Use of environment properties > > > Hi, > > I want to launch an appli

Re: Use of environment properties

2004-03-12 Thread Christophe Demarey
Hi, I want to launch an application (not a java application) that needs an environment property. In my Ant task, I have the following line : Runtime.getRuntime().exec( my_app ); my_app needs to access the environment variable LD_LIBRARY_PATH to find libraries. I need to set this variable in my

Re: Problem in using ftp with ant 1.6.1

2004-03-12 Thread Antoine Lévy-Lambert
RADEMAKERS Tanguy wrote: You need *both* the ant-commons-net.jar (came with the insect) and the commons-net.jar (did not come with the insect) to do ftp. And the jakarta-oro jar, which also does not come bundled with ant. For work with Microsoft FTP server, recent versions (CVS HEAD) of commons

Re: Windows carriage returns when copying with filter

2004-03-12 Thread Peter Reilly
I do not know if this was responded to, but ant 1.6+ has modified the filter copy to stop adding window-style carriage returns in this case. Peter [EMAIL PROTECTED] wrote: Using verion 1.5.4 on Windows NT, when running a copy using a filter, it would appear that the Windows-style carriage returns