Re: Clarification - unless and/or if

2005-10-06 Thread Dominique Devienne
> I am using Ant 1.6.5 - can multiple properties be specified in the "if" > or "unless" attributes of a given target? No. > If this is not possible, what is the best practice for executing a > target if multiple conditions are met? I could do the following, but I > end up creating all kinds of e

Re: Import and Macro Warnings

2005-10-06 Thread Juergen Hermann
On Thu, 6 Oct 2005 15:22:12 -0400, Alan Gutierrez wrote: >Duplicated project name in import. Project mix defined first in >/Users/alan/svn/xopen/enfilade/mix/mix.ant.xml and again in >/Users/alan/svn/xopen/xstrategy/mix/mix.ant.xml >It's hard to imagine why I'd use the import fac

Re: Clarification - unless and/or if

2005-10-06 Thread Matt Benson
The approach you show below is "approved." -Matt --- "Rosenbaum, Thomas" <[EMAIL PROTECTED]> wrote: > Hello, > > I am using Ant 1.6.5 - can multiple properties be > specified in the "if" > or "unless" attributes of a given target? > > > > > > >... >

Clarification - unless and/or if

2005-10-06 Thread Rosenbaum, Thomas
Hello, I am using Ant 1.6.5 - can multiple properties be specified in the "if" or "unless" attributes of a given target? ... ... If so, is the relationship an "or" or an "and"? If this is not possible, what is the best practice for

Another classpath question.

2005-10-06 Thread Jane Young-Lau
Hi, I have a wrapper script that calls the ant script. This wrapper script defines some environments variables and the classpath. Say that the wrapper script has foo.jar set in the CLASSPATH. If there is a build.xml file that uses the typedef tasks like this: Say that the class, org.exam

Re: Import and Macro Warnings

2005-10-06 Thread Alan Gutierrez
* Alan Gutierrez <[EMAIL PROTECTED]> [2005-10-06 15:45]: > * Alan Gutierrez <[EMAIL PROTECTED]> [2005-10-06 15:22]: > > I want to use a set of macros across projects, but when I write > > scripts that integrate the builds, I start getting a lot of > > warnings, even though the build wor

Re: DirectoryScanner exclude subdirectories ?

2005-10-06 Thread Matt Benson
There is no need to exclude anything that wouldn't be included based on includes. So if you instantiate a DirectoryScanner and set its includes to {"*"} it will find every file and directory that lives immediately below the specified basedir. If you intend to use DirectoryScanner from code, there

Re: DirectoryScanner exclude subdirectories ?

2005-10-06 Thread Antoine Levy-Lambert
Gilbert Rebhan wrote: >Hi, > >Matt Benson wrote: > > >>I can't remember the entire context of this >>discussion... but includes/excludes are used by >>DirectoryScanner. To include only child "files" of >>basedir, the correct include pattern is "*". However, >>this includes directories which ar

Re: Import and Macro Warnings

2005-10-06 Thread Alan Gutierrez
* Alan Gutierrez <[EMAIL PROTECTED]> [2005-10-06 15:22]: > I want to use a set of macros across projects, but when I write > scripts that integrate the builds, I start getting a lot of > warnings, even though the build works fine. > > Duplicated project name in import. Project mix

Re: DirectoryScanner exclude subdirectories ?

2005-10-06 Thread Gilbert Rebhan
Hi, Matt Benson wrote: > I can't remember the entire context of this > discussion... but includes/excludes are used by > DirectoryScanner. To include only child "files" of > basedir, the correct include pattern is "*". However, > this includes directories which are basedir's > immediate children

Import and Macro Warnings

2005-10-06 Thread Alan Gutierrez
I want to use a set of macros across projects, but when I write scripts that integrate the builds, I start getting a lot of warnings, even though the build works fine. Duplicated project name in import. Project mix defined first in /Users/alan/svn/xopen/enfilade/mix/mix.ant.xml

Re: DirectoryScanner exclude subdirectories ?

2005-10-06 Thread Matt Benson
--- Gilbert Rebhan <[EMAIL PROTECTED]> wrote: [SNIP] > if i understand you right = > if i want to list files in rootdirectory > only, but exclude all dirs/files beyond rootdir, > using DirectoryScanner > ain't possible ?! > I can't remember the entire context of this discussion... but includes/exc

Re: DirectoryScanner exclude subdirectories ?

2005-10-06 Thread Gilbert Rebhan
Hi, Dominique Devienne wrote: >> String[] excludes = {"**\\**"}; > > > Never use back-slashes. It's not portable. > > To include only files and not dirs, you can use a selector. The > only problem is that it probably twarts the smarts added by Antoine in > directory scanner to not scan t

Re: AW: corrupt .png-files

2005-10-06 Thread Ron Wheeler
If you manually open the jar and extract the png's are they corrupted? Ron Wim Deprez wrote: On 10/5/05, Ron Wheeler <[EMAIL PROTECTED]> wrote: Just a wild thought. Have you told Eclipse that pngs are binary? Yes, I checked Eclipse: Window > Properties > Team > File Content ; and th

AW: AW: corrupt .png-files

2005-10-06 Thread Jan.Materne
>The only thing that happens to the pngs is that they get >JAR'ed in an archive together with some HTML's and such. I am >doing more "research", but if any help is most welcome. Have a look at the , and commands. Are there any nested s? Jan ---

Re: AW: corrupt .png-files

2005-10-06 Thread Wim Deprez
On 10/5/05, Ron Wheeler <[EMAIL PROTECTED]> wrote: > Just a wild thought. Have you told Eclipse that pngs are binary? Yes, I checked Eclipse: Window > Properties > Team > File Content ; and there I see: Extension | Contents ... | ... png | binary

Re: Java Source Cross-Reference

2005-10-06 Thread Ron Wheeler
If you want the real story on Doxygen and its features and shortcomings, you might want to visit the forum. [EMAIL PROTECTED] I had no trouble installing it on Windows. I integrated it into Eclipse with the eclox plug-in to give me a platform independent interface. I am sure that someone has

Re: Java Source Cross-Reference

2005-10-06 Thread Dominique Devienne
> Doesn't Doxygen do the same thing plus give you class diagrams all in > HTML or other formats? Maybe (although I've found doxygen to be non-trivial to configure when I tried it on a C++ project), but it's main drawback is that it's native code instead of Java, so doesn't integrate to a cross-pla

RE: Classpath issue

2005-10-06 Thread Burgess, Benjamin
The answer used to be to use attribute reverseLoader="true" on your taskdef defines the task. This tells it to search your classpath before ${ANT_HOME}/lib - however this attribute is now deprecated. This is a good opportunity to discuss the new method of doing this (as I was never really clear o

Logging questions

2005-10-06 Thread Allwicher, Klaus
Hi, I have some questions regarding the Log4J logging configuration of ANT, which I didn't get answered by any other resources: 1. I had a problem with the Log4J configuration. I got the error message: "Listener attempted to access System.out - infinite loop terminated" After some investigation

Re: Java Source Cross-Reference

2005-10-06 Thread Ron Wheeler
Doesn't Doxygen do the same thing plus give you class diagrams all in HTML or other formats? All with active deveopment and an active forum. Ron Alan Gutierrez wrote: * Brett Porter <[EMAIL PROTECTED]> [2005-10-03 20:18]: On 10/4/05, Dominique Devienne <[EMAIL PROTECTED]> wrote: The

RE: Classpath issue

2005-10-06 Thread duvelbier-tsmets
Chris, The CC does not use the ANT shipped with it (CC). The problem is the fact that ANT has an old version of 'a' library while I need a newer one Unless I missed a point in your answer ... ? \T, --- "Erskine, Chris" <[EMAIL PROTECTED]> wrote: > Rather than using ant within CC, use the ants

RE: Classpath issue

2005-10-06 Thread Erskine, Chris
Rather than using ant within CC, use the antscript attribute on the ant task. This will allow you to then use the version of ant that you install on your machine rather than the version that ships with CC. Chris Erskine EDS Consulting Services Colorado Springs, CO Phone: 719-265-5962 Cell: 7

Classpath issue

2005-10-06 Thread duvelbier-tsmets
Dear, The ant used by Cruisecontrole has a few library installed in the ${ANT_HOME}/lib There is a library that is of a very old version while I'd need a more recent version of the task. My project file defines its own path for ALL the targets it uses but ANT uses the library in its ${ANT_HOM

AW: Problem in building binary

2005-10-06 Thread Jan.Materne
A little bit more infos about your problem would help. Jan >-Ursprüngliche Nachricht- >Von: Vinod Chitrali [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 5. Oktober 2005 15:13 >An: user@ant.apache.org >Betreff: Problem in building binary > > > > >Dear . > I Vinod working