ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Rees" <j...@alpsgiken.gr.jp>
Subject Re: always recompiles
Date Mon, 08 Apr 2002 10:48:07 GMT
Never mind. I found what I had overlooked in the docs. I was misinterpreting
the meaning of the includes property for the javac element. (I hope.)

Joel

----- Original Message -----
From: "Joel Rees" <joel@alpsgiken.gr.jp>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Monday, April 08, 2002 7:33 PM
Subject: always recompiles


> Okay, I read that a directory structure that does not match the package
name
> will cause re-compiles. Are there other reasons?
>
> Can anyway tell me what my incorrect assumptions were, or at any rate, how
I
> can get this thing to quit compiling every time?
>
> Here is my package name:
>
> jp.gr.alpsgiken.myclass.dbdriver
>
> And here is the directory structure:
>
> WEB-INF\src\jp\gr\alpsgiken\myclass\dbdriver
> WEB-INF\classes\jp\gr\alpsgiken\myclass\dbdriver
>
> and here is my build.xml, which I am keeping in WEB-INF:
>
> <?xml version="1.0" encoding="Shift_JIS" ?>
> <project name="myproject" default="dbdriver" basedir="src">
>
>   <property name="src" value="."/>
>   <property name="build" value="../classes"/>
>   <property name="dbdriver_loc" value="jp/gr/alpsgiken/myclass/dbdriver"/>
>
>   <target name="init">
>     <!-- タイムスタンプの生成 -->
>     <tstamp/>
>     <!-- samples のコンパイルに必要なディレクトリ -->
>     <mkdir dir="${build}/${dbdriver_loc}"/>
>   </target>
>
>   <target name="dbdriver" depends="init">
>     <javac
>         srcdir="${src}/${dbdriver_loc}"
>         destdir="${build}"
>         debug="on"/>
>   </target>
> </project>
>
> Joel Rees
> Alps Giken Kansai Systems Develoment
> Suita, Osaka
>
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message