AW: mail with priority high ?

2005-02-01 Thread Jan . Materne
> > is there a way to send a mail with high priority > > (the red flag in outlook) via task ? > > This works by setting an additional Header on the mail. Unfortunately > doesn't support adding arbitrary headers, so the answer is "you > can't". > > At least not yet, there is an enhancement requ

Re: mail with priority high ?

2005-02-01 Thread Stefan Bodewig
On Wed, 2 Feb 2005, Gilbert Rebhan <[EMAIL PROTECTED]> wrote: > is there a way to send a mail with high priority > (the red flag in outlook) via task ? This works by setting an additional Header on the mail. Unfortunately doesn't support adding arbitrary headers, so the answer is "you can't".

AW: mail with priority high ?

2005-02-01 Thread Jan . Materne
Manual [1] sais no. Source [2] sais no. And it seems that the used "libarary" [3] doesnt support priority flags. Jan [1] http://ant.apache.org/manual/CoreTasks/mail.html [2] http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs /email/EmailTask.java?view=markup [3] http://

mail with priority high ?

2005-02-01 Thread Rebhan, Gilbert
Hi, is there a way to send a mail with high priority (the red flag in outlook) via task ? platform = W2K / Outlook (Office 2003) /Ant 1.6.2 / j2sdk 1.4.2_05 Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: [REPOST] Classfileset Confusion

2005-02-01 Thread Robert r. Sanders
Rhino wrote: Hi everyone, I've been struggling with classfileset quite a bit in the last couple of days and I'm afraid I'm just as confused now as I when I started out. Maybe it's time to take a step back and ask a conceptual question or two. Given a single root class, named mydomain.foo.Foo.class,

Re: Creation of an executable jar problem

2005-02-01 Thread Eric Rotick
I've created the manifest in three ways and the results are always the same. I've tried creating it by hand, via the nested element within jar and via the separate manifest task. My feeling is that there can be nothing wrong with the manifest since, when the jar is recreated via the command line w

RE: Working directory confusion

2005-02-01 Thread Rick Genter
The problem is not with ${basedir} but with the CWD. I've modified my original example to use to illustrate the problem: File test.xml: Calling sub1-test via task:

RE: Working directory confusion

2005-02-01 Thread Dominique Devienne
> From: Rick Genter [mailto:[EMAIL PROTECTED] > > No, the basedir was correct, but the cwd wasn't. > > For each test case I copy the jars required by that test case as well as > its test data into the test case's subdirectory. This allows each test > case to be a self-contained unit if I need to

Re: Problems with Properties env (XP-SP2, ntvdm, ant 1.62)

2005-02-01 Thread saba_emailme-apache
I am running as Administrator. --- Jacob Kjome <[EMAIL PROTECTED]> wrote: > At 06:01 PM 1/31/2005 -0800, you wrote: > >I get an error when I have the following line in > my > >build.xml: > > > > > > > >The error is a popup dialog with the message: > > > >C:\WINDOWS\system32\ntvdm.exe > >

Re: Problems with Properties env (XP-SP2, ntvdm, ant 1.62)

2005-02-01 Thread saba_emailme-apache
The result is as expected: Buildfile: build.xml [echo] Windows XP BUILD SUCCESSFUL Total time: 0 seconds - Saba --- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Mon, 31 Jan 2005, saba emailme-apache > <[EMAIL PROTECTED]> wrote: > > > Is there another workaround? Am I the only one > wit

RE: Working directory confusion

2005-02-01 Thread Rick Genter
No, the basedir was correct, but the cwd wasn't. For each test case I copy the jars required by that test case as well as its test data into the test case's subdirectory. This allows each test case to be a self-contained unit if I need to pull it out for further analysis or send it to someone or w

Re: Creation of an executable jar problem

2005-02-01 Thread Eric Giguere
Do you have your Main-Class entry in the manifest? HTH. Eric. Eric Rotick wrote: I've created an executable jar. When I run it with java -jar myjar.jar I get the NoClassDefFoundError: error. I've looked in the list archives and there are several posts about ant not creating an executable jar correc

RE: Creation of an executable jar problem

2005-02-01 Thread Dominique Devienne
> From: Eric Rotick [mailto:[EMAIL PROTECTED] > > I've created an executable jar. When I run it with > > java -jar myjar.jar > > I get the NoClassDefFoundError: error. > > I've looked in the list archives and there are several posts about ant > not creating an executable jar correctly but none

Creation of an executable jar problem

2005-02-01 Thread Eric Rotick
I've created an executable jar. When I run it with java -jar myjar.jar I get the NoClassDefFoundError: error. I've looked in the list archives and there are several posts about ant not creating an executable jar correctly but none of these come to any real conclusion as to why. I've extracted t

RE: Working directory confusion

2005-02-01 Thread Dominique Devienne
> From: Rick Genter [mailto:[EMAIL PROTECTED] > > My overall issue is that I'm trying to build an ant script that will run > a number of unit tests after it builds my product. Each test is in its > own test subdirectory; what I *really* wanted to do was use > using the genericantfile attribute to

RE: Working directory confusion

2005-02-01 Thread Rick Genter
My overall issue is that I'm trying to build an ant script that will run a number of unit tests after it builds my product. Each test is in its own test subdirectory; what I *really* wanted to do was use using the genericantfile attribute to specify the build file, but running each test in its own

RE: Working directory confusion

2005-02-01 Thread Dominique Devienne
> From: Rick Genter [mailto:[EMAIL PROTECTED] > > I'm getting confused on how the notion of "current working directory" is > maintained in ant. Here's my test script: Yeah, I'm always been confused by it too ;-) > Calling sub1-test via task: > I stay away from

Working directory confusion

2005-02-01 Thread Rick Genter
I'm getting confused on how the notion of "current working directory" is maintained in ant. Here's my test script: Calling sub1-test via task:

[REPOST] Classfileset Confusion

2005-02-01 Thread Rhino
Hi everyone, I've been struggling with classfileset quite a bit in the last couple of days and I'm afraid I'm just as confused now as I when I started out. Maybe it's time to take a step back and ask a conceptual question or two. Given a single root class, named mydomain.foo.Foo.class, which resi

ant scripting with groovy

2005-02-01 Thread Rebhan, Gilbert
Hi, i'm just diggin into groovy. Anyone here using groovy (AntBuilder) or groovy scripts inside a build script ? I'm looking for resources, practical examples and stuff. Google gave me only : http://www.ibm.com/developerworks/library/j-pg12144.html http://www.onjava.com/pub/a/onjava/2004/09/

RE: Copy taks, include files exclude subfolders

2005-02-01 Thread Matt Benic
Thanks, I'll try '*.', Up until now I've been using '*'. Regards, Matt Benic Axapta Developer UTi Sun Couriers Division "The universal aptitude for ineptitude makes any human accomplishment an incredible miracle." - Col. John P. Stapp www.smallfrymobile.com

RE: Copy taks, include files exclude subfolders

2005-02-01 Thread Lieve Van den Heuvel
TEXT.htm Description: Binary data Privileged Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you shoul

RE: Copy taks, include files exclude subfolders

2005-02-01 Thread Matt Benic
I have read through the ant manual page on directory tasks and still found no answers, and I am using a pattern of *. I can't use *.* because my files do not necessarily have extensions. I'm essentially looking for a way to copy from a folder non-recursively. I'm sorry, I wish I had the current co

Re: Copy taks, include files exclude subfolders

2005-02-01 Thread James Abley
On Tue, 2005-02-01 at 10:16, James Abley wrote: > On Tue, 2005-02-01 at 10:10, Matt Benic wrote: > > Hi there, > > I am having trouble implementing a copy task. Given the following folder > > layout: > > /sourcefolder > > file1 > > file2.dat > > /subfolder1 > > file3 > > /su

Re: Copy taks, include files exclude subfolders

2005-02-01 Thread Lieve Van den Heuvel
Hi Can you send the target that you're executing? In the fileset element did you specify **/*.*? Otherwise you might try to change it to *.*, normally that means that no subdirectories are taken in.. Hope this helps.. Greetz >>> [EMAIL PROTECTED] 1/02/2005 11:10:29 >>> Hi

Re: Copy taks, include files exclude subfolders

2005-02-01 Thread James Abley
On Tue, 2005-02-01 at 10:10, Matt Benic wrote: > Hi there, > I am having trouble implementing a copy task. Given the following folder > layout: > /sourcefolder > file1 > file2.dat > /subfolder1 > file3 > /subfolder2 > file4 > > I want to be able to copy all files in

Copy taks, include files exclude subfolders

2005-02-01 Thread Matt Benic
Hi there, I am having trouble implementing a copy task. Given the following folder layout: /sourcefolder file1 file2.dat /subfolder1 file3 /subfolder2 file4 I want to be able to copy all files in the top level directory, but not recurse through the subfolders. ie I

AW: PropertyFile task is optional?

2005-02-01 Thread Jan . Materne
> > Then why is it an Optional task? > > Because we once decided to call it an optional task. > > > What's optional about it? Did it used to be optional? > > There may have been a JDK 1.2 dependency when Ant was supposed to work > on JDK 1.1, I'm not sure. > > Really, there is no clear distinc

Re: PropertyFile task is optional?

2005-02-01 Thread Stefan Bodewig
On Mon, 31 Jan 2005, Douglas Kramer <[EMAIL PROTECTED]> wrote: > Stefan Bodewig wrote: >> PropertyFile doesn't need any additional library. > > Then why is it an Optional task? Because we once decided to call it an optional task. > What's optional about it? Did it used to be optional? There

custom formatter(s) in Junit Task

2005-02-01 Thread Beg, Mohsin
Hi, I have a need to add a custom formatter in addition to the default XML formatter. I tried extending the XMLJUnitResultFormatter as a new class and having the below in the junit task in my build file. but somehow in startTestSuite() method of my class, test.getToDir() and test.getOutFile()