On 17/10/06, Chavdar Botev <[EMAIL PROTECTED]> wrote:
Hi!
I've come accross the following problem trying to compile Java 5
classes with generics using Ant 1.6.5. I've attached project
with sample Java classes and a build.xml file.
NOTE: Please create a src/test subdirectory and save the attach
Very interesting stuff. I will definitely use your tasks for my own
build files. It would be very nice if your tasks were added to
Ant-1.7. Any luck with that so far?
I actually did come up with a solution to my problem, though. I need
to be able to add path elements on the fly via the t
maybe [1] can help you with diagnostics.
rainer
[1] http://enitsys.sourceforge.net/ant-classloadertask/
> -Original Message-
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 16, 2006 10:24 PM
> To: Ant Users List
> Subject: Re: ant and classloading
>
>
> Quotin
David,
You may want to try the to bring back the value from a
Later,
Ninju
- Original Message
From: David <[EMAIL PROTECTED]>
To: Ant Apache User Group
Sent: Monday, October 16, 2006 11:30:17 AM
Subject: How to preserve a property assigned via antcall on main build process?
D
Thank you Mat
That was exactly what I was looking for.
Christian
Mathieu Champlon wrote:
Christian Hauser a écrit :
Hello
I'd like to check within an Ant target whether a particular file
already exists on the disk and if not download the file (using the Get
Ant task).
How do I best check
Christian Hauser a écrit :
Hello
I'd like to check within an Ant target whether a particular file
already exists on the disk and if not download the file (using the Get
Ant task).
How do I best check if the file already exists?
Any help (preferably with a small code snippet) is appreciated.
Hello
I'd like to check within an Ant target whether a particular file already
exists on the disk and if not download the file (using the Get Ant task).
How do I best check if the file already exists?
Any help (preferably with a small code snippet) is appreciated.
Thanks in advance,
Christi
Hi!
I've come accross the following problem trying to compile Java 5
classes with generics using Ant 1.6.5. I've attached project
with sample Java classes and a build.xml file.
NOTE: Please create a src/test subdirectory and save the attached
.java files into it. The mailing list server gave me
Hi Antoine, thanks a lot for the reply!
I actually solved the problem using the task! I'll keep those other
possibilities in mind, they might come in handy ;)
Marcelo.
On 10/16/06, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:
Hello Marcelo,
setting an environment variable from ant is pos
Quoting Peter Reilly <[EMAIL PROTECTED]>:
> On 10/16/06, Jacob Kjome <[EMAIL PROTECTED]> wrote:
> >
> > I'm not sure this is 100% an Ant question, but it is within the context of
> Ant.
> >
> > In my Ant task, I'm loading up a class using Class.forName() and pass
> > in a classloader that I would
Hello Marcelo,
setting an environment variable from ant is possible using the exec task. Using
a nested element (see the doc). The new environment variable is only visible
for the one particular program started by the exec task.
similarly, the task can set env vars, this only when you fork jav
I need to set the PGPASSWORD enviroment variable in a ant project, however I
don't know how could I do it... should I use the exec task?
Ok, sorry! I should have read the documentation before...
Thanks for the info ;)
Marcelo.
On 10/16/06, Joel Klein <[EMAIL PROTECTED]> wrote:
Marcelo de Moraes Serpa wrote:
> The question is:
> * How could I possibly retrieve the system current date and use it to
> make a
> new directory?
The
Marcelo de Moraes Serpa wrote:
The question is:
* How could I possibly retrieve the system current date and use it to
make a
new directory?
The tstamp task with the format nested element does this. Read its
documentation for more help, but here's an example :
No
Hi List,
I'm developing a backup routing with ant, and I need to create the backup
folder based on the current date.
The question is:
* How could I possibly retrieve the system current date and use it to make a
new directory?
Thanks in advance,
Marcelo.
I want to create a javadoc for 6 to 7 project.
Am able to create separately. I want these to be in the same index file.
AFAIK, you cannot "merge" independent Javadoc runs. No one has created
a tool for this that I'm aware of. You must run a single Javadoc run,
with all sources (even from differ
Do you have any idea about how to solve this problem?
1) Simply add the unless ="target.var" directly to compute-target.var,
if the latter doesn't have any dependencies (or copy the content of
compute-target.var to target.pre).
2) Convert compute-target.var to a macro, which share the Project
On 10/16/06, David <[EMAIL PROTECTED]> wrote:
Dear members,
I am figthing for avoiding to use from ant contrib lib, but I guess for
solving this problem there is no other solution.
I have the following targets:
...
Note: From working properly this target I need to compute the proper
I completely agree. I too fought the urge to use ant contrib for the
same reasons (I was bent on stock ant). But, if you use ant like you
might use a shell script, ant contrib makes perfect sense. Its a
"small" dependency andmake your build.xml much cleaner and easier to
understand.
Vishal
I used to be in the same boat sometime back, where I thought using
ant-contrib is building too many external dependency.
Over time I've realized that Ant-contrib is very stable and complements
Ant very well. If you need to use 'if', then use 'if'. Don't fight it,
otherwise you will end up with
Dear members,
I am figthing for avoiding to use from ant contrib lib, but I guess for
solving this problem there is no other solution.
I have the following targets:
...
Note: From working properly this target I need to compute the property
target.var.value (and this
Hello,
how do you run this programatically ?
one common source of null pointer exceptions in Ant API use is to forget to set
a project reference on task objects or datatypes. The null pointer exception
happens then as soon as the task or the datatype tries to log something.
if you have a NPE w
> But whats the reason to sticking to Xerces 2.6.2 ?
Like I said: its just been upgraded.
I think you forgot to update WHATSNEW steve. Thanks, --DD
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Dont know that task, but I have doubts using the leading "/" on the bundlepath
value ...
Jan
>-Ursprüngliche Nachricht-
>Von: tharanga wijethilake [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 16. Oktober 2006 16:41
>An: Ant Users List
>Betreff: How to resolve a NullPointerException
>
>H
Hi all,
I am tring to run this Ant file using a java program.
When I run this using "Ant run" option provided in eclipse it runs with out any
trouble.
but when I try to run prgrammtically it gives a null pointer. Please Could
someone tell me how am i supose t
Prashant wrote:
Steve Loughran wrote:
Prashant wrote:
Is there any reason why ANT 1.7 still distributes Xerces 2.6.2 in its
lib [1] ? While the current release version of Xerces is 2.8 with
support for DOM Level 3, Schema Validation, Not to mention the bug
fixes.
As of 30 seconds ago, it d
Steve Loughran wrote:
Prashant wrote:
Is there any reason why ANT 1.7 still distributes Xerces 2.6.2 in its
lib [1] ? While the current release version of Xerces is 2.8 with
support for DOM Level 3, Schema Validation, Not to mention the bug
fixes.
As of 30 seconds ago, it distributes v 2.8.
Prashant wrote:
Is there any reason why ANT 1.7 still distributes Xerces 2.6.2 in its
lib [1] ? While the current release version of Xerces is 2.8 with
support for DOM Level 3, Schema Validation, Not to mention the bug fixes.
As of 30 seconds ago, it distributes v 2.8.1. Version 2.6.2 does do
mmmh with multiple s pointing to their dirs?
Jan
>-Ursprüngliche Nachricht-
>Von: RAMADOSS Padhmapriya [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 16. Oktober 2006 11:01
>An: user@ant.apache.org
>Betreff: creating javadoc
>
>Hi,
>
>
>
>I want to create a javadoc for 6 to 7 proje
Hi,
I want to create a javadoc for 6 to 7 project.
Am able to create separately. I want these to be in the same index file.
Can any one give me solution for this.
Regards,
PriyaRamadoss.
Confidentiality Statement:
This message is intended only for the individual or entity to which it
James Abley wrote:
Steve Loughran wrote:
Hans Schwaebli wrote:
At least you should have released quickly a Ant version with built in
support for JUnit 4.
Alternatively, "Junit4 should have been backwards compatilbe with the
previous version. See point (1)
+1
To add another thing to con
On 10/16/06, Jacob Kjome <[EMAIL PROTECTED]> wrote:
I'm not sure this is 100% an Ant question, but it is within the context of Ant.
In my Ant task, I'm loading up a class using Class.forName() and pass
in a classloader that I would have expected to be assigned as the
classloader for the class.
Steve Loughran wrote:
Hans Schwaebli wrote:
At least you should have released quickly a Ant version with built in
support for JUnit 4.
Alternatively, "Junit4 should have been backwards compatilbe with the
previous version. See point (1)
+1
To add another thing to consider, perhaps the
Hans Schwaebli wrote:
Why does it take so long to finish the next version of Ant?
1. we go through a rigorous beta test phase as it is the best way of
making sure you havent broken anything. Even so, we know that lots of
people will not touch it until version 1.7.0 ships, and there will be a
Everywhere i go, i see that there is a lot of people (like me) thinking that
the existing build tools are extremely useful (ant in first;-) ). But still,
a lot of people think that something else should be possible.
I have thus started a forum in order to collect info from the "builder
community"
35 matches
Mail list logo