From dev-return-12601-apmail-forrest-dev-archive=forrest.apache.org@forrest.apache.org Thu Oct 07 19:22:07 2004 Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 93598 invoked from network); 7 Oct 2004 19:22:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Oct 2004 19:22:07 -0000 Received: (qmail 65657 invoked by uid 500); 7 Oct 2004 19:22:06 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 65621 invoked by uid 500); 7 Oct 2004 19:22:05 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 65610 invoked by uid 99); 7 Oct 2004 19:22:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [212.23.3.140] (HELO pythagoras.zen.co.uk) (212.23.3.140) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 12:22:03 -0700 Received: from [82.69.78.226] (helo=[192.168.0.2]) by pythagoras.zen.co.uk with esmtp (Exim 4.30) id 1CFdpx-0000w2-D6 for dev@forrest.apache.org; Thu, 07 Oct 2004 19:22:01 +0000 Message-ID: <4165974E.2080405@apache.org> Date: Thu, 07 Oct 2004 20:21:50 +0100 From: Ross Gardler User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: Build issues when svn switch References: <200410062217.21061.sean@inwords.co.za> <1097162962.1841.3414.camel@ighp> <200410071753.58930.sean@inwords.co.za> <200410072011.23571.sean@inwords.co.za> In-Reply-To: <200410072011.23571.sean@inwords.co.za> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Originating-Pythagoras-IP: [82.69.78.226] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sean Wheller wrote: > Ok I just tried everything and it don't. By everything I mean I deleted and > did a fresh checkout of trunk > > I did build and run, as expect it works. > > I then switched > > I did build again and run, it fails > > I then notice the following difference between the trunk build and branch > build. In the trunk build I don't get > > Created dir: /home/sean/projects/forrest/build/classes > Compiling 31 source files to /home/sean/projects/forrest/build/classes > 8 warnings > > 8 warnings > > How can I obtain an output of these warnings? > Warnings are not critical, you only need to worry about errors. These particular warnings are due to the use of deprecated code. If you want to see the warnings change the line: nowarn="on" to nowarn="off" in properties.xml None of the Java files in the branch have been touched so there is no difference between branch and trunk in this respect. In fact, you can do ./build.sh on trunk, switch to the branch and it will still work regardless of whether you do ./build.sh or not. The reason you don't get the message when building trunk is because the files are already compiled and so the build process skips this step. If you "rm -rf build" in the trunk and then do "./build.sh" you will see exactly the same message as this will force the java files to be compiled. Ross