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 for
downloading the mksant.jar?

===============================================================================

John Martin-7 wrote:
> 
> 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 information as to where things are.  It was screwing me up that the
> output showed the ant.lib directory and my jar 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.transitionaldata.com
>  
> 
> -----Original Message-----
> From: NR031 [mailto:nataraja...@cognizant.com] 
> Sent: Thursday, March 05, 2009 7:57 AM
> To: user@ant.apache.org
> Subject: Using mksant.jar in ant script
> 
> 
> 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 <sicheckout>, <sicheckin>.... in my ant
> script,
> it will show failed to create a task or attribute <sicheckout>. I am new
> to
> the ant script and need help.
> 
> Thanks in advance
> 
> -- 
> View this message in context:
> http://www.nabble.com/Using-mksant.jar-in-ant-script-tp22351102p22351102
> .html
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-mksant.jar-in-ant-script-tp22351102p22351750.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to