You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2010/04/07 00:47:33 UTC

[jira] Created: (BUILDR-416) Package with classifier takes precedence over default package type

Package with classifier takes precedence over default package type
------------------------------------------------------------------

                 Key: BUILDR-416
                 URL: https://issues.apache.org/jira/browse/BUILDR-416
             Project: Buildr
          Issue Type: Bug
          Components: Packaging
    Affects Versions: 1.3.5
            Reporter: Antoine Toulme
             Fix For: 1.4.1


When you package a project, you may have an unexpected side effect, if you package with a classifier before the default package, you can run into issues.


Some sample code:

define "foo" do
  package(:jar, :classifier => "sources") do
    ...
  end
  package(:jar).with LOG4J
end

You will see project("foo").packages.size == 1


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BUILDR-416) Package with classifier takes precedence over default package type

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme resolved BUILDR-416.
-----------------------------------

    Resolution: Cannot Reproduce

Cannot reproduce the problem with the current trunk anymore.

> Package with classifier takes precedence over default package type
> ------------------------------------------------------------------
>
>                 Key: BUILDR-416
>                 URL: https://issues.apache.org/jira/browse/BUILDR-416
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.5
>            Reporter: Antoine Toulme
>             Fix For: 1.4.1
>
>
> When you package a project, you may have an unexpected side effect, if you package with a classifier before the default package, you can run into issues.
> Some sample code:
> define "foo" do
>   package(:jar, :classifier => "sources") do
>     ...
>   end
>   package(:jar).with LOG4J
> end
> You will see project("foo").packages.size == 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-416) Package with classifier takes precedence over default package type

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854235#action_12854235 ] 

Antoine Toulme commented on BUILDR-416:
---------------------------------------

Workaround:

define "foo" do
  package(:jar).with LOG4J 
  package(:jar, :classifier => "sources") do 
    ... 
  end 
end

> Package with classifier takes precedence over default package type
> ------------------------------------------------------------------
>
>                 Key: BUILDR-416
>                 URL: https://issues.apache.org/jira/browse/BUILDR-416
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.3.5
>            Reporter: Antoine Toulme
>             Fix For: 1.4.1
>
>
> When you package a project, you may have an unexpected side effect, if you package with a classifier before the default package, you can run into issues.
> Some sample code:
> define "foo" do
>   package(:jar, :classifier => "sources") do
>     ...
>   end
>   package(:jar).with LOG4J
> end
> You will see project("foo").packages.size == 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.