RE: Packages + Ant

2005-01-25 Thread James Abley
On Tue, 2005-01-25 at 19:53, Dominique Devienne wrote: > > -Original Message- > > From: Longie [mailto:[EMAIL PROTECTED] > > I got that to work but it means now that i cant run the program from a > > standalone jar ie. right click on the name.jar and go to javaw. > > > > So from a dos comm

RE: Saving JUnit reports to a folder based on date

2005-01-25 Thread Dominique Devienne
> From: Sam Adams [mailto:[EMAIL PROTECTED] > I'm new to ant and am basically using it to make JUnit reports. I was > just wondering if there was a way to make Ant create a new folder for > each test based on the date. > > For example they are saves in: > > > > I was wondering if it was pos

Saving JUnit reports to a folder based on date

2005-01-25 Thread Sam Adams
Hi, I'm new to ant and am basically using it to make JUnit reports. I was just wondering if there was a way to make Ant create a new folder for each test based on the date. For example they are saves in: I was wondering if it was possible to save them in something like: or something

Re: Last element of current directory name.

2005-01-25 Thread Nat Gross
Matt Benson wrote: --- Nat Gross <[EMAIL PROTECTED]> wrote: How do I get just the last element of the current directory. Suppose basedir = dira/dirb/dirc. (Or any path for that matter.) Whatever is "the current directory"--${user.dir}? ${basedir}?... You can use the basename task to get the

Re: Last element of current directory name.

2005-01-25 Thread Matt Benson
--- Nat Gross <[EMAIL PROTECTED]> wrote: > How do I get just the last element of the current > directory. > Suppose basedir = dira/dirb/dirc. (Or any path for > that matter.) Whatever is "the current directory"--${user.dir}? ${basedir}?... You can use the basename task to get the last element of

Last element of current directory name.

2005-01-25 Thread Nat Gross
How do I get just the last element of the current directory. Suppose basedir = dira/dirb/dirc. (Or any path for that matter.) I need a property to = "Dirc". (1st character uppercased, if possible.) For the pros out there it should be 123, but for me... forget it! Thanks -nat ---

RE: Packages + Ant

2005-01-25 Thread Dominique Devienne
> -Original Message- > From: Longie [mailto:[EMAIL PROTECTED] > I got that to work but it means now that i cant run the program from a > standalone jar ie. right click on the name.jar and go to javaw. > > So from a dos command i need to run > > java -classpath AntTool.jar;./ant/ant.jar An

RE: About Subant

2005-01-25 Thread Dominique Devienne
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Venkatesh Prasad > Ranganath > > Following is a snippet of the ant script that is being executed. > The main issue is that jars.dir is a property in main-build.xml. However, > this property is not being propagated to

Re: AW: ant access of java constants

2005-01-25 Thread michael sorens
Diagnostic.java is available on my website at: http://cleancode.sourceforge.net/wwwdoc/download.html (The direct link for my Java source zip file is two clicks down is: http://prdownloads.sourceforge.net/cleancode/cleancode-java-source-v0_9_03.zip?download ) I'll take a look at writing a cu

About Subant

2005-01-25 Thread Venkatesh Prasad Ranganath
Hi, Following is a snippet of the ant script that is being executed. The main issue is that jars.dir is a property in main-build.xml. However, this property is not being propagated to sub builds. Any idea why? main-build.xml:

Re: Packages + Ant

2005-01-25 Thread Longie
Hello, I got that to work but it means now that i cant run the program from a standalone jar ie. right click on the name.jar and go to javaw. So from a dos command i need to run java -classpath AntTool.jar;./ant/ant.jar AntTool or else use 'ant run' but i need to be able to run the program from

RE: Packages + Ant

2005-01-25 Thread Dominique Devienne
> -Original Message- > From: Longie [mailto:[EMAIL PROTECTED] > > > Putting JAR files inside another JAR is not what you want to do usually. You either reference them in the classpath of , or include their content (classes, resources) inside your JAR. See for doing

Re: Any way to get at the machine name?

2005-01-25 Thread galenboyerdev
Ninju Bohra <[EMAIL PROTECTED]> writes: > The env.* properties are set to defined to be whatever you OS shell > values are...please read the ANT documentation about the > task and how the enviroment attribute is processed. Ah, I see. Sorry for the question. It was clearly documented already, I

Re: Any way to get at the machine name?

2005-01-25 Thread galenboyerdev
"Keith Hatton" <[EMAIL PROTECTED]> writes: > It's all the environment variables that are currently set. > In Windoze, type SET at a Command Prompt. > > Keith Ah. A sort of environmental reflection... Thanks. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > S

Re: Any way to get at the machine name?

2005-01-25 Thread Ninju Bohra
The env.* properties are set to defined to be whatever you OS shell values are...please read the ANT documentation about the task and how the enviroment attribute is processed. Later, Ninju [EMAIL PROTECTED] wrote: James Abley writes: > On Tue, 2005-01-25 at 16:19, Dominique Devienne wrote

RE: Any way to get at the machine name?

2005-01-25 Thread Keith Hatton
It's all the environment variables that are currently set. In Windoze, type SET at a Command Prompt. Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 January 2005 16:59 To: user@ant.apache.org Subject: Re: Any way to get at the machine name? James Ab

Re: Any way to get at the machine name?

2005-01-25 Thread galenboyerdev
James Abley <[EMAIL PROTECTED]> writes: > On Tue, 2005-01-25 at 16:19, Dominique Devienne wrote: >> > -Original Message- >> > From: news [mailto:[EMAIL PROTECTED] On Behalf Of >> > >> > I don't see this in the available properties? >> >> See below. You'll just have to do your own conditi

Packages + Ant

2005-01-25 Thread Longie
Hello, I am having a problem running a jar file which worked before i created the different package directories. The directory looks like this; root | |- - - src | | | |ie | |--- comp | |---tool [all *.class] | |- - - images [all *.gif]

Re: Any way to get at the machine name?

2005-01-25 Thread Ivan Ivanov
Hello, here some names to get it: 1) Using hostname command. I have tested the following snippet only on Linux: $${exec.hostname} is ${exec.hostname} 2) Using environmant variables (again testes only on linux). $${env.hostname} is ${env.HOSTNAME} 3) Using scriptdef and java.net package:

RE: Any way to get at the machine name?

2005-01-25 Thread James Abley
On Tue, 2005-01-25 at 16:19, Dominique Devienne wrote: > > -Original Message- > > From: news [mailto:[EMAIL PROTECTED] On Behalf Of > > > > I don't see this in the available properties? > > See below. You'll just have to do your own conditional > if you want it to work cross-platform. --D

RE: Any way to get at the machine name?

2005-01-25 Thread Dominique Devienne
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of > > I don't see this in the available properties? See below. You'll just have to do your own conditional if you want it to work cross-platform. --DD -

Any way to get at the machine name?

2005-01-25 Thread galenboyerdev
I don't see this in the available properties? Thanks. -- Galen Boyer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: how to invoke ant via java

2005-01-25 Thread Radha Sangal
String command = "cmd /c ant -buildfile E:\\RulesWeb_Content\\CvsDiffReports\\Cvs_Diffs.xml -DDevBuild1=" + build1 +" -DDevBuild2="+ build2 +" -l E:\\RulesWeb_Content\\CvsDiffReports\\autodiff.log"; Process proc =null; try { proc = Runtime.getRuntime().exec(command); -

RE: Misusing ?

2005-01-25 Thread Dominique Devienne
> From: Marion, Patrick [mailto:[EMAIL PROTECTED] > > ant-contrib question, I think. Yep. Better to use the Ant-Contrib list for it. > I would like to use the "expends" feature for ; My build file > looks like this: > > ... > > includes="ssleay32.lib,libeay32.lib"/> >

AW: AW: Where does optional.jar come from?

2005-01-25 Thread Jan . Materne
Nice to see you here, Darin. :-) What a small world ... Jan -Ursprüngliche Nachricht- Von: Darin Swanson [mailto:[EMAIL PROTECTED] Gesendet am: Montag, 24. Januar 2005 18:00 An: Ant Users List Betreff: Re: AW: Where does optional.jar come from? Thank Jan :-) The latest Eclipse release