Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

No source files and no packages have been specified when i run the javadoc

843785Sep 4 2008 — edited Sep 4 2008
I am getting an error message No source files and no packages have been specified when i run the javadoc for ANT
My Built file consists of

{color:#0000ff}<target name="doc" depends="init" >
<javadoc destdir="build/classes"
sourcepath="src"
packagenames="org.*" />
</target>
{color}Path of my source file is C:\GettingStarted\src\Main.java
My source code is

{color:#0000ff}package org.example.antbook.lesson1;
public class Main {
public static void main(String args[]) {
for(int i=0;i<args.length;i++) {
System.out.println(args);
}
}
}
{color}Can Anyone Help me out
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 2 2008
Added on Sep 4 2008
1 comment
1,050 views