Note that there are some explanatory texts on larger screens.

plurals
  1. POant javadoc does not build
    primarykey
    data
    text
    <p>This is my first java project deploying ant. I have to submit my code soon and do not have time for Hello World sort of thing for Ant. I tried to make a build.xml for my project after doing a bit of google but now i am stuck!</p> <p>The ant javadoc does not work for me. Below is the error it displays when given the command : ant javadoc -debug</p> <pre><code>Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor Adding reference: ant.executor BUILD FAILED Target "javadoc" does not exist in the project "Ant-Test". at org.apache.tools.ant.Project.tsort(Project.java:1912) at org.apache.tools.ant.Project.topoSort(Project.java:1820) at org.apache.tools.ant.Project.topoSort(Project.java:1783) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:811) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Total time: 0 seconds </code></pre> <p>the package under which i have created all my four classes </p> <pre><code>package org.acrusys.customers; </code></pre> <p>and last but not the least below is the directory structure</p> <pre><code>Directory of C:\Users\Salman\JavaWorkspace\Arcusys\src\org\acrusys\customers 04/11/2012 07:40 PM &lt;DIR&gt; . 04/11/2012 07:40 PM &lt;DIR&gt; .. 04/11/2012 06:20 PM 757 AllCustomers.class 04/11/2012 12:22 PM 520 AllCustomers.java 04/11/2012 07:40 PM &lt;DIR&gt; build 04/11/2012 07:30 PM 1,746 build.xml 04/11/2012 03:09 PM &lt;DIR&gt; classes 04/11/2012 06:20 PM 1,470 Customer.class 04/11/2012 05:27 PM 1,456 Customer.java 04/11/2012 06:20 PM 1,396 CustomerFullAddress.class 04/10/2012 11:55 PM 1,343 CustomerFullAddress.java 04/11/2012 06:20 PM 2,890 CustomerMain.class 04/11/2012 06:19 PM 2,392 CustomerMain.java 04/11/2012 07:40 PM &lt;DIR&gt; dist 04/11/2012 07:40 PM &lt;DIR&gt; docs 04/11/2012 06:55 PM &lt;DIR&gt; src </code></pre> <p>Here is the Javadoc (i forget to paste it initially)</p> <pre><code>&lt;target name="docs" depends="compile"&gt; &lt;javadoc packagenames="org.acrusys.customers.*" sourcepath="${src.dir}" destdir="${docs.dir}"&gt; &lt;!-- Define which files / directory should get included, we include all --&gt; &lt;fileset dir="${src.dir}"&gt; &lt;include name="**" /&gt; &lt;/fileset&gt; &lt;/javadoc&gt; &lt;/target&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload