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/02/01 18:25:08 UTC

[jira] Resolved: (DERBY-3372) Adjust demos build.xml to avoid re-compiling SimpleApp and SimpleMobileApp

     [ 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.