buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (BUILDR-73) idea7x task incorrect adds target/resources to the sources paths
Date Fri, 27 Jun 2008 23:19:44 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Assaf Arkin resolved BUILDR-73.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.2

Added in SVN.

> idea7x task incorrect adds target/resources to the sources paths
> ----------------------------------------------------------------
>
>                 Key: BUILDR-73
>                 URL: https://issues.apache.org/jira/browse/BUILDR-73
>             Project: Buildr
>          Issue Type: Bug
>          Components: IDE
>    Affects Versions: 1.3
>         Environment: Mac OS 10.4 PPC
> ruby 1.8.5 (2006-12-25 patchlevel 12) [powerpc-darwin8.8.0]
> Buildr 1.3.0 
> java version "1.5.0_13"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
> Java HotSpot(TM) Client VM (build 1.5.0_13-120, mixed mode, sharing)
>            Reporter: Andrew Pietsch
>            Priority: Minor
>             Fix For: 1.3.2
>
>         Attachments: exclude_target_resources.patch
>
>
> The idea7x task is incorrectly adding target/resources to the list of source folders.
 This causes duplicate entries when searching for files in src/main/resources as it also finds
the copies in target/resources.  This is happening on a project where I've used the antlr
task in conjunction with compile.from.  The idea7x task is correctly adding generated/antlr
to the list of source folders. 
> The build file is attached below:
> # Generated by Buildr 1.3.0, change to your liking
> # Version number for this release
> VERSION_NUMBER = "1.0.0"
> # Version number for the next release
> NEXT_VERSION = "1.0.1"
> # Group identifier for your projects
> GROUP = "com.pietschy"
> COPYRIGHT = "Andrew Pietsch (C) 2008"
> ANTLR_RUNTIME = 'org.antlr:antlr-runtime:jar:3.0'
> EASYMOCK = 'org.easymock:easymock:jar:2.2'
> # Specify Maven 2.0 remote repositories here, like this:
> repositories.remote << "http://www.ibiblio.org/maven2/"
> desc "The Pectin Binding Framework for Swing"
> define "pectin" do
>    project.version = VERSION_NUMBER
>    project.group = GROUP
>    manifest['Copyright'] = COPYRIGHT
>    manifest["Implementation-Vendor"] = COPYRIGHT
>    compile.options.target = '1.5'
>    define "main" do
>                           
>       antlr_options = 
>       {
>       :in_package=>'com.pietschy.binding.presentation.generic.expression.antlr',
>       :token=>'com.pietschy.binding.presentation.generic.expression.antlr'
>       }
>       
>       compile.from(antlr(_(:src, :main, :java), antlr_options))  
>       
>       compile.with(ANTLR_RUNTIME)
>       test.with EASYMOCK
>       test.using :testng
>       package(:jar, :id=>'pectin').merge(artifact(ANTLR_RUNTIME))
>  
>    end    
>  end
>  

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