--- Safak Ökmen <[EMAIL PROTECTED]> wrote: > Hi Matt, > > here is the output: > > __________ > > D:\programme\ant\bin>D:\programme\ant\bin\ant.bat > clean > Buildfile: build.xml > > one: > > BUILD SUCCESSFUL > Total time: 0 seconds > D:\programme\ant\bin> > > _______________ > > > Is it possibly interacting with the exlipse plugin > ant?
I wouldn't think so; Try running ant -version with and without fully-specified paths. If you can get either invocation to recognize the command-line arguments you can at least check whether the version running is the one you think you installed. If the fully-specified version works properly (I couldn't really tell from your last message; you'd probably have to try a few things to be sure), you can add D:\programme\ant\bin to the FRONT of your PATH and the unqualified "ant" command should work. If it does, you probably have some rogue ant lying somewhere along your PATH... -Matt > > Safak. > > Matt Benson wrote: > > Are you the first owner of this box? I would > > thoroughly investigate the possibility that the > ant > > you installed is not the ant that is being called. > > Try using full paths when you run ant for a quick > > check; i.e. D:\programme\ant\bin\ant.bat .... > > > > HTH, > > Matt > > > > --- Safak Ökmen <[EMAIL PROTECTED]> wrote: > > > >> Here is another sample: > >> > >> __________ > >> D:\programme\ant\bin>ant -debug clean > >> Buildfile: build.xml > >> > >> one: > >> > >> BUILD SUCCESSFUL > >> Total time: 1 second > >> D:\programme\ant\bin>vim build.xml > >> > >> D:\programme\ant\bin>ant -debug > >> Buildfile: build.xml > >> > >> one: > >> > >> BUILD SUCCESSFUL > >> Total time: 0 seconds > >> D:\programme\ant\bin>ant clean -debug > >> Buildfile: build.xml > >> > >> one: > >> > >> BUILD SUCCESSFUL > >> Total time: 0 seconds > >> D:\programme\ant\bin>ant clean > >> Buildfile: build.xml > >> > >> one: > >> > >> BUILD SUCCESSFUL > >> Total time: 0 seconds > >> D:\programme\ant\bin>ant hello > >> Buildfile: build.xml > >> > >> one: > >> > >> BUILD SUCCESSFUL > >> Total time: 0 seconds > >> D:\programme\ant\bin> > >> > >> __________ > >> > >> > >> I have rebooted my windows. This was not the > >> problem. I don't know. I > >> reinstalled ant, too. > >> > >> Safak. > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> [EMAIL PROTECTED] wrote: > >>> I tried you buildfile from [1] - commented only > >> the jflex-taskdef out > >>> - and > >>> that worked for me. > >>> But your output [2] doesnt seem to fit to your > buildfile. > >>> > >>> On your machine the execution order was > >>> "init,copygen,classes,shared,javadoc,all" > >>> but called was "ant clean" - never have seen > that before. > >>> > >>> So again, what does -debug say? > >>> > >>> > >>> Jan > >>> > >>> > >>> [1] http://phpfi.com/89578 > >>> [2] http://home.in.tum.de/~oekmen/antFailure.JPG > >>> > >>> > >>> > >> > > > ---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<---- > >>> C:\TEMP\ant-test6>ant init > >>> Buildfile: build.xml > >>> > >>> init: > >>> [mkdir] Created dir: C:\TEMP\ant-test6\bin > >>> [mkdir] Created dir: C:\TEMP\ant-test6\dist > >>> [mkdir] Created dir: C:\TEMP\ant-test6\etc > >>> [mkdir] Created dir: C:\TEMP\ant-test6\java > >>> [mkdir] Created dir: C:\TEMP\ant-test6\docs > >>> > >>> BUILD SUCCESSFUL > >>> Total time: 0 seconds > >>> C:\TEMP\ant-test6>ant clean > >>> Buildfile: build.xml > >>> > >>> clean: > >>> [delete] Deleting directory > >> C:\TEMP\ant-test6\bin > >>> [delete] Deleting directory > >> C:\TEMP\ant-test6\dist > >>> [delete] Deleting directory > >> C:\TEMP\ant-test6\etc > >>> [delete] Deleting directory > >> C:\TEMP\ant-test6\java > >>> [delete] Deleting directory > >> C:\TEMP\ant-test6\docs > >>> > >>> BUILD SUCCESSFUL > >>> Total time: 0 seconds > >>> C:\TEMP\ant-test6>ant clean > >>> Buildfile: build.xml > >>> > >>> clean: > >>> > >>> BUILD SUCCESSFUL > >>> Total time: 0 seconds > >>> > >> > > > ---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<---- > >>> > >>> > >>>> -----Ursprüngliche Nachricht----- > >>>> Von: Safak Ökmen [mailto:[EMAIL PROTECTED] > >>>> Gesendet: Mittwoch, 30. November 2005 20:50 > >>>> An: Ant Users List > >>>> Betreff: Re: ant not recognizing command line > argument > >>>> > >>>> Hi! > >>>> > >>>> I'm sorry. > >>>> Here I have uploaded it on my webpage: > >>>> http://home.in.tum.de/~oekmen/antFailure.JPG > >>>> > >>>> Safak. > >>>> > >>>> Ivan Ivanov wrote: > >>>>> Hello, > >>>>> > >>>>> I am sorry. I am willing to help, morever it > seems an easy issue, > >>>>> but your attachment is stripped off. If you > want to receive some > >>>>> help, sent the build log inline of the > message. > >>>>> > >>>>> Regards > >>>>> Ivan > >>>>> > >>>>> --- Safak �kmen <[EMAIL PROTECTED]> wrote: > >>>>> > >>>>>> I start it with just > >>>>>> ant (the output should be like on the jpeg) > or ant clean (the > >>>>>> output on the jpeg is false for the target > clean) > === message truncated === __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
