Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I'm running Ant within Websphere 5 WSAD

 
bob morkos
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post your error? Or can you just not work out how to kick off the ant task?
 
bob morkos
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic