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
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
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
>
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
[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:
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
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
> 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
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
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
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
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());
> -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
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
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
?
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
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";, "
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
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
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-
>
20 matches
Mail list logo