Re: Using mksant.jar in ant script

2009-03-15 Thread Antoine Levy Lambert
Hi, I think you should try to contact support forums dealing specifically with mks to get this question answered. Regards, Antoine NR031 wrote: Hi, How to use the tag to Resynchronize working files with the repository? I am getting the following error message when I run this tag : sy

Re: Using mksant.jar in ant script

2009-03-12 Thread NR031
Hi, How to use the tag to Resynchronize working files with the repository? I am getting the following error message when I run this tag : synchronize: *** Cannot ask for user confirmation in batch mode; question was: "The working file c:\Project_Folder\dummy_name\build\META-INF\catalog.xml

Re: Using mksant.jar in ant script

2009-03-05 Thread NR031
Hi Antoine, Thank you so much for your suggetion, it really helped me. This is what I did : I placed the mksant.jar in my local path e.g., C:/dummy/folder/mksant.jar I placed my build file inside the directory C:/dummy/folder. and then I followed your steps :

Re: Using mksant.jar in ant script

2009-03-05 Thread Antoine Levy Lambert
Hi, what you are missing is to add a invocation in your build file to make the ant tasks contained in mksant.jar known to your build file. mksant.jar probably contains either an antlib.xml file or a property file with the list of the ant tasks, and this must be referenced. Additionnally, i

RE: Using mksant.jar in ant script

2009-03-05 Thread John Martin
The project that I have been working on had to do with a different jar, not the mksant.jar file. I did a quick google but didn't find what you are looking for. I would suggest starting at http://www.mks.com/support/news. John

RE: Using mksant.jar in ant script

2009-03-05 Thread NR031
Hi, Thanks for your quick reply. I put the jar file in my JDK home, but still it is not recognising the jar. I am using Netbeans as my IDE. Previously I added a contrib jar to my netbeans/ant/lib folder and it worked fine for me, but this jar is not working. Can you please send me the URL fo

RE: Using mksant.jar in ant script

2009-03-05 Thread John Martin
I found that putting the jar into the ANT_HOME/lib directory did not work. I had the add to the JAVA_HOME/ant directory in order for ant to find it. On Linux the directory I placed my jars into was /usr/share/java/ant. If you run the command 'ant -diagnostics' it will give you quite a bit of inf