Re: [mdr-users] mdrant task -problem

Martin Matula <[email protected]> Wed, 20 Jul 2005 13:48:24 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
I am not sure if this can be improved in the ant task itself, but you 
could invoke conditionally from the build script if you have a mechanism 
how you could figure out if the thing is up-to-date. I think this is 
more on ant experts than on metafans... :)
Martin

Richard Ciglansky wrote:

> Hello metafans,
>
> I'm using mdrant task in an 'ant' script to load metamodel and 
> generate interfaces/classes from it.
> mdrant task seems not working as I expect :
> When I start with 'clean' environment, everything is going well, 
> repository is created, metamodel loaded and interfaces/classes generated.
> However if I start the script again other task simply skips their 
> activity as they do notice that everything is up to date, but mdr ant 
> task works again, loads metamodel, creates files.
> This really bother me, because I would like to use build script quite 
> often, but mdr ant ask is quite slow.
> Am I doing something wrong ?
> Is this behavior by design ? Can be this improved ?
> I'm using it in the way as shown in the sample.xml which comes with 
> mdrant task.
>
> Thanks
>
> Richard
>