Hi Ralf, I don't really get your point. ;)
The tasks are basically wrappers for the executables to easily (and conveniently) integrate them with ant (they do additionally add some functionalites the executables do not support). If there are new versions of the executables that need additional arguments, they must also be added to the task (that is basically how ant works: every attribute and element in the build.xml must correspond to a set, create, add or addConfigured method in the task). Because hamtasc supports a huge number of extra functionalities (which would basically only need setter methods, which I did not want to implement) I added support for the <argument name="" value=""/> element, so that you can use this element for arguments not directly supported by the tasks. Greetings, Simon Ralf Bokelberg wrote: > Hi Simon, > > i'm following the discussion for some time now. I wonder if it makes > sense to mimic the commandline of all the other programs to be > controlled by the plugin. It seems like whenever one of the other > programs changes, you also need to change the plugin. Wouldn't it it > be possible to let the plugin provide the extra functionality only, > which can not be achieved otherwise? > > Cheers, > Ralf. > > On 3/15/06, *iiley* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi,. > > Just want to use custom-argument with HAMTASC for example to add > -rb_check_constructor argument. > Is it this way: > > <mtasc mtasc="${hamtasc}" > .... > argument="-rb_check_constructor > -rb_check_default_constructor_doesnt_take_param > -rb_check_function_call_missing > -rb_check_local_shadows_member_var > -rb_check_unused_privates"> > > But it said that : > The <mtasc> type doesn't support the "argument" attribute. > > > 2006/3/1, iiley <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>: > > Thank you very much, Simon. Got it now.:) > > Chinese are not allowed to visit sourceforge? Can't believe > that. ;) > (Did you get the 500 error? I got the same 2 times yesterday.) > Ah~~~ Not "not allowed", just have various issues when visit > sourceforge. No i did not get 500, it said can't find the > server/page. And i also have problems when commite files to > sourceforge cvs too:), however, maybe just my networks' > problem, but many my friends have similar problems too. > > Well, www.simonwacker.com <http://www.simonwacker.com/> addr > runs very fast here, thanks again.:) > > 2006/3/1, Simon Wacker <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>: > > Chinese are not allowed to visit sourceforge? Can't > believe that. ;) > (Did you get the 500 error? I got the same 2 times > yesterday.) > > I uploaded it on my own webspace: > www.simonwacker.com/uploads/flash/as2lib/as2ant_1.0.zip > <http://www.simonwacker.com/uploads/flash/as2lib/as2ant_1.0.zip> > And linked it on my blog: > http://www.simonwacker.com/blog/archives/000100.php > <http://www.simonwacker.com/blog/archives/000100.php> > > Greetings, > Simon > > iiley wrote: > >> Hi, Thanks very much for this great tool. But Simon is > there another >> link/space to download the file, i think most people in > china can't >> download it from sourceforge, seems there's some > restricts of >> sourceforge.net <http://sourceforge.net/> < > http://sourceforge.net <http://sourceforge.net/>> visiting > here, it's sad to >> boring you about this question. If you can provide > another download >> link/space(Or i can help to host a copy at aswing.org > <http://aswing.org/> >> <http://aswing.org <http://aswing.org/>>), that will be > very helpful for us/them to >> download it. >> >> 2006/2/28, Diego Guebel <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> <mailto: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>>: >> >> Thanks Simon for this great work, I'm downloading > this right now >> to test. >> Cheers, Diego. >> >> Simon Wacker wrote: >> > As2ant 1.0 has just been released! Best new > features are the new >> As2api >> > task and the custom-arguments support for the Mtasc > task. >> > >> > Donwload: >> > >> > > http://sourceforge.net/project/showfiles.php?group_id=94206&package_id=164902 > > <http://sourceforge.net/project/showfiles.php?group_id=94206&package_id=164902> >> > > <http://sourceforge.net/project/showfiles.php?group_id=94206&package_id=164902 > > <http://sourceforge.net/project/showfiles.php?group_id=94206&package_id=164902>> >> > >> > Full list of changes: >> > >> > [+] org.as2lib.ant.As2api >> > Added support for HTML API documentation generation > via As2api. >> > [!] org.as2lib.ant.Mtasc >> > Fixed bug with package-argument: Use relative paths! >> > [+] org.as2lib.ant.Mtasc >> > Added support for custom arguments: >> > [~] org.as2lib.ant.Mtasc >> > Ignore classes in source xml files that cannot be > found. >> > [+] org.as2lib.ant.Mtasc >> > Added support for source xml files with 'type' as > attribute. >> > [+] org.as2lib.ant.Mtasc >> > Improved commandline output by adding locations to > all exceptions. >> > [~] org.as2lib.ant.Mtasc >> > Compile all source files in split-mode, even when > one raises a >> compile >> > error. >> > >> > If you find any bugs please report them! >> > >> > >> > Cheers, >> > Simon >> > >> > >> >> _______________________________________________ >> osflash mailing list >> [email protected] <mailto:[email protected]> > <mailto:[email protected] <mailto:[email protected]>> >> http://osflash.org/mailman/listinfo/osflash_osflash.org >> >> >> >> >> -- >> iiley >> AsWing http://www.aswing.org <http://www.aswing.org/> >> Blog http://spaces.msn.com/members/iiley/ >> >>------------------------------------------------------------------------ > >> >>_______________________________________________ >>osflash mailing list >>[email protected] <mailto:[email protected]> >> http://osflash.org/mailman/listinfo/osflash_osflash.org >> >> > > -- > Simon Wacker > www.simonwacker.com <http://www.simonwacker.com/> > www.as2lib.org <http://www.as2lib.org/> > www.hq-heilbronn.de <http://www.hq-heilbronn.de/> > www.flik-flak.de <http://www.flik-flak.de/> > > > _______________________________________________ > osflash mailing list > [email protected] <mailto:[email protected]> > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > > -- > iiley > AsWing http://www.aswing.org <http://www.aswing.org/> > Blog http://spaces.msn.com/members/iiley/ > > > > > -- > iiley > AsWing http://www.aswing.org > Blog http://spaces.msn.com/members/iiley/ > _______________________________________________ > osflash mailing list > [email protected] <mailto:[email protected]> > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > >------------------------------------------------------------------------ > >_______________________________________________ >osflash mailing list >[email protected] >http://osflash.org/mailman/listinfo/osflash_osflash.org > > -- Simon Wacker www.simonwacker.com www.as2lib.org www.hq-heilbronn.de www.flik-flak.de _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
