AW: from fileset to property

2005-02-10 Thread Jan . Materne
or for more control about the delimiters Jan > -Ursprüngliche Nachricht- > Von: Marion, Patrick [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 11. Februar 2005 02:34 > An: 'user@ant.apache.org' > Betreff: from fileset to property > > Hello, > > I would like to loop (with in a

AW: capturing build output in Visual Studio .NET - enabling warni ng/error double clicking

2005-02-10 Thread Jan . Materne
Can you configure to start with "-e" option? Jan > -Ursprüngliche Nachricht- > Von: Jeff Shanholtz [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 11. Februar 2005 01:28 > An: user@ant.apache.org > Betreff: capturing build output in Visual Studio .NET - enabling > warning/error double c

AW: Problem Compiling

2005-02-10 Thread Jan . Materne
Another sound like JAVA_HOME points to JRE instead of JDK. A JDK contains a JRE plus development tools like javac and javadoc. Jan > -Ursprüngliche Nachricht- > Von: Alvaro Andrés Montañez [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 10. Februar 2005 15:40 > An: Ant Users List >

AW: problem with javadoc

2005-02-10 Thread Jan . Materne
Maybe JAVA_HOME points to a JRE instead of a JDK ... Jan > -Ursprüngliche Nachricht- > Von: Alvaro Andrés Montañez [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 10. Februar 2005 20:26 > An: Ant Users List > Betreff: problem with javadoc > > Hello, > > i´m tryng to create a javad

Re: AW: How can I set last modified date in html files using ant?

2005-02-10 Thread Luke Lindsay
[EMAIL PROTECTED] wrote: Hhmm - not easy ... 1) "iterate" over a fileset 2) check the date for each time 3) modify the files content hmm - maybe (pseudo code): 01: 02: 03: 04: 05: importClass(Package.java.io.File); 06: f = new File("@{file}"); 07:

from fileset to property

2005-02-10 Thread Marion, Patrick
Hello, I would like to loop (with in a target I don't really control and which expects "list="${this.property}"); "this.property" is a property I can set with a list of files. I'd like to have this list of files built at run time. I was hoping to use and translate "this.fileset" to "this.prope

capturing build output in Visual Studio .NET - enabling warning/error double clicking

2005-02-10 Thread Jeff Shanholtz
I'm running an ant build script from within VS.NET and capturing the output in the output window. Right now I am unable to double click an error or warning line in my build output (which normally would open that file to the line with the error/warning). The problem is that VS doesn't understand the

RE: How to?: add target dependencies

2005-02-10 Thread Dominique Devienne
> From: Mark Lundquist [mailto:[EMAIL PROTECTED] > > I've got several "modules" that I need to be able to build into various > projects. So what I think I'd like to be able to do is use > and then be able to just call out the modules like so: > > > > > > > The idea i

Re: How to?: add target dependencies

2005-02-10 Thread Matt Benson
Looks like your main question is how to accumulate, then iterate, over these modules. It looks as though ant-contrib has some helpful tasks. You could set a new property for each of your modules: module.foo=foo or whatever. Then it appears you could use ant-contrib's propertyselector task with

How to?: add target dependencies

2005-02-10 Thread Mark Lundquist
Hi, I've been using ant for some time, but I'm no expert. I just joined this list. And here's my question! :-) Actually, I can't even think how to phrase this question in any more general terms :-)... so I'll just describe specifically what I'm trying to accomplish (part of it will only make

problem with javadoc

2005-02-10 Thread Alvaro Andrés Montañez
Hello, i´m tryng to create a javadoc. this is the file: but, i get this error.. BUILD FAILED: ..\path\workspace\build.xml:32: Javadoc failed: java.io.IOException: CreateProcess: javadoc.exe -d "..\path\javadoc" -classpath "..\path\plugins\org.apache.ant_1.6.1\lib\ant.jar;..\pa

Re: AW: How can I set last modified date in html files using ant?

2005-02-10 Thread Nat Gross
Thank you, both. -nat Peter Reilly wrote: Personally I find beanshell to be easier to use than javascript (or the other scripting languages) as it's sytax is *very* close to java. import java.io.File; f = new File(filename); project.setProperty("date", "" + f.lastModified());

RE: Replacing tokens without token delimiters

2005-02-10 Thread LECONTE LaurentROSI/SICOR
> -Message d'origine- > De : Lieve Van den Heuvel [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 10 février 2005 14:25 > À : user@ant.apache.org; LECONTE LaurentROSI/SICOR > Objet : Re: Replacing tokens without token delimiters > > > Hi > > Have you tried the replace task? I've used it to

Problem Compiling

2005-02-10 Thread Alvaro Andrés Montañez
Hello, i´m trying to compile this project, but i get an error: can you help me please: where "folder", it´s a dir that contains src and build. this is the problem: folder\build.xml:16: Error running javac.exe com

Re: Replacing tokens without token delimiters

2005-02-10 Thread Lieve Van den Heuvel
TEXT.htm Description: Binary data Privileged Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you shoul

AW: Replacing tokens without token delimiters

2005-02-10 Thread Jan . Materne
? Jan > -Ursprüngliche Nachricht- > Von: LECONTE LaurentROSI/SICOR > [mailto:[EMAIL PROTECTED] > Gesendet am: Donnerstag, 10. Februar 2005 14:16 > An: user@ant.apache.org > Betreff: Replacing tokens without token delimiters > > Hello all, > > we've recently decided to replace all our sh

Replacing tokens without token delimiters

2005-02-10 Thread LECONTE LaurentROSI/SICOR
Hello all, we've recently decided to replace all our shell scripts with ant tasks, and I'm currently faced with the following problem: I need to replace arbitrary strings in a number of source files with different values, e.g. "http://www.foo.com"; would be replaced by "http://test.bar.net";, "

AW: AW: How can I set last modified date in html files using ant?

2005-02-10 Thread Jan . Materne
Ant uses the Apache BeanScriptingFramework (for short bsf), therefore any bsf-supported language can be used. My favorite is javascript, so my examples are written in js. The only reason: I know that in contrast to the other :-) Peter writes in bsh, sometimes in groovy ;-) I think we have some jy

Re: AW: How can I set last modified date in html files using ant?

2005-02-10 Thread Peter Reilly
Personally I find beanshell to be easier to use than javascript (or the other scripting languages) as it's sytax is *very* close to java. import java.io.File; f = new File(filename); project.setProperty("date", "" + f.lastModified()); Last modified is ${date} Peter Kei

RE: AW: How can I set last modified date in html files using ant?

2005-02-10 Thread Keith Hatton
http://ant.apache.org/manual/index.html Ant Tasks -> Optional Tasks -> Script Be careful about the library dependencies - exactly which version of BSF/Rhino you need will depend on which version of Ant you have (that link currently points to the 1.6.2 manual). Keith -Original Message- >