lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dodsworth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3725) package-local-src-tgz target is pulling in non-source jars, dist/** and package/**
Date Thu, 09 Aug 2012 20:52:18 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13432136#comment-13432136
] 

Michael Dodsworth commented on SOLR-3725:
-----------------------------------------

it's also including everything from solr/build and solr/lib/
                
> package-local-src-tgz target is pulling in non-source jars, dist/** and package/**
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-3725
>                 URL: https://issues.apache.org/jira/browse/SOLR-3725
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 4.0-ALPHA
>            Reporter: Michael Dodsworth
>            Priority: Minor
>             Fix For: 4.1
>
>
> package-local-src-tgz generates a 141M archive which contains a bunch of non-source jars:
> {code}
> tar tfz apache-solr-4.0-SNAPSHOT-src.tgz  | grep -E '(war|jar)$' | wc -l
> 134
> {code}
> It looks like we're expecting dist/** and package/** to be excluded:
> {code:xml}
> <tarfileset dir="." prefix="${fullnamever}/solr"
>                     excludes="build ${package.dir}/** ${dist}/**
>                              example/webapps/*.war example/exampledocs/post.jar
>                              lib/README.committers.txt **/data/ **/logs/*
>                              **/*.sh **/bin/ scripts/
>                              .idea/ **/*.iml **/pom.xml" />
> {code}
> The issue is that package.dir and dist refer to absolute paths; excludes assumes relative
paths.
> It's also pulling in all the contrib/**/lib/ and example/lib/ jars.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message