Re: Javac Run By Ant Script is Unable to Find External Jars
Jaikiran Pai <[email protected]>
| Newsgroups | gmane.comp.jakarta.ant.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dennis, On 13/02/19 11:56 PM, Dennis Putnam wrote: > <javac srcdir="src" destdir="bin" includeantruntime="false" /> I don't see any classpath being passed to the javac task in your build script. You should be passing a classpath containing your jars that are required to compile the source. There's more than one way to do that. The javac task manual has more details about it https://ant.apache.org/manual/Tasks/javac.html -Jaikiran