ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suu Quan" <sq...@wwc.com>
Subject Re: how to jar a package
Date Fri, 01 Jun 2001 18:57:28 GMT
> <target name="utils" >
>     <javac srcdir="utils" includes="**/*.java" excludes="**/test/**"
>         classpathref="classpath"/>
>     <jar jarfile="${lib}/utils.jar"
>          basedir="utils"
>          includes="**/*.class"
>     />
> </target>
>
> what I get is
>
> ldap/NumberString.class
> ldap/IntegerString.class
> net/
> net/TcpServer.class
> Log.class
> Int.class
>
>         instead of
>
> utils/ldap/NumberString.class
> utils/ldap/IntegerString.class
> utils/net/
> utils/net/TcpServer.class
> utils/Log.class
> utils/Int.class

Thanks to your responses, I fixed the basedir and the includes, and get the
result desired

Thanks a million.


Mime
View raw message