Re: Ant or Subant question

2005-10-25 Thread Petar Tahchiev
On 26/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Mmh, just have a look at the last example in s manual [1]. > A project has several modules. Each module has in own buildfile, which is > basically > a project standard file - so it´s only one statement. > > And there is a master buildfi

AW: Ant or Subant question

2005-10-25 Thread Jan.Materne
Mmh, just have a look at the last example in s manual [1]. A project has several modules. Each module has in own buildfile, which is basically a project standard file - so it´s only one statement. And there is a master buildfile which builds all modules. Just call a "compile" on the master and

Ant or Subant question

2005-10-25 Thread Petar Tahchiev
Hello everybody! I am trying to focus on the advantages. Can anyone explain me in-depth why the task is better than the task. I know it was introduced in Ant 1.6 to ease the usage of other build fuiles. I have also read the manual, but I didn' t actually find any major differences(or am I wrong

Subant question

2005-10-25 Thread Petar Tahchiev
Hello everybody! I am currently wondering if someone could give me a reasonable explanation why the prioperties in Ant are immutable. I have been wondering for a long time and I really can' t find the reason. In some cases it really helps, but is there a particular reason for this behaviour to be

how to convert a makefile to a build.xml,, any utility available, help me please.

2005-10-25 Thread Sethu Prasad G
Hi, Right now am working on a migration project, And now I am in a situation to write all the makefiles to the build.xml equivalent of Ant. Any friends to help me on this please. Thanks in advance, Sethu. - Yahoo! India Matrimony: Find you

Re: [Junit] throws NullPointerException

2005-10-25 Thread Stefan Bodewig
On Tue, 25 Oct 2005, Patrick Wunderlich <[EMAIL PROTECTED]> wrote: > I have this Problem only on one Computer. > The same ANT script works on another PC. > But when i run "ant -diagnosis" on both systems, > the output is identical?! Different JDKs? Stefan ---

run ant build via java

2005-10-25 Thread wei wei
Hello, i am new to ant build tool. Assume that i have written one build.xml manually, now i try to add extra property , target, task into this existing build.xml by writing java code using ant api, such as Project p= new Project(); p.setproperty(name, value); then i run this build.xml via jav

RE: webpshere application server 6 , ant and versions of ant

2005-10-25 Thread Jeffrey E Care
> So my question will be rather simple: Are scripts written in > standard ant 1.6.5 compatible with the ant bundled with WAS 6?(i am > using and so on..) Well, as I said before I'm pretty sure that WAS 6.0 bundles Ant 1.5.4; you should be able to confirm that by running "ws_ant -version". Ass

Re: webpshere application server 6 , ant and versions of ant

2005-10-25 Thread Jeffrey E Care
Steve Loughran <[EMAIL PROTECTED]> wrote on 10/25/2005 04:59:44 AM: > > http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp? > topic=/com.ibm.websphere.base.doc/info/aes/ae/rovr_antcmd.html > > > > there doesnt appear to be any relevant docs there. Are teh tasks not > exported as a

RE: generate unique id

2005-10-25 Thread Bhadra, Jatin
I agree, That is what we do. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 October 2005 11:02 To: user@ant.apache.org Subject: RE: generate unique id you could maybe make one using a formatted date time? -Original Message- From: Mikael Petters

Re: generate unique id

2005-10-25 Thread Jakob Fix
Mikael, On 25/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > you could maybe make one using a formatted date time? plus a build-number? http://ant.apache.org/manual/CoreTasks/buildnumber.html > -Original Message- > From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] > Sent:

jarsigner problem on aix

2005-10-25 Thread hind.lwahhabi
Hello folks; I have the current problem with jarsigner, using ant 1.6.5 on aix: [signjar] Current OS is AIX [signjar] Executing '/usr/java14/sh/jarsigner' with arguments: [signjar] '-keystore' [signjar] 'build/keystores/jws.keystore' [signjar] '-storepass' [signjar] 'secret' [signjar]

RE: generate unique id

2005-10-25 Thread Laurie . Green
you could maybe make one using a formatted date time? -Original Message- From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] Sent: 25 October 2005 10:54 To: user@ant.apache.org Subject: generate unique id Hi, Is it possible to generate a unique id for an attribute in ant? Id can

generate unique id

2005-10-25 Thread Mikael Petterson (KI/EAB)
Hi, Is it possible to generate a unique id for an attribute in ant? Id can consist of numbers and characters. cheers, //mikael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: using fileset to only list the filenames and not the path+filename

2005-10-25 Thread martin sweitzer
That is what I have :-) I get: myBat.bat FileName.extension \FileName.extension On 10/25/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Sorry, test code. > > - is expanded to the file, would give. With complete > path. > - is the string after all s are applied. > > So

Re: webpshere application server 6 , ant and versions of ant

2005-10-25 Thread Steve Loughran
Jeffrey E Care wrote: -i understand that WAS comes with its own ant version: is it jus a matter of libraries and jars injection in the standard version of ant?Can i continue using the standart ant while importing the specific WAS jars? IIRC yes, but good luck finding all the classes that you

RE: webpshere application server 6 , ant and versions of ant

2005-10-25 Thread hind.lwahhabi
Thanks Jeffrey. So my question will be rather simple: Are scripts written in standard ant 1.6.5 compatible with the ant bundled with WAS 6?(i am using and so on..) Hind Lwahhabi. Accenture Belgium - Financial Services & Insurance Koningstraat 145 Rue Royale, B-1000 Brussels, Belgium mobile: +3

RE: webpshere application server 6 , ant and versions of ant

2005-10-25 Thread hind.lwahhabi
Thanks for your reply. To satisafy your curiosity: all my scripts are written in ant 1.6.5 and i would like to be sure that they will be compatible with WAS 6 if i should use the ant bundled with it. The problem is that we did not yet acquired the WAS, so i still cannot play, try etc.. Hind Lw

RE: webpshere application server 6 , ant and versions of ant

2005-10-25 Thread Bhadra, Jatin
We have automated build and deploy process. Build Process: Here we use standard ANT tasks to compile the application, create a war file and create a EAR file. Note that developers supply the deployment descriptors to the build process. WAS specific task that we use in the build process is the ejb

AW: using fileset to only list the filenames and not the path+filename

2005-10-25 Thread Jan.Materne
Sorry, test code. - is expanded to the file, would give. With complete path. - is the string after all s are applied. So ... should help. Jan >-Ursprüngliche Nachricht- >Von: martin sweitzer [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 25.

Re: using fileset to only list the filenames and not the path+filename

2005-10-25 Thread martin sweitzer
That almost works! :-) What happens is that I get the following: myBat.bat FileName.extension \FileName.extension The \FileName.extension is tagged onto the end of the parameters passed to the bat file. Is there any way to avoid this? Using ant 1.6.5 On 10/25/05, [EMAIL PROTECTED] <[EMAIL PR