Problem with Javadoc task

View: New views
7 Messages — Rating Filter:   Alert me  

Problem with Javadoc task

by Troy Bull-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...


launching cmd from ANt

by kermitt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

How I can from an ant script running an independant dos command?

                <exec executable="cmd" dir="${wl.domain.path}" newenvironment="false">
                        <arg line="/c start startWebLogic.cmd"/>
                </exec>


this antlet wait for the exit of cmd.exe to return back to ant processing


any help ?

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


Re: launching cmd from ANt

by supareno :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

why don't you use the Weblogic ant tasks?

you can check out this:
http://edocs.bea.com/wls/docs81/toolstable/ToolsTable.html#1009580
and this:
http://photos.sys-con.com/story/res/48932/source.html

> Hello,
>
> How I can from an ant script running an independant dos command?
>
> <exec executable="cmd" dir="${wl.domain.path}" newenvironment="false">
> <arg line="/c start startWebLogic.cmd"/>
> </exec>
>
>
> this antlet wait for the exit of cmd.exe to return back to ant processing
>  
i think that the cmd.exe will exit when Weblogic will be shutdown (i'm
not familiar with windows stuff)

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


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


Re: launching cmd from ANt

by Steve Loughran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bourzeix wrote:

> Hello,
>
> How I can from an ant script running an independant dos command?
>
> <exec executable="cmd" dir="${wl.domain.path}" newenvironment="false">
> <arg line="/c start startWebLogic.cmd"/>
> </exec>
>
>
> this antlet wait for the exit of cmd.exe to return back to ant processing
>

spawn="true". but you lose all output from the command line


--
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Re: Problem with Javadoc task

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

Reply to Author | View Threaded | Show Only this Message

  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.

AW: Problem with Javadoc task

by Jan.Materne :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...]
> 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:
>   <?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.
>

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


Re: AW: Problem with Javadoc task

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

Reply to Author | View Threaded | Show Only this Message

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

---------------------------------------------------------------------
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.