ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NR031 <>
Subject Re: Using mksant.jar in ant script
Date Fri, 13 Mar 2009 06:02:35 GMT


   How to use the <siresync> tag to Resynchronize working files with the
I am getting the following error message when I run this tag :

*** Cannot ask for user confirmation in batch mode; question was: "The
working file c:\Project_Folder\dummy_name\build\META-INF\catalog.xml has
been modified.
Are you sure you wish to overwrite it?"

This is what I am having in my target :

<siresync user="${mks.user}" password="${}" port="${mks.port}"
hostname="${}" sandbox="C:/Dummy/Project_folder/project.pj"

How to provide the answer for the above?

Thanks in advance

antoinell wrote:
> Hi,
> what you are missing is to add a <taskdef/> 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, it would be cleaner not to put this mksant.jar inside 
> ant_home/lib, but maybe in a lib folder below the location of your build 
> file ?
> So you would have something like that
> <taskdef resource="org/mks/ant/antlib.xml">
>    <classpath>
>        <pathelement="lib/mksant.jar"/>
>    </classpath>
> </taskdef>
> 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 the documentation)
> Hope this helps,
> Antoine
> NR031 wrote:
>> 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
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message