db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: Are SimpleApp.java and SimpleMobileApp.java missing package statements?
Date Thu, 31 Jan 2008 02:33:54 GMT
John Embretsen wrote:
> There was consensus to keep SimpleApp in the default package, see 
> comments to DERBY-223 [1], but this can of course be changed if so desired.

Hi John, thanks for the follow-up.

What do you think about the following build.xml tweak? In my
environment, it fixes things so that SimpleApp.java and SimpleMobileApp.java
are no longer routinely re-compiled.

Index: java/demo/build.xml
===================================================================
--- java/demo/build.xml (revision 616784)
+++ java/demo/build.xml (working copy)
@@ -86,9 +86,8 @@
        optimize="${optimize}"
        proceed="${proceed}"
        verbose="${verbose}"
-      srcdir="${derby.demo.src.dir}"
-      destdir="${out.dir}"
-      includes="simple/**,simplemobile/**">
+      srcdir="${derby.demo.src.dir}/simple:${derby.demo.src.dir}/simplemobile"
+      destdir="${out.dir}">
        <classpath>
          <pathelement location="${javasrc.dir};${jcc}"/>
          <pathelement path="${java14compile.classpath};${jcc}"/>

Do you think this would be a reasonable improvement to the build.xml?

thanks,

bryan


Mime
View raw message