Re: My Classpath Should be Separate From Ant's

2005-05-04 Thread Bob Bronson
Thanks, Jeff, This is *exactly* what I was missing. I haven't worked with Ant in a while and I guess I was a little careless in reading the docs. Thanks again. Bob - Original Message - From: "Jeffrey E Care" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Wednesday, May 04, 2005 9:15 P

Modifying Ant classpath inside build.xml

2005-05-04 Thread Nicolas Vervelle
Hi, In my build.xml, I am using the task which requires jsch.jar in the classpath. I have put jsch.jar in the same directory as build.xml. I would like Ant to add it to its classpath inside build.xml, is it possible ? I don't want to use the classic solutions to add a .jar in Ant classpath :

RE: MS Word automation

2005-05-04 Thread David Resnick
Thanks. -Original Message- From: Burgess, Benjamin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 16:50 To: Ant Users List Subject: RE: MS Word automation Also, you can access word using vbs scripts that will run natively in windows. I have attached a sample available on the Bo

RE: property environment="env" doesn't work everywhere

2005-05-04 Thread eciramella
nope, simple command line execution. > Is there a difference in the way you are running ant on each box? Perhaps > via cron? > > -Rob Anderson > >> -Original Message- >> From: EJ Ciramella [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, May 04, 2005 2:09 PM >> To: Ant Users List >> Subject:

Re: My Classpath Should be Separate From Ant's

2005-05-04 Thread Jeffrey E Care
Try reading the manual page for the javac task (http://ant.apache.org/manual/CoreTasks/javac.html), specifically the section on the includeAntRuntime attribute. -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensou

Re: My Classpath Should be Separate From Ant's

2005-05-04 Thread Brad G. Kyer
Actually, it's very easy to supply a different classpath to javac (check the ant docs for more options)... in your build.xml file in your compilation task -B --- Bob Bronson <[EMAIL PROTECTED]> wrote: > Hi All, > >

My Classpath Should be Separate From Ant's

2005-05-04 Thread Bob Bronson
Hi All, I tracked down a problem I'm having to the fact that when Ant compiles my code (using the task), it uses the "Ant execution classpath". What I'm saying is that the same classpath Ant sets up for itself in order to run is also used as the classpath when compiling *my* code. In the tas

Setting child JUNIT task's timeout attribute when using SUBANT task

2005-05-04 Thread John.Mathews
Hi, I have a problem setting up subant to execute junits in my subprojects. This is my set up Parent build Child build QUESTION: Without changing the child build.xml, is there a way to set the timeout attribute of the JUNIT task from

RE: property environment="env" doesn't work everywhere

2005-05-04 Thread Anderson, Rob (Global Trade)
Is there a difference in the way you are running ant on each box? Perhaps via cron? -Rob Anderson > -Original Message- > From: EJ Ciramella [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 04, 2005 2:09 PM > To: Ant Users List > Subject: Re: property environment="env" doesn't work everyw

Re: property environment="env" doesn't work everywhere

2005-05-04 Thread luke
Hi, 04May2005 @ 17:09 EJ Ciramella thusly spake > True, just bugs me why it works in one place but not another. No 2 boxes are exactly the same. Even you ghost 2 boxes you'll still have differences due to hardware. Setting up the 2 boxes there would've differences in the order you installed softw

Need to unsubscribe from different address

2005-05-04 Thread Peterson, Elena S
Hello, I'm sorry to send this to the users list but I really have tried everything else. I've attempted to unsubscribe an email alias from this list to no avail. I've sent this to ant.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED] is my former email address - I still get mail sent to that

Re: property environment="env" doesn't work everywhere

2005-05-04 Thread EJ Ciramella
True, just bugs me why it works in one place but not another. On May 4, 2005, at 5:03 PM, Alexey N. Solofnenko wrote: ANT_HOME environment variable just sets ant.home system property that ANT uses internally. Usually ANT can guess its home directory, so setting the environment variable is not a

Re: property environment="env" doesn't work everywhere

2005-05-04 Thread EJ Ciramella
How would ant work is this was true!? on buildserver: Linux 2.6.11.7. [EMAIL PROTECTED]:~# echo $ANT_HOME /home/source/tools/ant/ant-1.6.1 on testbuild: Linux 2.6.11.7. [EMAIL PROTECTED]:~# echo $ANT_HOME /home/source/tools/ant/ant-1.6.1 On May 4, 2005, at 5:03 PM, Ed Moon wrote: AFAIK, this proble

RE: property environment="env" doesn't work everywhere

2005-05-04 Thread Ed Moon
AFAIK, this problem has to do with differences in how the 2 linux boxes are setup and isn't an ant issue. I suspect if you do 'echo $ANT_HOME' on your 2 linux boxes, you'll find that the environment variable isn't defined on one of the boxes. -Original Message- From: EJ Ciramella [mailt

Re: property environment="env" doesn't work everywhere

2005-05-04 Thread Alexey N. Solofnenko
ANT_HOME environment variable just sets ant.home system property that ANT uses internally. Usually ANT can guess its home directory, so setting the environment variable is not always necessary. - Alexey. EJ Ciramella wrote: That's what I did, so instead of doing and later using things like ${en

Re: property environment="env" doesn't work everywhere

2005-05-04 Thread EJ Ciramella
That's what I did, so instead of doing and later using things like ${env.ANT_HOME}, I just use ${ant.home}, why did this change and why does this work in some places and not in others? Both work on my mac, but this is weird. On May 4, 2005, at 4:50 PM, Dominique Devienne wrote: From: EJ Cirame

RE: property environment="env" doesn't work everywhere

2005-05-04 Thread Dominique Devienne
> From: EJ Ciramella [mailto:[EMAIL PROTECTED] > > Has anyone else seen this behavior? I used env.ANT_HOME on one box and > it didn't get expanded, but on another, it worked just fine. Both > machines are running: > > [EMAIL PROTECTED]:~# uname -a > Linux testbuild 2.6.11.7 #1 Tue Apr 12 17:04:

property environment="env" doesn't work everywhere

2005-05-04 Thread EJ Ciramella
Has anyone else seen this behavior? I used env.ANT_HOME on one box and it didn't get expanded, but on another, it worked just fine. Both machines are running: [EMAIL PROTECTED]:~# uname -a Linux testbuild 2.6.11.7 #1 Tue Apr 12 17:04:43 EDT 2005 i686 unknown unknown GNU/Linux and ant 1.6.1 ?

Re: uptodate using .xml to .java but not 1 to 1

2005-05-04 Thread EJ Ciramella
I did something a little different. I do the generation then touch a file. Then I can use the merge mapper from xml to touched file name. On May 4, 2005, at 12:50 PM, Alexey N. Solofnenko wrote: In general you will need a mapper, if there are a many source and destination files. If you can s

Re: uptodate using .xml to .java but not 1 to 1

2005-05-04 Thread Alexey N. Solofnenko
In general you will need a mapper, if there are a many source and destination files. If you can select one destination file out of many (if several destination files are generated together), you can just use plain . Otherwise please look at task. - -Alexey. EJ Ciramella wrote: Every once in a

uptodate using .xml to .java but not 1 to 1

2005-05-04 Thread EJ Ciramella
Every once in a while I stumble across this problem where a tool reads in xml and generates java files. We have a custom written tool here that does this but there is no up to date check so the java files are created each time. Do I need to write a custom mapper or is there a simple way to do

RE: Looking for task to add text to file.

2005-05-04 Thread Nir Geier
The last solution is way too complicated. It is much easier to add new task that does the work i needed. I simply need to add text to DTD (to the end of list) -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 8:44 PM To: Ant Users List Subject:

Re: Available Task

2005-05-04 Thread Stuart Harper
Hi, This worked fine, thanks! On 5/4/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Use to find catch that class file. Transform into a property > using or . After that should > be your friend. > > Jan > > > -Ursprüngliche Nachricht- > > Von: Stuart Harper [mailto:[EMAIL PROTE

Re: Scripting engine in ANT core?

2005-05-04 Thread Alexey N. Solofnenko
You will need extra Jars. One way is to add a target to download the extra jars, maybe from your local server. I prefer to put everything into revision control system, so people get already preconfigured build environment when they check out my code. - Alexey. Ben Gill wrote: Hi, Is there a scr

RE: MS Word automation

2005-05-04 Thread Burgess, Benjamin
Also, you can access word using vbs scripts that will run natively in windows. I have attached a sample available on the Borland Developer Network that will connect to StarTeam and gather the list of users and write them to a new Word Document. The second part of the script deals with MS Word

AW: Ant paths

2005-05-04 Thread Jan . Materne
Thanks for the flowers :-) Jan > -Ursprüngliche Nachricht- > Von: Ben Gill [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 4. Mai 2005 13:21 > An: user@ant.apache.org > Betreff: Re: Ant paths > > Hi > > Yes Jan sent me a link to an article about this - it is > perfect for what I >

Re: Ant paths

2005-05-04 Thread Ben Gill
Hi Yes Jan sent me a link to an article about this - it is perfect for what I need!! Thanks >From: Erik Hatcher <[EMAIL PROTECTED]> >Reply-To: "Ant Users List" >To: "Ant Users List" >Subject: Re: Ant paths >Date: Wed, 4 May 2005 07:05:14 -0400 >MIME-Ver

Re: Ant paths

2005-05-04 Thread Erik Hatcher
On May 3, 2005, at 2:48 PM, Ben Gill wrote: Hi, The only reason I am even including Spring.jar - is because Spring API supports loading of files using the ant style **/*.xml paths... (which is really useful especially for my custom task..) But in theory, I should not need to include spring.ja

Re: MS Word automation

2005-05-04 Thread IndianAtTech
On Tue, 15 Mar 2005 12:28:11 +0200, David Resnick <[EMAIL PROTECTED]> wrote: > Yes, that sounds good! I didn't think of that... > > Thanks! > > -David > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 15, 2005 12:20 > To: user@ant.apache.

Re: task seems broken

2005-05-04 Thread Stefan Bodewig
On Tue, 03 May 2005, Jason Novotny <[EMAIL PROTECTED]> wrote: > How can I tell it to not try to do any autoresolving of > dependencies behind my back? You can't. > I only want it to indicate if a given class exists in the jar or > not. use resource="org/apache/catalina/valves/Fa

Re: Ant 1.6.3, JDK1.5 and extJavac="1.3"

2005-05-04 Thread Stefan Bodewig
On Tue, 3 May 2005, Wim Praet <[EMAIL PROTECTED]> wrote: > But only on Ant 1.6.3... > > Running the same build file with JDK1.5 as default JDK and Ant 1.6.2 > gives following output: > > > [echo] Using C:\java\jdk1.3.1_02\bin\javac.exe > [javac] Since fork is true, ignoring compiler

AW: Scripting engine in ANT core?

2005-05-04 Thread Jan . Materne
No - there is no buildin scripting language and there wont be. But you can use any BSF language on many places in Ant (). We dont want to have any dependency on delivery. And on the other hand the scripting language has to have an ASF license - otherwise we couldnt deliver it. Jan > -Ursprün

Scripting engine in ANT core?

2005-05-04 Thread Ben Gill
Hi, Is there a scripting language built into ANT core? or are there any plans to include one? I have a build.xml file that could benefit from using some scripting snippets from time to time, but if I use BSF etc.. or another scripting language - it forces any user to have the extra lib's inclu