I'm having a guess here but somewhere in you build file there's a sourcepath tag or attribute.. Find it and replace is with a fileset tag

something like

<fileset dir="${src.home}" includes="**/*.java"/>


On 10 Jan 2004, at 14:31, Rupen Mody wrote:


Hi,

Build failed saying soucepath could not be
found.......


Please kindly help.........


Thanks Rupen

CONSOLE OUTPUT :-

D:\eclipse\workspace\EJBTest\count>ant -v
Apache Ant version 1.6.0 compiled on December 18 2003
Buildfile: build.xml
Detected Java version: 1.4 in: C:\Program
Files\Java\j2re1.4.0-rc
Detected OS: Windows 2000
parsing buildfile
D:\eclipse\workspace\EJBTest\count\build.xml with URI
= file:/
//D:/eclipse/workspace/EJBTest/count/build.xml
Project base dir set to:
D:\eclipse\workspace\EJBTest\count
 [property] Loading
D:\eclipse\workspace\EJBTest\count\build.properties
Build sequence for target `clean' is [prepare,
ejbdoclet, compile-ejbs, ejb-jar,
 appxml, j2ee-ear, clean]
Complete build sequence is [prepare, ejbdoclet,
compile-ejbs, ejb-jar, appxml, j
2ee-ear, clean, ]

prepare:

ejbdoclet:

BUILD FAILED
D:\eclipse\workspace\EJBTest\count\build.xml:21: The
'sourcepath' attribute can
not be used anymore.  Use <fileset> to define the
files to parse
        at
xjavadoc.ant.XJavadocTask.setSourcepath(XJavadocTask.java:40)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.tools.ant.IntrospectionHelper$10.set(IntrospectionHelper.j
ava:982)
        at
org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHe
lper.java:534)
        at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfig
urable.java:406)
        at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfig
urable.java:360)
        at
org.apache.tools.ant.Task.maybeConfigure(Task.java:292)
        at
org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:220
)
        at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
a:189)
        at
org.apache.tools.ant.Task.perform(Task.java:400)
        at
org.apache.tools.ant.Target.execute(Target.java:338)
        at
org.apache.tools.ant.Target.performTasks(Target.java:365)
        at
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1094)
        at
org.apache.tools.ant.Main.runBuild(Main.java:669)
        at
org.apache.tools.ant.Main.startAnt(Main.java:220)
        at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
        at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)



__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user




------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to