Return-Path: Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: (qmail 81192 invoked from network); 20 May 2009 02:09:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 02:09:55 -0000 Received: (qmail 54364 invoked by uid 500); 20 May 2009 02:10:08 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 54338 invoked by uid 500); 20 May 2009 02:10:08 -0000 Mailing-List: contact commits-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@buildr.apache.org Delivered-To: mailing list commits@buildr.apache.org Received: (qmail 54329 invoked by uid 500); 20 May 2009 02:10:08 -0000 Delivered-To: apmail-incubator-buildr-commits@incubator.apache.org Received: (qmail 54324 invoked by uid 99); 20 May 2009 02:10:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 02:10:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 02:10:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 91C67234C044 for ; Tue, 19 May 2009 19:09:45 -0700 (PDT) Message-ID: <1789052224.1242785385596.JavaMail.jira@brutus> Date: Tue, 19 May 2009 19:09:45 -0700 (PDT) From: "Sean Reque (JIRA)" To: buildr-commits@incubator.apache.org Subject: [jira] Commented: (BUILDR-280) integration task not calling compile task properly In-Reply-To: <1487681435.1242660576611.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BUILDR-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710973#action_12710973 ] Sean Reque commented on BUILDR-280: ----------------------------------- I think I've actually narrowed down the magic number error to the eclipse scala plugin. If I edit the file in vim I do not get the error. I only get it when I edit the file in eclipse. However, if I delete the offending class file and run the integration test, buildr will not rebuild the class file and I will instead get a plain runtime NoClassDefFoundError. I still have to manually run compile to recompile the missing source file. > integration task not calling compile task properly > -------------------------------------------------- > > Key: BUILDR-280 > URL: https://issues.apache.org/jira/browse/BUILDR-280 > Project: Buildr > Issue Type: Bug > Components: Dependency management > Affects Versions: 1.3.3 > Environment: buildr 1.3.4 with matz ruby 1.8.7 and jdk 1.5.18 on x64 Ubuntu 9.10. > Reporter: Sean Reque > Fix For: 1.3.4 > > > I've encountered several different errors managing my joint scala/java project with buildr, and I think it boils down to an issue of dependencies, specifically the integration task. For instance, if I modify a java source file and then run an integration test, I get an invalid magic number error. If I run the integration task from a clean checkout of my source code, I get compilation errors of the test classes. If I remove class files and then run the integration task, it does not recompile the classes but yields runtime errors related to the classes not being found. All of these errors go away when I manually run the compile task first. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.