You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Bryan Pendleton (JIRA)" <ji...@apache.org> on 2008/01/31 19:45:09 UTC
[jira] Created: (DERBY-3372) Adjust demos build.xml to avoid
re-compiling SimpleApp and SimpleMobileApp
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.
[jira] Updated: (DERBY-3372) Adjust demos build.xml to avoid
re-compiling SimpleApp and SimpleMobileApp
Posted by "Bryan Pendleton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Pendleton updated DERBY-3372:
-----------------------------------
Attachment: buildScript.diff
Attached is buildScript.diff, for review.
> 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
> Attachments: buildScript.diff
>
>
> 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.
[jira] Commented: (DERBY-3372) Adjust demos build.xml to avoid
re-compiling SimpleApp and SimpleMobileApp
Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564723#action_12564723 ]
Kristian Waagan commented on DERBY-3372:
----------------------------------------
I applied the patch and observed that things still got built. I also noticed that when running the demo target more than once, the classes were not recompiled.
+1 to commit
> 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
> Attachments: buildScript.diff
>
>
> 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.
[jira] Updated: (DERBY-3372) Adjust demos build.xml to avoid
re-compiling SimpleApp and SimpleMobileApp
Posted by "Bryan Pendleton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Pendleton updated DERBY-3372:
-----------------------------------
Derby Info: [Patch Available]
> 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
> Attachments: buildScript.diff
>
>
> 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.
[jira] Resolved: (DERBY-3372) Adjust demos build.xml to avoid
re-compiling SimpleApp and SimpleMobileApp
Posted by "Bryan Pendleton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Pendleton resolved DERBY-3372.
------------------------------------
Resolution: Fixed
Fix Version/s: 10.4.0.0
Derby Info: (was: [Patch Available])
Thanks John and Kristian for the help! Committed the build.xml
change to the trunk as revision 617567.
> 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
> Fix For: 10.4.0.0
>
> Attachments: buildScript.diff
>
>
> 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.
[jira] Closed: (DERBY-3372) Adjust demos build.xml to avoid
re-compiling SimpleApp and SimpleMobileApp
Posted by "Bryan Pendleton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Pendleton closed DERBY-3372.
----------------------------------
> 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
> Fix For: 10.4.0.0
>
> Attachments: buildScript.diff
>
>
> 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.