Yes but in the command copy and in classpath the path are relatives I need
a parameter which accepts absolute path in path.
Thanks
Rodolfo
___
"Roberto Juarez" <[EMAIL PROTECTED]>
06/04/2005 16:49
Por favor, responda a "Ant Users List"
P
I want to do two things. First I need to copy some file to another disk
unit, and put in the classpath some jar what are out of the base dir of
the ant.
Thanks
Rodolfo
___
Matt Benson <[EMAIL PROTECTED]>
06/04/2005 16:34
Por favor, responda a "Ant
Hi,
Thnaks for taking your time to answer. I seems like the parser is consuming all
the memory (see previous discussion with Ivan).
I did not even get to the transformation part. But your information could be
useful later on.
By the way how large are the individual xml files that you parse?
Ch
Hi,
Thanks for reply.
I will file a bug report since there are no constraints specified concering
size of files in the
task. How is the implemented?
I recall you saying that it uses a DOM tree. What is the reason for using a dom
tree? Is it possible to add an attribute to that
selects SAX
Hi Mikael,
We have had problems with junitreports in the past.
Here are a couple of things to look at.
Firstly the junitreport task merges the XML files in to one big file.
The file resides in the same directory as the xml files generated by
the junit task.
Is this file being generated? If it i
Hello,
The Ant doc says about the task:
"By default, all of the properties of the current project will be available
in the new project. Alternatively, you can set the inheritAll attribute to
false and only "user" properties (i.e., those passed on the command-line)
will be passed to the new projec
Hello,
I have a problem with cvs running with ssh from Ant.
Connecting to cvs directly from the commandline works as expected.
When I attempt the same cvs incantation running the cvs task from Ant it
just seems to hang.
The ssh.exe is invoked (my trusty firewall tells me that) but then nothin
On Apr 6, 2005 4:33 PM, Matt Benson <[EMAIL PROTECTED]> wrote:
> --- Dominique Devienne <[EMAIL PROTECTED]> wrote:
>
> > The scenario you describe seem to point to file
> > selectors. In Ant, you
> > usually don't loop on dirs, doing some conditional
> > processing within the
> > loop, you select
Thanks Daniel - works a treat:
- Daniel wrote :
Looks like Ant doesn't do the expansion that the shell does. This is OK
- I don't think it is supposed to. You can use the "apply" task and
specify the *.gz files as a fileset:
- Daniel
Euan Guttridge wrote:
>Hi
>
>Can
> I am thinking of filing a bug report. What do you
> think?
>
> I am aslo thinking of splitting my tests from many
> tests in a big file to few tests but more files.
> What do you think about that?
I didn't count exactly on how many xml files yoy
operate, but I feel that they are not too many,
JExamples.com is a new, free website that helps Java developers find
high quality example code for virtually any Java API. JExamples uses
sophisticated source analysis and a powerful search engine to find
examples in well known Java open source products (e.g. Ant, Tomcat).
The search results help
Hi,
there is an easy option. You may define an environment variable that holds your
absolute path and read the value of that variable. Easy.
Cheers,
Roberto.
> -Mensaje original-
> De: Matt Benson [SMTP:[EMAIL PROTECTED]
> Enviado el: miércoles, 06 de abril de 2005 16:35
> Para: An
--- Rodolfo García Esteban/CYII
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I need to specify a absolute path, not relative to
> base, how can I do?
Depends on the context. You will have to explain a
little more what you want.
-Matt
>
> Thanks
>
> Rodolfo
>
_
--- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> The scenario you describe seem to point to file
> selectors. In Ant, you
> usually don't loop on dirs, doing some conditional
> processing within the
> loop, you select all the files to process using
> s, which with
> selectors can do this select
--- Christoph Bugel <[EMAIL PROTECTED]> wrote:
> IIRC you can also supply the args separately,
> instead
> of using line=.
>
s/can/should/
-Matt
>
>
__
Do you Yahoo!?
Yahoo! Personals - Better first dates. More second dates.
http://person
> From: Fermin Da Costa Gomez [mailto:[EMAIL PROTECTED]
> Maybe i did not explain my requirement well enough.
> The thing is that i am looping through a series of dirs and *if* they
> contain 1 or more TestStubs they need to be put in a suite.
> ...
> delimiter="${path.separator}" />
> ...
>
>
>
Hi,
With noframes it got even worse:
JVM_OnLoad called...
JFluid: waiting for connection on port 5140
JFluid: remote connection with the tool
Buildfile: /vobs/rbs/sw/rbssw1/boam_subsys/boam_swb/boam_bldu/ant_build/boam.xml
init:
[echo] Java JVM is 1.4
[echo] Apache Ant version 1.6.2 co
Mikael,
I did a quick google on OutOfMemory and
as a genaral advice it is given to increase the VM
memory with -Xms.
AFAIK, builds a DOM tree for the results
here it requires lots of memory.
Could you try to generate your test results with
format="noframes"
Ivan
--- "Mikael Petterson (KI/EAB)
If you want shell expansion, you could probably exec "sh" and use
On Wed, Apr 06, 2005 at 15:42:21 +0300, Daniel Blaukopf wrote:
> Looks like Ant doesn't do the expansion that the shell does. This is OK
> - I don't think it is supposed to. You can use the "apply" task and
> specify the *.gz file
You can use full or relative paths:
d:/directory/copy/to/target
../../some/where/else
Rodolfo García Esteban/CYII wrote:
Hi,
I'm a newbie using ant. I´m using ant 1.6.2 in windows 2000. I need to
copy files to other unit disk, but with
Thanks in advance
Rodolfo
--
Robert r. Sanders
Chie
On Wed, 06 Apr 2005, Ninju Bohra wrote:
> [...]
> There have been efforts to integrate the "if" (and
> "unless") logic into all taskdefs, but it has been
> rejected repeatedly :-(
> [...]
Can anyone on this list tell me for what reason(s) the if/unless logic has
been rejected? Thanks.
Rainer, thanks for reminding me on . I forgot about it.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Looks like Ant doesn't do the expansion that the shell does. This is OK
- I don't think it is supposed to. You can use the "apply" task and
specify the *.gz files as a fileset:
- Daniel
Euan Guttridge wrote:
Hi
Can anyone advise why the following works on the command line, but
Some taskdefs support an "if" attribute to control
their behavior ( for example). However, their
is not guideline, nor list, of which tasks support the
"if" (and "unless") attributes.
There have been efforts to integrate the "if" (and
"unless") logic into all taskdefs, but it has been
rejected re
Hi,
I have tried this option without any luck.
ANT_OPTS="-Xms256M -Xmx512M";export ANT_OPTS
I only run task and get( see below).
I think it is a performance/memory problem when parsing the files.
Could it be xalan 2 that is the thief? Are files to large for that parser?
This is my target in t
Mikael,
one way to make Ant use more memory is via ANT_OPTS
environment varible:
export ANT_OPTS=-Xmx512M
Could you please try running ant with this -Xmx
options to see whether works correctly.
HTH Ivan
--- "Mikael Petterson (KI/EAB)"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is it possible to mod
Hi,
I need to specify a absolute path, not relative to base, how can I do?
Thanks
Rodolfo
> Can anyone advise why the following works on the command line, but not
> within an ant script. The error is 'file/directory does not exist', when
> it clearly does. If I change the *.gz to a specific file it works fine.
>
>
>
>
>
When you replace "rsync" with "echo" you will see that the
quo
Hi
Can anyone advise why the following works on the command line, but not
within an ant script. The error is 'file/directory does not exist', when it
clearly does. If I change the *.gz to a specific file it works fine.
Thanks
-
Hi Holger,
1st: Ant properties can not be overwritten.
2nd: To set "conditional" property-values take a look at the
task.
3rd: if/unless are attributes of a target.
Try something like this:
Cheers,
Rainer
> -Original Message-
> From: Holger Rauch [mailto:[EMAIL PROTECTED]
>
Hi,
Is it possible to modify junitreport to get more memory allocated?
How is the junitreport implemented in ant? Is there a junit task in ant.jar?
//Mikael
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: den 6 april 2005 10:31
To: Ant Users List
Subject: Re: junitre
Hi!
I'm aware that if/unless attributes can be used to select targets depending
on whether the value of some property is set or not. Where else
(types/tasks) can if/unless be used in addition to targets?
Is there an overview on this issue in some place?
(I tried using "if" on in order to set th
Mikael,
I suppose that it is neither ant nor junit problem.
Actually, does some XSLT tarnsformation
on test results xml files and if you have many test
results, it is likely that the transformation runs out
of memory.
HTH Ivan
--- "Mikael Petterson (KI/EAB)"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>
Hi,
When I run the in my build and test sequence I get a
java.lang.OutOfMemoryError.
Is the implementation of this in ant or in junit? I want to find out which part
is causing the error.
//Mikael
-
To unsubscribe, e-mail: [EM
Hi,
I'm a newbie using ant. I´m using ant 1.6.2 in windows 2000. I need to
copy files to other unit disk, but with
35 matches
Mail list logo