« Return to Thread: Problem with Javadoc task

Re: Problem with Javadoc task

by Ma'moun Abu Hellu :: Rate this Message:

Reply to Author | View in Thread

  Hi ,
  I'm facing the same problem ,i get the following error
   
  the code:
  <?xml version="1.0"?>
  <project name="Hello" default="print message">
  <target name="print message">
        <echo message="Hello from Ant!"/>
       <javadoc destdir="doctest" sourcefiles ="${src}/HelloWorld.java"/>
  </target>
  </project>
  .....
   
  Buildfile: C:\Users\Mamoun\workspace\ant\build.xml
  print message:
  [echo] Hello from Ant!
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
 
  BUILD FAILED
  C:\Users\Mamoun\workspace\ant\build.xml:10: Javadoc failed: java.io.IOException: Cannot run program "javadoc.exe": CreateProcess error=2, Impossibile trovare il file specificato
   
  i 'm using eclipse Version: 3.3.1.1, under vista.
   
  Thanks in advance

  mamoun

Troy Bull <troy.bull@...> wrote:
  Greetings

I am having trouble getting a project to build. I recently upgraded
from ant 1.6.5 to 1.7.0 and someone told me there is some problem with
the javadoc task in 1.7, is that true? Is there some work around or
patch? I would hate to have to go back to 1.6.5.

Thanks in advance
troy

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...



       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

 « Return to Thread: Problem with Javadoc task