wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes I'm running Ant within Websphere 5 WSAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "I Watch "I New topic
Author

I'm running Ant within Websphere 5 WSAD

bob morkos
Ranch Hand

Joined: Oct 06, 2003
Posts: 56
The problem is that I can't run the javadoc task within Websphere, but I can run it within a D.O.S. prompt. Could anyone tell me how to get it working within Websphere? Thanks in advance.
eammon bannon
Ranch Hand

Joined: Mar 16, 2004
Posts: 140
Could you post your error? Or can you just not work out how to kick off the ant task?
bob morkos
Ranch Hand

Joined: Oct 06, 2003
Posts: 56
build.xml:166: Javadoc failed: java.io.IOException: CreateProcess: javadoc -d
at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:969)
at org.apache.tools.ant.Task.perform(Task.java:217)
at org.apache.tools.ant.Target.execute(Target.java:184)
at org.apache.tools.ant.Target.performTasks(Target.java:202)
at org.apache.tools.ant.Project.executeTarget(Project.java:601)
at org.apache.tools.ant.Project.executeTargets(Project.java:560)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:262)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:234)
at org.eclipse.ui.externaltools.internal.core.AntFileRunner.execute(AntFileRunner.java:56)
at org.eclipse.ui.externaltools.internal.core.DefaultRunnerContext.executeRunner(DefaultRunnerContext.java:428)
at org.eclipse.ui.externaltools.internal.core.DefaultRunnerContext.run(DefaultRunnerContext.java:479)
at org.eclipse.ui.externaltools.internal.ui.AntLaunchWizard$1.run(AntLaunchWizard.java:117)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:98)
--- Nested Exception ---
java.io.IOException: CreateProcess: javadoc -d D:\views\
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:87)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:582)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:564)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:384)
at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:964)
at org.apache.tools.ant.Task.perform(Task.java:217)
at org.apache.tools.ant.Target.execute(Target.java:184)
at org.apache.tools.ant.Target.performTasks(Target.java:202)
at org.apache.tools.ant.Project.executeTarget(Project.java:601)
at org.apache.tools.ant.Project.executeTargets(Project.java:560)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:262)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:234)
at org.eclipse.ui.externaltools.internal.core.AntFileRunner.execute(AntFileRunner.java:56)
at org.eclipse.ui.externaltools.internal.core.DefaultRunnerContext.executeRunner(DefaultRunnerContext.java:428)
at org.eclipse.ui.externaltools.internal.core.DefaultRunnerContext.run(DefaultRunnerContext.java:479)
at org.eclipse.ui.externaltools.internal.ui.AntLaunchWizard$1.run(AntLaunchWizard.java:117)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:98)
Build exception: D:\views\prj_dev_view\Realization\build.xml:166: Javadoc failed: java.io.IOException: CreateProcess: javadoc -d
<CODE>
<javadoc packagenames="com.*"
sourcepath="${XXX}/src"
destdir="${XXX}/doc"
windowtitle="XXX"
author="true"
version="true"
use="true"
maxmemory="256m"
doctitle="XXX API Specification"
bottom="Copyright � 2000 XXX. All Rights Reserved."
>
<sourcepath location="${XXX}/src"/>
<classpath refid="classpath"/>
<header>
<![CDATA[<b>XXX Platform </b><br><font size="-1">v1</font>]]>
</header>
</javadoc>
</CODE>
WITH THE ARGUMENT:
-Dbuild.compiler=org.eclipse.jdt.core.JDTCompilerAdapter

Originally posted by eammon bannon:
Could you post your error? Or can you just not work out how to kick off the ant task?
 
 
subject: I'm running Ant within Websphere 5 WSAD
 
Similar Threads
JSP error in WSAD 5.0
Move a file in a WAR
JVM Crash
Does RAD 7.5 IDe has support for running 5.1.2 test server
Apache Axis 1.3 SOAP 1.1