ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@m64.com>
Subject RE: Windows 98? (and now a newbie question..... :)
Date Wed, 17 May 2000 13:31:56 GMT
> -----Original Message-----
> From: Rick Yazwinski [mailto:ricky@solect.com]
> Sent: Wednesday, 17 May 2000 22:50
> To: ant-dev@jakarta.apache.org
> Subject: RE: Windows 98? (and now a newbie question..... :)
>
>
> There were many problems with method prototypes... sorry, but I can't
> reproduce it now as I found the binary distribution and blew away
> my old src
> one :(
>
> Now for an ant-newbie question:
> Should the javac task build out a similar class file directory
> structure to
> the source structure.  The situation that I'm encountering (to my
> surprise)
> is that I have a source structure like:
> 	src/com/thinker/event/*.java
> 	build/classes
>
> When I run the javac task as:
>     <javac srcdir="${src.dir}"
>            destdir="${build.classes}"
>            classpath="${classpath}"
>            debug="on"
>            deprecation="on"
>            optimize="on" >
>     </javac>
>
> where src.dir is "src" and build.classes="build/classes" I loose the
> com/thinker/event directory structure and all the class files are dumped
> into build/classes - which causes my subsequent jar task to fail as it's
> looking for class files from com/thinker/event :(
>
>     <jar jarfile="${lib.dir}/${name}.jar"
>          basedir="${build.classes}"
>          includes="com/**"
>
> Any thoughts?
>

Have you got package statements in your .java files? (Soory, only thing I
could think of)



Mime
View raw message