BTW, very large in this case means ~17 GB :)
--
-Antti-
2008/1/25, Antti Luoma <[EMAIL PROTECTED]>:
>
> Hi,
>
> I did take a look from sources and noticed the basic java File API, I
> think there might be some optimization (like getting rid of unnecessary
> vector creation). Also caching src fold
Hi,
You are obiously missing the class com/ibm/crypto/provider/IBMJCA from
classpath. You need some classed from ibm wsad runtime components to be in
your classpath when you run this junit task.
-antt-
2008/1/24, Mevitha <[EMAIL PROTECTED]>:
>
>
> I am trying to run a junit test using ANT in WSA
Hi,
I did take a look from sources and noticed the basic java File API, I think
there might be some optimization (like getting rid of unnecessary vector
creation). Also caching src folder contents (is maybe storing contenst to
outputstream directly and reading from there) might improve it? This of
Just
Tested example
Jan
> -Ursprüngliche Nachricht-
> Von: Clifton [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 24. Januar 2008 21:58
> An: user@ant.apache.org
> Betreff: For each jar in a fileset
>
>
> I need to unjar each jar in a fil
YES! Where would I have learned about the line="xxx" format of ? The
only examples under are value="xxx". Oh, I see if I drill down hard
enough I find an example that isn't about running java but apparently uses the
same structure. Well, thanks for finding it for me, sorry to be a bother...
Hi
I have a shell script where in it, it has these lines
nohup ./mdmctl start-t -dep zg &
nohup vmstat 10 > $log_location/vmstat_$1.log &
echo "Wait to come up...sleep for 100 secs"
sleep 100
echo "Starting prstat."
pid=`ps -ef|awk '/'"java -server -XX:CompileThreshold"'/ && !/bash/ {print
$2}'`
I would use sshexec to first connect to server x and run the some
commands (or a script), then use sshexec again to connect to server y
and run some commands (or a script). I just don't see why you need
server x to connect to server y, rather than connecting directly to both
server x and server y.
Does
do what you want (without the warnings)?
-Original Message-
From: Judy Anderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 24, 2008 2:24 PM
To: user@ant.apache.org
Subject: Re: Variable numbers of s to
Replying to my own message: I found
Replying to my own message: I found an example of a mapper that did what I
wanted to create a string "foo.jar bar.jar baz.jar". Then I was cooking
with gas, and I used the DEPRECATED form
It's pretty ugly because in addition to the mapped list there are several
positional arguments that have
Hi Peter and Steve. I downloaded junit-3.8.2 from sourceforge and copied
junit.jar to /lib in the uncompressed ant-1.7.0 source and ran build.sh
again. I believe I am doing what the manual what the manual is
instructing so would appreciate any guidance of what I may be missing.
The full traceba
I am trying to write a trigger that happens at post-resolve-dependency time. I
don't want this trigger to run every time I run a resolve (which happens
several times for us), just sometimes. Also I want the trigger to also run a
resolve with a different configuration. So I thought I would filter
I need to unjar each jar in a fileset. What's the easiest approach without
getting into extra libs, scripting and what not?
--
View this message in context:
http://www.nabble.com/For-each-jar-in-a-fileset-tp15074819p15074819.html
Sent from the Ant - Users mailing list archive at Nabble.com.
--
The vars override the property for the current target and antcall targets. I
have seen something about using callback to call and allow var changes to come
back but haven't tried it. So, if you use vars to override existing properties
make sure you watch the scope of usage. The var can disappear
Hi,
> I would recommend using ant-contrib's and logic to overwrite
> properties and dynamically assign the values you need to implement your
> solution: http://ant-contrib.sourceforge.net/tasks/tasks/index.html
normally properties in ant are immutable once set, but you may always
use the ant a
Post the relevant portion of your build.xml and the output.
-Rob A
-Original Message-
From: Rishi Gogia [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 24, 2008 11:15 AM
To: Ant Users List
Subject: RE: SSHExec Target
Hi Rob
Basically I have to perform some function of this script on
On Jan 24, 2008 2:11 PM, Judy Anderson <[EMAIL PROTECTED]> wrote:
> One of our steps involves calling a Java program which takes a number of
> arguments, and the last few are varargs, for lack of a better description. I
> have a list, e.g., "foo,bar,baz", in a property, which should be mapped to
One of our steps involves calling a Java program which takes a number of
arguments, and the last few are varargs, for lack of a better description. I
have a list, e.g., "foo,bar,baz", in a property, which should be mapped to
foo.jar, bar.jar, and baz.jar as the final arguments. I spent a little
I am trying to run a junit test using ANT in WSAD
I am getting the following error:
Running com.lxnx.ols.ldc.answerset.model.AsetStatusEvaluatorTest
[junit] java.lang.NoClassDefFoundError:
com/ibm/crypto/provider/IBMJCA (wrong name:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunn
I would recommend using ant-contrib's and logic to overwrite
properties and dynamically assign the values you need to implement your
solution: http://ant-contrib.sourceforge.net/tasks/tasks/index.html
James
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thur
Hi Rob
Basically I have to perform some function of this script on one server and some
on the other
so i have one script on Server X and another on Server Y. and the script on
Server X calls the script on Server Y using ssh.
and the script on Server X again needs to be called from the Ant S
So you are using the sshexec task to connect to a remote server and
execute a script that connects via ssh to another remote server. That
doesn't really make sense to do, in my opinion. Why not just use sshexec
to connect to the directly to the remote server you intend to execute
something on? Why
SSHExec executes without any environment.
So the script that you call with SSHExec should set the environment variables
you requires (eg: PATH)
See what the environment is when you run via command prompt and set the same in
the first script that SSHExec calls.
-Original Message-
From
What does the sshexec code look like?
Rishi Gogia <[EMAIL PROTECTED]> wrote: Hi
I am using SSHExec target in my Build.xml which is calling a shell script. This
shell script internally connects to another server in the network through SSH.
The shell script is running fine when executed from sol
[EMAIL PROTECTED] schrieb:
> But dont forget: checks whether a property with
> the given name is set/not-set.
therefore in my example the property thats' used
afterwards with target if|unless is set via
condition + equals ... ;-)
>
>
> I will be executed
>
>
>
>
> I will be execu
Hi
I am using SSHExec target in my Build.xml which is calling a shell script. This
shell script internally connects to another server in the network through SSH.
The shell script is running fine when executed from solaris command prompt. but
when executed from the build.xml, it doesn't call th
As an answer, which resule would you want? There are multiple commands in the
sshexec string. You are testing to assure that directory ${a_dir} exists or
making the dir apparently. both commands "test" and "mkdir" return values. Does
the destination OS perform shortcut execution? This problem is
On Jan 24, 2008 3:46 PM, Steve Loughran <[EMAIL PROTECTED]> wrote:
> David Pratt wrote:
> > Hi. I am attempting to build ant from source. In my first go, I was not
> > aware the build would fail without junit. For second attempt I copied
> > the junit-4.4.jar and placed it into the /lib folder of t
bash is an interactive command interpreter. cd, pwd etc. are commands that
allow input then do their jobs and exit. You can issue "bash " to
execute the commands in the command_file and exit, but bash on its own will
start an interactive shell that then waits for input.
Swati Gaikwad <[EMAIL PR
One way is to redirect the output from your shell commands to files:
cd 2>/tmp/cd_err
This would execute the cd shell command and redirect the error result to the
file /tmp/cd_err. Be careful with this and make sure you check the file for
contents. The redirect will create the file even if there
Hi Barry, Thanks for the response.
Since it's not a ANT releated property, I done think providing
an option of -DPROP_VALUE from cmd prompt would work.
Also, I cant afford to have user intervention is providing the value of
the Property at runtime..
The Variable is actually defined insid
On Jan 24, 2008 3:53 AM, Antti Luoma <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using ant 1.7.0 task to sync 2 very large directories. It
> currently takes too much time to do this (to be usable).
Sorry Antti, but there's no free lunch. Either you want to sync, in
which case you need to scan both
David Pratt wrote:
Hi. I am attempting to build ant from source. In my first go, I was not
aware the build would fail without junit. For second attempt I copied
the junit-4.4.jar and placed it into the /lib folder of the uncompressed
source. I believe this is where it is to go based on the inst
Hi. I am attempting to build ant from source. In my first go, I was not
aware the build would fail without junit. For second attempt I copied
the junit-4.4.jar and placed it into the /lib folder of the uncompressed
source. I believe this is where it is to go based on the instructions in
the ant
Have you looked at rsync?
Antti Luoma <[EMAIL PROTECTED]> wrote: Hi,
I am using ant 1.7.0 task to sync 2 very large directories. It
currently takes too much time to do this (to be usable).
Here is the target that I run.
I invoked it whit build metrics listener and the outp
I have not used lint4j, but the user manual (google lint4j) gives an example
of how to use an an ant task;
http://www.jutils.com/uguide.html
Peter
On Jan 24, 2008 12:01 PM, venkata prasad <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Can any one tell me how to integrate lint4j in build.xml?
> If an
Hi All,
Can any one tell me how to integrate lint4j in build.xml?
If any one have same plz send sample scripts.
Thanks in adavnce,
Prasad.
Knuplesch wrote:
Hi everybody,
I come across with a problem with rmic.
I might have found sth. Like a bug or mysterios behaviour of Ant 1.7.
I was working wit Ant 1.6.5 and still do. But my Eclipse DIE changed to ANT 1.7.
If I run the following rmic task:
I get err
Hi,
I am using ant 1.7.0 task to sync 2 very large directories. It
currently takes too much time to do this (to be usable).
Here is the target that I run.
I invoked it whit build metrics listener and the output that I (finally) got
was:
[sync] Removed 1 dangling direc
There are several ways to accomplish this depending on your workflow and
process requirements.
You could do this with the -D= command parameter (passing the
runtime value in from the ant commandline). Another option is to use the
element to prompt the user for a dynamic value.
For example:
Alternativly use if-Task of antcontrib to do it in one step.
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart Fax. +49 711 806098-299
Geschäftsführer: Uwe
This is a 2 step process. First you need to also create a conditional property
based on the value of the property test. Then you can use that conditional
property in target elements to conditionalize their execution. For instance
Step 1:
Step 2:
... your target elements
__
Hi everybody,
I come across with a problem with rmic.
I might have found sth. Like a bug or mysterios behaviour of Ant 1.7.
I was working wit Ant 1.6.5 and still do. But my Eclipse DIE changed to ANT 1.7.
If I run the following rmic task:
I get errors like:
: Class de
Hi,
i ran into the same problems, i think it's a bug...
However, there is a simple workaround -> zip all the files, and then
unzip remotely with sshexec...
Hope that helps.
Nicolas
-Original Message-
From: Z W [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 24, 2008 6:00 AM
To: user@a
43 matches
Mail list logo