[Monetdb-developers] [Monetdb-checkins] clients/src/java Makefile.ag, 1.3, 1.4 build.xml, 1.4, 1.5

Fabian Groffen Fabian.Groffen at cwi.nl
Wed Dec 27 16:37:32 CET 2006


I advice you to fix it properly, because your hack doesn't result in the
desired effect.

1) create_mjclient will build the jdbcclient.jar when it's not there,
   and it will end up in the builddir (where you don't want it)
2) if it wouldn't do that, it would think that the jdbcclient.jar file
   is located in the builddir, because you just told it so, hence rhe
   resulting script won't work.

On 27-12-2006 15:29:28 +0000, Niels Nes wrote:
> Index: build.xml
> ===================================================================
> RCS file: /cvsroot/monetdb/clients/src/java/build.xml,v
> retrieving revision 1.4
> retrieving revision 1.5
> diff -u -d -r1.4 -r1.5
> --- build.xml	27 Dec 2006 14:54:22 -0000	1.4
> +++ build.xml	27 Dec 2006 15:29:26 -0000	1.5
> @@ -120,12 +120,10 @@
>      <echo message="Crafting an mjclient wrapper script for ${jdbcclient-jar}" />
>      <filter token="JDBCCLIENT_JAR" value="${jdbcclient-jar}" />
>  
> -    <!-- create bindir -->
> -    <mkdir dir="${bindir}" />
>      <!-- now copy and filter the file -->
>      <copy file="${scriptdir}/mjclient.in"
>        overwrite="true"
> -      tofile="${bindir}/mjclient"
> +      tofile="${builddir}/mjclient"
>        filtering="yes" />
>    </target>





More information about the developers-list mailing list