with , you have to
define a subtask; doesn't require it:
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
-
nswer :p
Well, I may as well get up to it since the "kbuild way" is gaining
steam within the C/C++ community, so why not Java ;)
Thanks,
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 aven
ailure, you should
throw BuildException. If you do that and it doesn't work, I cannot
help any further I'm afraid :/
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue
nable to fail the entire build (i.e the main build file still says build
> successful when the child build file fails or custom task throws the
> exception)
>
How do you invoke other build.xml files? "Chained failures" work for
me, and I use .
--
Francis Galiegue
ONE2TEAM
Ingé
like to
silence:
won't help, since while it will record in a file, it will
also echo to stdout...
Any hints?
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond
r macro definitions can be overriden
(either within a task or within a file).
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
-
To u
rget.. Do i need
> to use condition for this??
>
Well, no, since if there's no file, there will be no iteration at
all... Hence my suggestion. A fileset can be empty.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
file known. I wanted to check whether *.txt is
> present or not.. if present execute a target..
>
> Can anyone please help me..
>
> Thanks in advance.
>
One option would be to use an appropriate and loop over it
with , but requires ant-contrib.
--
Francis Galiegue
ONE2TEAM
I
even if
this was far from being obvious in my first mail... By "Where should I
start to look if I want to create, say, a
condition", I meant where in the code should I start to
look. I have thrown an eye to the source, but without success so far.
Pointers appreciated ;)
--
Francis Galie
anExecute() method only appeared in Java 1.6 :(
If ant aims to stick to 1.4, or even 1.5, I'm SOL, I guess...
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue
I could fail earlier, finding that a given file is
just not executable at all...
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
whatever the OS, the value
is one and one argument only. No need to quote, since you use execve()
(under Unix like) or the equivalent in Windows.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue
>
>
>
> After execution of the above snippet i am getting the below error:
>
Don't use , as it will split the line attribute with spaces.
Use:
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
write:
from="\.old$" to=".new"
but:
from="'(.*)\.old$" to="\1.new"
(although for this particular case, you'd probably want to use a
globmapper instead).
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0
on be reviewed to say that the
regex must match all the filename. Simply telling "if the file name
matches the regex in from" is misleading.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@
force="yes"
> verbose="yes"
> >
>
>
>
>
Have you tried using instead of ?
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel
s in the help section to overwrite the
> previous version of ShellScripts.tar.
>
>
>
>
> basedir="shell"
> excludes="**/cvs/**"
> />
>
>
>
You can just the tarball before recreating it. Delete won't
fail if it can't find
that I can find.
> The error message appears to be coming from the first "property" statement.
>
>
>
>
>
> Any help would be appreciated.
>
No, it doesn't come from here. It comes from the find that you do a
of ant-contrib and don't have ant-contrib
file=blah.dmp
>
I think you meant to send that mail to another mailing list :p
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
--
On Tue, Oct 13, 2009 at 12:11, EetieD wrote:
>
> Hi all,
>
> I am using the 'for-statement' from Ant-Contrib. I have two questions about
> it:
>
> 1. Is it possible to stop within the for statement while it isn't ended yet?
Yes it is, with a "catch" - quite literally so:
On Mon, Oct 12, 2009 at 08:40, Francis GALIEGUE wrote:
[...]
>
> Let me be more precise about that.
>
> If I:
>
> echo t.xml | sed 's,xml$,txt'
>
> I get t.txt as an output. As expected.
>
> I know that Java's .matches() method on a String is a mis
On Mon, Oct 12, 2009 at 08:26, Francis GALIEGUE wrote:
> On Mon, Oct 12, 2009 at 07:00, Stefan Bodewig wrote:
>> On 2009-10-09, Francis GALIEG
On Mon, Oct 12, 2009 at 07:00, Stefan Bodewig wrote:
> On 2009-10-09, Francis GALIEGUE wrote:
>
>>
>
>>
>>
>>
>>
>>
>>
>
> means ma
d. So far, so good, that's what is expected.
But the second time, it is _also_ executed, and that is totally
unexpected. This has been verified with ant 1.6.5 and ant 1.7.1. If I
run ant -v, here's what I see in the output:
---
check:
[uptodate] t.xml added as txt doesn't exist.
---
On Fri, Oct 9, 2009 at 14:40, srinivas2828 wrote:
>
> tomcat path is /opt/apache-tomcat-5.5.27 only
>
Well then what Whatty said: spelling mistake. You wrote /op instead of /opt.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178
On Wed, Oct 7, 2009 at 16:33, Scot P. Floess wrote:
>
> Ha ha - me neither!
>
> A little misleading based upon the docs ;)
>
>
On the other hand, you may actually want to move directory d to
directory d1 (hence creating d1/d) when you use .
Maybe a task?
--
Francis
>
[...]
>
Attributes within macros are not properties!
You should use:
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f
Hello,
Unlike what the manual says, it doesn't know of all system properties.
I need to have the output of java.library.path in a property, how can
I do that without having to write a Java class (even though it would
be simple) or use
stribution.
I do this all the time with RPM: I build my packages only if necessary
(otherwise, that's dag.wieers.com - if you do use RPM, you should
throw an eye there), make a virtual package and all I have to do
afterwards is "yum -y install thevirtualrpmname". One command,
everythin
more information.
>
If you try to copy it to some other directory, say /tmp if you use a
Unix-like OS or C:\tmp if you use Windows, do you see the copied file
in the target directory?
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0
et exist at all?
You don't need to have a target just to define properties. Just define
them right below , it will make the file simpler (your clean
target won't depend on init anymore).
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +3
t to replace is
> build
> build=0998
>
> So how do do I take the value of build in file A and replace the value of
> build in file B.
> The values are changing constantly so the values are wildcard
>
> Thanks
>
Note that operation="=&quo
t; if it's 0 or false, then the mail is sent. And
the target would then read:
Comments?
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
7
On Mon, Sep 21, 2009 at 02:34, dr_pompeii wrote:
>
> Hello supareno
>
> Thanks for the reply, but no woek :-(
>
Try this:
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue R
way to add a variable set of params into an antcall?
>
> I hope someone can help. Thanks!
>
Use macrodef's , maybe? Untested, but you can try that:
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 6
ed putting the ant-contrib jars everywhere I can think of and it
> hasn't resolved. Any ideas?
>
> I am running on Snow Leopard and ant 1.7.0 that comes prebundled with OSX.
>
Is it actually a zip file? Try and do unzip -l /wherever/is/ant-contrib.jar.
--
Francis Galiegue
ONE2
On Mon, Sep 14, 2009 at 13:25, Steve Loughran wrote:
> Francis GALIEGUE wrote:
> ort is fairly quick.
>>>
>>> How can I diagnose the problem precisely? Can I use another XSL
>>> processor that will be faster than xalan-j2?
>>>
>>
>> Well,
ire it.
>
> thanks,
>
> Scott
>
There is , which can be very convenient at times.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
--
On Tue, Sep 8, 2009 at 21:03, Andy
Stevens wrote:
> 2009/9/8 Francis GALIEGUE :
>> On Tue, Sep 8, 2009 at 08:41, Andy
>> Stevens wrote:
>>> Hi,
>>>
>>> Is there an easy way to calculate an arbitrary relative path between two
>>> files?
>>&g
d then the delete does not work.
>
> Do you have some more magic to make it work on Windows as well?
>
There is WAY more simple:
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
ng like location="${src.dir}" basedir="${build.dir}" .../> Is there anything
> like this in one of the "extras" libraries, or some other easy way to
> achieve it?
>
>
You can use ant-contrib's :
--
Franc
what depends=""
existed in the original targets (but it does remember the if/unless).
This is how I understand it: ant has no "stack".
Well, that's a way to do things, but I don't see that as a
"programming language vs build system" analogy. Make pretty m
ents as an argument, though, so I don't know whether
it takes directories into account.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
--
ed the fact that
there's no need to call a from c, right?
So that would be:
a (from b) (from d):
b (from d):
c (from d):
d:
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2
bing. That is, if you do,
and you invoke target b, the output will be:
a:
b:
I'd prefer:
a (from b):
b:
And more generally:
t1 (from t2) (from t3):
or alike.
I have the habit to separate targets as much as I can and deeply nest
them. Such informatio
On Tue, Sep 1, 2009 at 15:31, Francis GALIEGUE wrote:
[...]
>
> I have the following setup:
>
> * running on CentOS 5, 64 bits;
> * using ant 1.6.5, packaged by JPackage;
> * using Sun's latest Java 6 (JVM + JDK), 32bit (yes, even though I run
> a 64bit OS, but I need t
On Tue, Sep 1, 2009 at 15:17, Francis GALIEGUE wrote:
> Hello everyone,
>
> I have
>
Argh, sorry, keyboard error caused mail to be sent way too soon. So,
I'll explain.
I have the following setup:
* running on CentOS 5, 64 bits;
* using ant 1.6.5, packaged by JPackage;
* using
Hello everyone,
I have
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
-
To unsubscribe, e-mail: user-unsubscr
interpolated by ant at all.
The only means of doing what you want is to write a shell script to
echo the value of the PATH environment variable.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Pa
quot;nocoverage" if check to the other target. That's one way
> to handle this issue.
>
OK, this is a clear enough explanation. I'm not really sure about the
"programming language vs build system" analogy, though ;)
I think I still don'
o.
What I had to write to accomplish what I wanted is:
Which is a lot more confusing. And I don't want to write an extra task
to check for the existence of the file I have to send via mail.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0)
id, it looks pretty much
counterintuitive to my eyes. If a property is dependent on the
(non)existence of a property and this property does/does not exist, I
don't expect this target to be executed at all.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33
execute, but both are executed!
Which means that the dependencies of a target are executed before even
any if="" or unless="" attributes are taken into account... This is
rather counterintuitive to my eyes. Is this really the expected
behaviour or is this a bug?
--
Francis Gal
file,
> or delete it completely? Then, it has to be configured inside the script,
> working with something like "ant > log.txt" does not work in my context.
>
>
For the task, you have the reallyquiet attribute. It's the
equivalent of the -Q option of the cvs co
"/>
>
>
> Since properties are immutable, if either of the first two available
> tasks sets the property, the later tasks won't do anything.
>
These tasks will also match on plain files!
To be safe, you should specify type="dir" to each tasks.
--
Fra
On Thu, Aug 20, 2009 at 15:04, wrote:
[...]
>
> I added that as in revision
> 806154.
>
I don't know the release schedule for Ant. What version will this
revision be available into, and when can I expect it?
Thanks in advance,
--
Francis Galiegue
ONE2TEAM
Ingénieur système
t;pure" ant solution?
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
-
To unsubscribe, e-mail: user-unsubscr...@ant.
On Thu, Aug 20, 2009 at 07:13, wrote:
> ...
>
It did the trick, thanks! I thought it would be more complicated than that...
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116
shell script, that
for this particular java task, we want a different JAVA_HOME and/or
JDK_HOME?
Thanks,
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116
On Fri, Aug 14, 2009 at 18:01, Francis GALIEGUE wrote:
> On Wed, Aug 12, 2009 at 18:48, Eric Fetzer wrote:
>> OK, so here's how I did it. It works at least... Can anyone think of a
>> better way (I think it's kind of ugly)?
>>
>
> This is a solution.
>
r classpath, you can:
This will define all tasks for you.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
-
To unsub
is
needed in the block.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
-
To u
#x27;ve done.
>
> My code is the next
Your code is not the problem. The problem is that you don't have the
ant-contrib jar in your classpath when you invoke ant.
There are two ways to do that. Unfortunately, I cannot tell you about
either right now.
--
Francis Galiegue
ONE2TEAM
Ingénie
This is not an easy problem, admittedly. It could be done with two
imbricated statements, but that would be an O(n^2)
algorithm. It may, or may not, be a problem, depending on the problem
size.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 1
server.
>
> Please give me direction
>
Set and export the CVS_RSH variable, for instance:
export CVS_RSH=ssh
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40
o has try/catch).
Note that while looks great, it has a huge drawback: its
output is a property, and properties are immutable. At least, they're
immutable with ant 1.6.x, I don't know for ant 1.7.x.
with a Fileset and I want to split the result and
> extract the path to move across the folders.
>
> I've looking for about this and I don't found anything and the tests which
> I've done don't get it.
>
> Thank you very much and sorry.
>
Can you give an ex
the property "file.found" if the file ${file.name} exists
> in the directory ${dir.to.search}. If the property "file.test" is set, the
> target "actual.target" will execute. Otherwise, that target will be skipped.
>
> What's nice about this is that
>
> With the fileset…. I’m locked. :S:S
>
I'd use ant-contrib's and if/then/else:
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0)
On Tue, Jun 30, 2009 at 23:19, Andy
Stevens wrote:
> On 26/06/2009, jscripter wrote:
>>
>> The main problem with this is that I don't want to keep track of which
>> symlinks to delete.
>> The tree I am deleting may have lots of symlinks.
>>
>> I realize that Java doesn't know about symlinks an
em entity. I've done this in the past already...
Ant has an task, but it's never cut it out for me. That was
with ant pre 1.6.5, I don't know whether the situation is any better
with more recent versions since I don't use this kind of mechanism
anymore.
--
Francis Galiegue
O
newlines in the command output:
>
Err...
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris
-
To u
preserved in the build.log property. do i need to massage
> the output before i give it to ant as a property?
> --
Why don't you just put commands in a script and pass the path to that
script as an argument?
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
/opt/jdk1.6.0_06, no JRE at all. So I was wondering where else could I look
> at so I can find where this JRE is set.
>
> Does anyone know where the method System.getProperty goes to get the
> java.home? Like a file or something like that??
>
What about JDK_HOME?
--
Francis Gali
Le Tuesday 12 May 2009 22:20:19 Francis Galiegue, vous avez écrit :
> Le Tuesday 12 May 2009 22:09:09 Richard, Troy, vous avez écrit :
> > I'm getting the following error message:
> >
> > MailLogger failed to send e-mail!
> > java.io.IOException: Unexpected reply to
down.
Are you dead sure that the mail domain you want to send mails to is actually
reachable from your machine?
--
Francis Galiegue
f...@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
One2team
40 avenu
ce (I use emma, not cobertura), the coverage is very dependent
from the way your classes are compiled. Do you have debug="true" in your
javac task?
--
Francis Galiegue
f...@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
One2team
40 avenue Raymond Poin
Use ant's with the environment attribute:
As you can see, you can source whatever your environment is with a given
prefix (here "env", it could have been anything else) and then access any
defined environment variable with ${env.}.
HOME is
b's try/catch.
Yes, ant-contrib again.
--
Francis Galiegue
f...@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
One2team
40 avenue Raymond Poincaré
75116 Paris
-
To unsubscribe, e-mail: us
, this is easy:
--
Francis Galiegue
f...@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
One2team
40 avenue Raymond Poincaré
75116 Paris
-
To unsubscribe, e-mail: user-unsubscr...@ant.
Le Thursday 07 May 2009 22:41:18 Michael Ludwig, vous avez écrit :
> Francis Galiegue schrieb am 06.05.2009 um 23:23:37 (+0200):
> >
> >
> >
> >
>
> I've become curious why one is supposed to write so many lines of code
> to generate a number, and
d the whole "xxIncrement" stuff with a single "increment" property. Had
you told it earlier... :p
Just kidding. Well done! And all the more a pity that I don't have the
necessary Java skills to pull up a patch set :(
--
Francis Galiegue
f...@one2team.com
Ingénieur système
Mo
stuff in my build files to a minimum. I only use var, math and
if/then/else, which is already a lot. The switch keyword is nice, too ;)
--
Francis Galiegue
f...@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (
sible.
Have fun!
-
but my guess is
that the stdin, stdout and stderr of the fork()ed process(es) are not set to
the current terminal. Hence, the INTR signal doesn't propagate to ant's
children.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2
like I did in the past ( when
ant-contrib is in the classpath already) ;)
The solution is in progress, and will be yours in an extensible enough
half-hour... I need to test it, but it makes good progress ;)
--
Francis Galiegue
f...@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +
you
did already. Expect "my way to do it" in an hour or so. I think you'll find
the simplification very attracting ;)
--
Francis Galiegue
f...@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
One2team
40 avenue Raymond Poincaré
75116 Paris
---
ave been looking for something similar in
> Ant, but I have yet to come across anything. I am using Ant v1.7.1.
>
ant-contrib has propertyregex. You can use it in this case. Here is an example
build file:
First is ${first}
Second is ${se
hild
> within an ivy:buildlist task.
>
> Any help would be appreciated!
>
I believe ant 1.7's is what you want. Not sure, though, since I'm
stuck with ant 1.6.5.
--
Francis Galiegue
f...@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Te
Le Saturday 02 May 2009 10:50:06 Francis Galiegue, vous avez écrit :
> Le Friday 01 May 2009 19:46:14 Eric Fetzer, vous avez écrit :
> > So to make it work, here's what I had to do. Seems like an awful lot of
> > work to accomplish something simple like this.
>
> [...
jor.number and minor.number, but you get the idea.
--
Francis Galiegue
f...@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
One2team
40 avenue Raymond Poincaré
75116 Paris
-
To unsubscribe, e-mail:
Le Thursday 30 April 2009 20:54:24 xak, vous avez écrit :
> First off, I am very new to using ANT and I'n not a Java developer but my
> needs are very simple ...
>
> I am creating a web site that is decently large but it must be static. So
> I'm thinking that I can develop the site locally using se
Le Wednesday 29 April 2009 20:25:01 Francis Galiegue, vous avez écrit :
>
> You don't need numerical arithmetic for this (if you need it anyway, have a
> look at ant-contrib's task). You can use plain ant:
>
>
>
>
>
anyone know if ant
> support such feature? Thank you very much in advance!
You don't need numerical arithmetic for this (if you need it anyway, have a
look at ant-contrib's task). You can use plain ant:
ion... Generate an XML report with
, then to apply a stylesheet which sums all tests,
failures and errors, and then on the generated file. It works!
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Po
;ll have to tweak the JUnit source code...
Thanks,
--
Francis Galiegue
f...@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
One2team
40 avenue Raymond Poincaré
75116 Paris
-
To unsubscribe, e-mai
ere another way (an extended task somewhere) that can
output these results in, say, properties?
Have fun,
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poinc
Le Tuesday 07 April 2009 14:54:20 S G, vous avez écrit :
> Hi,
> How to increase the memory while running the ant task.I am getting
> OutOfMemoryError.I am not using javac task,for which i know how to
> increase. Thanks for the help.
export ANT_OPTS="-Xmx $ANT_OPTS"
arse(p, buildFile);
> p.executeTarget(p.getDefaultTarget());
> p.fireBuildFinished(null);
> } catch (BuildException e) {
> p.fireBuildFinished(e);
> }
>
> }
>
Use System.exit().
--
Francis Galiegue
tch file, but I
don't know how to set them for a particular user, though.
Oh, and if you find a way to set the environment variable, do not forget that
if the ssh command is not in your path, you _must_ put the full path to it in
CVS_RSH.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +
1 - 100 of 125 matches
Mail list logo