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
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 :
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
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:
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
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,
>
>
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
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
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
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
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
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
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
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
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
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
> 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:
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
?
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
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
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
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:
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
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
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
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
>
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
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
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.
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
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
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
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
33 matches
Mail list logo