No, I haven't. I looked at the docs for includesfile and because it didn't
mention it thought that it wouldn't expand properties. I just tried it and
it worked great. Thanks!
I am still curious why the property didn't work, though...
-Original Message-
From: Matt Benson [mailto:[EMAIL PRO
Thanks for your suggestion! You are right, this would improve the
readability of the list file. But I'm still wondering why the property is
not working...
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 11:59
To: Ant Users List
Subject: Re: i
* Ant with Subversion *
ERROR:
Bad syntax or unknown instruction.
SOLUTION:
This is the Minimalist Mailing List Manager.
Commands may be either in subject of message (one command per message)
or in body (one or more commands, one per line). Batched processing starts
when subject either
You need to download the svnant from the subclipse team
(subclipse.tigris.org). I think there is also another svn ant package
somewhere.
_
From: Naveen Mamidi [mailto:[EMAIL PROTECTED]
Sent: Thursday, 3 March 2005 12:14 AM
To: user@ant.apache.org
Subject: Ant with Subversion
* Different
Hello Ralf,
I remember having had a strange similar problem, I think the style task
was trying to generate output for me twice, once properly and then with
a flat directory structure.
Can you search in bugzilla (http://issues.apache.org/bugzilla) to see
whether someone else has reported this bug
* Bad syntax or unknown instruction *
ERROR:
Bad syntax or unknown instruction.
SOLUTION:
This is the Minimalist Mailing List Manager.
Commands may be either in subject of message (one command per message)
or in body (one or more commands, one per line). Batched processing starts
when
I think somebody tried to two lists one on another and chose a wrong
email address in one of them.
- Alexey.
[EMAIL PROTECTED] wrote:
Can someone stop the spam from this thing?
--
/ Alexey N. Solofnenko
home: http://trelo
* Bad syntax or unknown instruction *
ERROR:
Bad syntax or unknown instruction.
SOLUTION:
This is the Minimalist Mailing List Manager.
Commands may be either in subject of message (one command per message)
or in body (one or more commands, one per line). Batched processing starts
when
Can someone stop the spam from this thing?
> -Original Message-
> From: Minimalist Manager [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 02, 2005 4:07 PM
> To: Ant Users List
> Subject: Bad syntax or unknown instruction
>
>
> * Ant Exception Error *
>
> ERROR:
> Bad syntax o
* Ant Exception Error *
ERROR:
Bad syntax or unknown instruction.
SOLUTION:
This is the Minimalist Mailing List Manager.
Commands may be either in subject of message (one command per message)
or in body (one or more commands, one per line). Batched processing starts
when subject either
* Ant Exception Error *
ERROR:
Bad syntax or unknown instruction.
SOLUTION:
This is the Minimalist Mailing List Manager.
Commands may be either in subject of message (one command per message)
or in body (one or more commands, one per line). Batched processing starts
when subject either
Right. The two conflict with each other. Linux is too helpful...
You can also use the --noconfig switch (specific to the Ant .sh startup
script, except it doesn't have the .sh extension) to bypass using the
default Ant config that came on the system. --DD
> -Original Message-
> From: Ande
Ah yes. Someone posted it to this list recently. Here is the relevent info...
Q: How do you get ant-1.6x (or versions later than 1.5.2-23) to work on
on RedHat ES 3?
A: Redhat ES 3.0 comes installed with ant 1.5.2. Even if you have your
PATH and ANT_HOME variables set correctly to a later vers
* Ant Exception Error *
ERROR:
Bad syntax or unknown instruction.
SOLUTION:
This is the Minimalist Mailing List Manager.
Commands may be either in subject of message (one command per message)
or in body (one or more commands, one per line). Batched processing starts
when subject either
I have heard that you need to uninstall the ant rpm that came with the distro
in order to use a different version. I have not confirmed this, but it might be
worth a try.
-Rob Anderson
> -Original Message-
> From: Dean N. Williams [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 02, 2
* Ant Exception Error *
ERROR:
Bad syntax or unknown instruction.
SOLUTION:
This is the Minimalist Mailing List Manager.
Commands may be either in subject of message (one command per message)
or in body (one or more commands, one per line). Batched processing starts
when subject either
Dear Ant community,
I am new to Ant and trying to build Ant 1.6.1 or 1.6.2. I am on a RedHat Linux Enterprise WS platform.
I am trying both methods of installation. That is,
apache-ant-1.6.1-src.zip
apache-ant-1.6.2-bin.tar.gz
Both methods result in the following error message.
./ant -version
E
* Capture Javac output *
ERROR:
Bad syntax or unknown instruction.
SOLUTION:
This is the Minimalist Mailing List Manager.
Commands may be either in subject of message (one command per message)
or in body (one or more commands, one per line). Batched processing starts
when subject eithe
I'm trying to use DefaultLogger and my implementation is shown below.
The log file is created but still empty after javac task run.
Any ideas?
Thanks
Project project = new Project();
DefaultLogger logger;
try {
logger = new DefaultLogger();
FileOutputStream fo = new Fi
* Capture Javac output *
ERROR:
Bad syntax or unknown instruction.
SOLUTION:
This is the Minimalist Mailing List Manager.
Commands may be either in subject of message (one command per message)
or in body (one or more commands, one per line). Batched processing starts
when subject eithe
I'm trying to work with DefaultLogger, and created this code:
Project project = new Project();
DefaultLogger logger;
try {
logger = new DefaultLogger();
FileOutputStream fo = new FileOutputStream(new File("build.log"));
logger.setOutputPrintStream(new PrintStream(fo
You may want to look at the Record task as well. You could probably
start one of those off programmatically. This will log to a file.
>
> Hi,
>
> I'm compiling some java files using an Ant project:
>
> Project project = createProject();
> Javac javac = (Javac) project.createTask("javac");
> ja
Right, I agree. However, in case you persist in the programmatic way,
have a look at BuildLogger and BuildListener, and how they are hooked up
to the Project. You could use DefaultLogger, setting the output and
error PrintStream to your file, achieving what you want. --DD
> -Original Message--
I would suggest writting a build.xml and running Ant, rather than programming a
class to do your compile. Then it becomes as easy as running a command and
capturing the output.
-Rob A
> -Original Message-
> From: Andre Dantas Rocha [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 02,
Hi,
I'm compiling some java files using an Ant project:
Project project = createProject();
Javac javac = (Javac) project.createTask("javac");
javac.init();
...
javac.perform();
And would like to capture the output messages in a log file.
How can I do that?
Thanks,
André
___
Have you tried simply using includesfile rather than
includes with your fileset? It should expand
properties and everything.
-Matt
--- David Resnick <[EMAIL PROTECTED]> wrote:
> I'm trying to include a list of files to delete in a
> text file which is read
> into a property (with properties exp
--- "Haiges, Sven, Vodafone Group R&D"
<[EMAIL PROTECTED]> wrote:
[SNIP]
> Does anyone know how I can simplay determine the
> byte-size of a file
> from ant and take that output and replace the
> occurrence of @size@ with
> the size determined?
Ant 1.6.3 (and recent nightly builds) will contain a
you could also let the project instance do logging ...
How to use Ant with Subversion.please
provide any example build .
Thanks,
Naveen Mamidi Intelliscan LimitedTel: +44 (0)1651 277000 Fax: +44 (0)1651
277010http://www.intelliscan.co.uk
Oldmeldrum Business Centre Colpy Way
Oldmeldrum Aberdeen AB51 0BZ
Can you post your task?
Are you 'ing the .exe file? If it's a service, the command to
start it would be "net start ServiceName" - not sure whether "net" is a
valid target for or whether it has to be started with "cmd" ...
Hope this helps
Keith
-Original Message-
From: Robert Lin [mailt
Hello,
I have a problem with the style task and a stylesheet that creates files
by its own. The stylesheet I use translates a docbook source file into a
help file structur for eclipse. It creates a "toc.xml" in the base dir
and a subdirectory "doc/" for the individual html files.
I use the follow
Hello,
I have a problem with the style task and a stylesheet that creates files
by its own. The stylesheet I use translates a docbook source file into a
help file structur for eclipse. It creates a "toc.xml" in the base dir
and a subdirectory "doc/" for the individual html files.
I use the follow
Sven,
--- "Haiges, Sven, Vodafone Group R&D"
<[EMAIL PROTECTED]> wrote:
>
> Does anyone know how I can simplay determine the
> byte-size of a file
> from ant and take that output and replace the
> occurrence of @size@ with
> the size determined?
This script does this:
http://marc.theaimsgroup.com/?l=ant-user&m=110418389806438&w=2
getting file size
Jan
> -Ursprüngliche Nachricht-
> Von: Haiges, Sven, Vodafone Group R&D
> [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 2. März 2005 11:14
> An: Apache Ant User List (E-Mail)
> Betreff: Replacing with F
Hi there,
this is related to the Filter Core Taks in Ant. It allows you to replace
occurrences like @size@ with a value like 1000. My problem is that I
need to determine the size of a jar file dynamically ( a previous ant
target creates this jar file) and then need to set the size of that file
in
David,
--- David Resnick <[EMAIL PROTECTED]> wrote:
> I'm trying to include a list of files to delete in a
> text file which is read
> into a property (with properties expansion) and then
> used in the includes
> property of a fileset in a delete task. For some
> reason when there are line
> break
37 matches
Mail list logo