db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-3372) Adjust demos build.xml to avoid re-compiling SimpleApp and SimpleMobileApp
Date Thu, 31 Jan 2008 18:45:09 GMT
Adjust demos build.xml to avoid re-compiling SimpleApp and SimpleMobileApp
--------------------------------------------------------------------------

                 Key: DERBY-3372
                 URL: https://issues.apache.org/jira/browse/DERBY-3372
             Project: Derby
          Issue Type: Improvement
          Components: Build tools, Demos/Scripts
    Affects Versions: 10.4.0.0
            Reporter: Bryan Pendleton
            Assignee: Bryan Pendleton
            Priority: Trivial


I propose to adjust the java/demo/build.xml file to change the "srcdir" and "includes"
values on the javac task that compiles SimpleApp.java and SimpleMobileApp.java.

Since these two Java programs are not inside of a package, Ant is happiest if
we specify their srcdir directories directly, see:
http://ant.apache.org/faq.html#always-recompiles 

The change to java/demo/build.xml will be

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}"/>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message