RE: usage of exec

2005-07-19 Thread Bill Rich
If you have not tried it and gotten a specific error, how are we going to help you. RTFM. exec is pretty well documented. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 8:13 PM To: user@ant.apache.org Cc: [EMAIL PROTECTED] Subjec

RE: using arguments after the java command

2005-07-19 Thread Bill Rich
No, the difference is between mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 7:07 PM To: Ant Users List Subject: Re: using arguments after the java command -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Rich wrote: > See if this will help as a model -- > > fork="true" >

usage of exec

2005-07-19 Thread pritesh.saharey
Hi All, I want to use one of my batch file into my build.xml file, the batch file is as follows: //- Sign.cmd Set NEB_MD5=d:\sign Set NEB_SIGN=d:\sign Set NEB_IMAGE=D:\cdimages\MD1020\MCClient\KAL-Std55-81

Re: classpath comfusion ?

2005-07-19 Thread Conor MacNeill
Thomas Matthijs wrote: > Hey, > > A few questions: > > When invoking ant with only ant-launcher.jar on the > localclasspath(java) it automaticly picks up tasks in ANT_LIB, but when > i add ant.jar or some ant-* (optional tasks) (located in ant_lib) too the > localclasspath it no longer seems to

Re: using arguments after the java command

2005-07-19 Thread Simon Kitching
On Tue, 2005-07-19 at 22:07 -0400, James Black wrote: > This is the error I get: > Exception caught: java.lang.IllegalArgumentException: Unknown command > line argument: -o filename.tini You should carefully read the ant manual for re the difference between Regards, Simon -

Re: using arguments after the java command

2005-07-19 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Rich wrote: > See if this will help as a model -- > > fork="true" > failonerror="true"> > > > > > > > > > > > The element passes the arg to the JVM

RE: using arguments after the java command

2005-07-19 Thread Bill Rich
See if this will help as a model -- The element passes the arg to the JVM while the element passes the arg to the target class. HTH Bill -Original Message- From: James Black [mailto:[EMAIL PROTECTED] Sent:

re: using arguments after the java command

2005-07-19 Thread James Black
I am using ant 1.6.5 Here is the command I need to execute, and I would like to do this in ant, as I think it could make life easier. I don't know how to do the -f, -o and -d arguments after TINIConvertor, and also, is there an easy way to put all the classes in my bin directory in the argument p

classpath comfusion ?

2005-07-19 Thread Thomas Matthijs
Hey, A few questions: When invoking ant with only ant-launcher.jar on the localclasspath(java) it automaticly picks up tasks in ANT_LIB, but when i add ant.jar or some ant-* (optional tasks) (located in ant_lib) too the localclasspath it no longer seems too pick up any other jars in ant_lib (not

which build tool yields fastest incremental builds? GNU make , Jam , Ant or Scons ?

2005-07-19 Thread hiren patel
Hi, I am working on a very large C++ project (around 12 miliion LOC , generating 450 DLLs and hundereds of source files ) and we building it with PVCS merant make. Since current full build time is almost 7 hr , we cannot compromise on the time to build. Do you know that which tool yields

Re: Xslt task defaults to XSLTC with jdk1.5?

2005-07-19 Thread Simon Kitching
On Tue, 2005-07-19 at 12:42 -0400, Robert Koberg wrote: > Hi, > > Is it expected behavior for the Xslt task to default to XSLTC when using > jdk1.5? It does. When I threw the xalan jar in the ant lib directory it > used xalan-j. Perhaps it has to do with Sun's renaming of the xalan > classes (c

Re: slightly ot - setting java.endorsed.dirs for ibm jdk under ant build

2005-07-19 Thread Mark Lybarger
good enough, thanks! On 7/19/05, Jeffrey E Care <[EMAIL PROTECTED]> wrote: > > Only if you are using a "bootstrap" build.xml which then executes the real > build via the task. > > JEC > -- > Jeffrey E. Care ([EMAIL PROTECTED]) > WebSphere Build SWAT Team Lead > WebSphere Build Tooling Lead (Pro

Re: slightly ot - setting java.endorsed.dirs for ibm jdk under ant build

2005-07-19 Thread Jeffrey E Care
Only if you are using a "bootstrap" build.xml which then executes the real build via the task. JEC -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis Mark Lybarger <[EMAIL PROTECTED]

Re: slightly ot - setting java.endorsed.dirs for ibm jdk under ant build

2005-07-19 Thread Mark Lybarger
is it possible to set the ANT_OPTS inside the build.xml? or a property file perhaps?.. On 7/19/05, Mark Lybarger <[EMAIL PROTECTED]> wrote: > > that works nicely, thanks a bundle. > > On 7/19/05, Jeffrey E Care <[EMAIL PROTECTED]> wrote: > > > > -D options given to the ant script are treated a

Re: slightly ot - setting java.endorsed.dirs for ibm jdk under ant build

2005-07-19 Thread Mark Lybarger
that works nicely, thanks a bundle. On 7/19/05, Jeffrey E Care <[EMAIL PROTECTED]> wrote: > > -D options given to the ant script are treated as Ant property > declarations, not JVM properties. You should be able to use the ANT_OPTS > environment variable to pass options to the VM. > > -- > Jeffr

Re: how to use a fileset with the pack200 task?

2005-07-19 Thread Juergen Hermann
On Tue, 19 Jul 2005 18:11:36 +0200, Ingo Siebert wrote: >I'm looking for an ant task which calls an other task for every file in >the fileset? antcontrib:for. Ciao, Jürgen - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: slightly ot - setting java.endorsed.dirs for ibm jdk under ant build

2005-07-19 Thread Jeffrey E Care
-D options given to the ant script are treated as Ant property declarations, not JVM properties. You should be able to use the ANT_OPTS environment variable to pass options to the VM. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Man

Re: slightly ot - setting java.endorsed.dirs for ibm jdk under ant build

2005-07-19 Thread Peter Reilly
try: export ANT_OPTS="-Djava.endorsed.dirs=/home/me/tmp" ant peter Mark Lybarger wrote: i've got an ant build script. our "default" jdk is IBM jdk 1.4.2. our web app requires a specific version of xalan.jar to build. we can build just fine on intel box by specifying sun's jvm. when deploying

RE: scp question - very urgent

2005-07-19 Thread Anderson, Rob (Global Trade)
The task has no option to preserve symbolic links currently. The task should preserve symbolic links. You can also use to create symbolic links remotely. You build file should do the following: the stuff locally that you want to copy to the remote hosts. the tarfile to the remote hosts. t

slightly ot - setting java.endorsed.dirs for ibm jdk under ant build

2005-07-19 Thread Mark Lybarger
i've got an ant build script. our "default" jdk is IBM jdk 1.4.2. our web app requires a specific version of xalan.jar to build. we can build just fine on intel box by specifying sun's jvm. when deploying to jboss we use the endorsed.dirs to use our xalan.jar, and can run ok under IBM's jvm. i

Xslt task defaults to XSLTC with jdk1.5?

2005-07-19 Thread Robert Koberg
Hi, Is it expected behavior for the Xslt task to default to XSLTC when using jdk1.5? It does. When I threw the xalan jar in the ant lib directory it used xalan-j. Perhaps it has to do with Sun's renaming of the xalan classes (com.sun.org.apache.xalan...) and sorting in ant?? best, -Rob

how to use a fileset with the pack200 task?

2005-07-19 Thread Ingo Siebert
Hi, i just want to create a pack200 archives of my jar files. At the moment, i'm sign my jars with this target: Now i want to create for every *.jar in my "clientLib" directory a pack200-archive. The pack200 task is used this way: My problem is, that my task doesn't accept

NoClassDefFoundError...

2005-07-19 Thread Coccia, Gino
I'm trying to run a build.xml script (script A) (for Cruisecontrol) that calls my original, working build.xml (script B) but am having some problems... I get a NoClassDefFoundError when my script A calls script script B - I don't get the error when I call script B directly. I've run script A with

RE: scp question - very urgent

2005-07-19 Thread Srikrishna_Parthasarathy
Yes. I want to a have a build file. We have about 4 environments. I want to have a standardized script to copy files between machines driven through a property file. Scp command for some reason loose symbolic link while copying between machines. We are using solaris 2.8. Is there any arguments you

RE: Does Ant improves the performance in large c++ project thanmake?

2005-07-19 Thread Dominique Devienne
> From: Simon Kitching [mailto:[EMAIL PROTECTED] > > On Fri, 2005-07-15 at 08:19 +0200, Juergen Hermann wrote: > > On Thu, 14 Jul 2005 17:45:13 -0700, Alexey N. Solofnenko wrote: > > > > >It is quite possible. With make it is usually one file at a time > > >compilation. ANT is smart enough to requ

Re: build dies when called from cron

2005-07-19 Thread Dave
Thanks. My script was sourcing a .bashrc file but part of the path was missing anyway. The stderr was exactly what I needed to figure it out. On 7/19/05, Gisbert Amm <[EMAIL PROTECTED]> wrote: > Dave wrote: > > Hi - > > > > I have a build system which works fine from the command line, but > > stop

Re: build dies when called from cron

2005-07-19 Thread Gisbert Amm
Dave wrote: Hi - I have a build system which works fine from the command line, but stops mysteriously when I run it from cron. The build file structure for my application has a master file at the top, which calls targets on submodules, some of which have sub-submodules. There's a shell script