ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ma'moun Abu Hellu <mamounb...@yahoo.com>
Subject Re: AW: Problem with Javadoc task
Date Mon, 21 Apr 2008 09:23:14 GMT
thanks, 
  i checked this before and it work the problem actually that their is a mistake in the 
  sourcefiles path it should be ,
  "src/HelloWorld.java" 
  because i coped this part from other file where i used to declared the src in a property
tag
  like this 
  <property name="src.dir" value="src"/>
  and the code will be 
  <javadoc destdir="doctest" sourcefiles ="${src.dir}/HelloWorld.java"/>
   
  thanks again
  mamoun
  

Jan.Materne@rzf.fin-nrw.de wrote:
  I dont think that your JAVA_HOME environment variable points to a JDK (just a JRE) and therefore
no tools.jar is on the classpath?


Jan 

> -----Urspr√ľngliche Nachricht-----
> Von: Ma'moun Abu Hellu [mailto:mamounbest@yahoo.com] 
> Gesendet: Sonntag, 20. April 2008 19:53
> An: Ant Users List
> Betreff: Re: Problem with Javadoc task
> 
> Hi ,
> I'm facing the same problem ,i get the following error 
> 
> the code:
> 
> 

> 
> 
> > ="${src}/HelloWorld.java"/> 
> 
> 

> .....
> 
> 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 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@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> 
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! 
> Mobile. Try it now.
> 

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



       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message