Run other build file

2009-03-31 Thread NR031
Hi, I have created a testbuild.xml and the content of the file is Hello World! How to run the target simple from command line? Thanks in advance, -- View this message in context: http://www.nabble.com/Run-other-build-file-tp22803538p22803538.html Sent fro

Class-Path error in Ant Script

2009-03-30 Thread NR031
Hi, I am writing my Ant build script according to the tutorial given http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html here . I have downloaded the Log4j from the site http://www.apache.org/dist/logging/log4j/1.2.14/logging-log4j-1.2.14.zip. I have copied the JAR file to my local

How to combine the values of 2 property files and putting into another property name

2009-03-24 Thread NR031
Hi, I have created 2 property files: test1.properties : Project1-URL=http://localhost:9080/dummyURL1 Project2-URL=http://localhost:9080/dummyURL2 test2.properties : name1=Project1 name2=Project2 and the ant target is : For Below tag I should get the http://localhost:9080

Re: AW: Sending mails from ant script

2009-03-16 Thread NR031
;> -Ursprüngliche Nachricht- >> Von: NR031 [mailto:nataraja...@cognizant.com] >> Gesendet: Montag, 16. März 2009 08:04 >> An: user@ant.apache.org >> Betreff: Sending mails from ant script >> >> >> Hi, >> >>I am gettin

Sending mails from ant script

2009-03-16 Thread NR031
Hi, I am getting NoClassDeffound exception when I tried to send mails. This is my code : and this is what I am getting: email: Sending email: null java.lang.NoClassDefFoundError: javax/mail/MessagingException at org.apache.tools.ant.taskdefs.email.MimeMailer.send(Mime

Re: Using mksant.jar in ant script

2009-03-12 Thread NR031
ge the org/mks/ant/antlib.xml part, I do not know how > this file is called in mksant.jar or if it even exists. > > Doing a jar tvf mksant.jar or opening the file in Winzip or similar will > give you an idea of what is in there (or reading the documentation) > > Hope this helps,

How to skip the rest of execution

2009-03-06 Thread NR031
Hi, Ho to exit from executing the rest of targets if some conditions get failed. This is what I expect : success ${letter} Not equal ***Code For Ex

Re: How to use nested if in ant script?

2009-03-06 Thread NR031
Hi Peter, Thanks for your quick reply. === Peter Reilly-2 wrote: > > > > > > > > > > > > > On Fri, Mar 6, 2009 at 8:45 AM, NR

Re: How to use nested if in ant script?

2009-03-06 Thread NR031
} Not equal === NR031 wrote: > > Hi, > > How do I use nested tag in ant script. I want to check 2 strings > and if both are true then it has to do some action. I di

How to use nested if in ant script?

2009-03-06 Thread NR031
Hi, How do I use nested tag in ant script. I want to check 2 strings and if both are true then it has to do some action. I did like this but getting You must not nest more than one condition into if

Re: Using mksant.jar in ant script

2009-03-05 Thread NR031
> > > > You need to change the org/mks/ant/antlib.xml part, I do not know how > this file is called in mksant.jar or if it even exists. > > Doing a jar tvf mksant.jar or opening the file in Winzip or similar will > give you an idea of what is in there (or reading

RE: Using mksant.jar in ant script

2009-03-05 Thread NR031
appearing in the > class.path but it didn't work until I moved it to the java directory. > > Good luck. > > John > > John Martin > Principal Consultant > TransitionalData Services, Inc. > 92 South Street > Hopkinton, MA 01748 > http://www.transitio

Using mksant.jar in ant script

2009-03-05 Thread NR031
Hi, How to use mksant.jar file inside ant script. I want to connect to MKS to checkout modules. I placed this jar in my ant_home/lib folder. When i try to use the the tags such as , in my ant script, it will show failed to create a task or attribute . I am new to the ant script and ne

RE: How do I access MKS from Ant Script

2009-03-04 Thread NR031
Hi, I have copied the mksant.jar from the link http://www.nabble.com/How-do-I-access-MKS-from-Ant-Script-tp22330372p22330372.html http://www.nabble.com/How-do-I-access-MKS-from-Ant-Script-tp22330372p22330372.html and added in to my /lib folder. I am using netbeans for editing a

RE: How do I access MKS from Ant Script

2009-03-04 Thread NR031
Thanks for the suggestion. Could you please send me the link from which I can download "mksant.jar". -- mgainty wrote: > > > you could create a taskdef to implement Nixdorf-Leipzig MKS task locat

How do I access MKS from Ant Script

2009-03-04 Thread NR031
Hi, I saw some of the blogs which says about check-out module from MKS using Nant. But how do I check-out module from MKS using Ant script. Is there any jar file available for this? Thanks in advance. -- View this message in context: http://www.nabble.com/How-do-I-access-MKS-from-Ant-Scr