lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (SOLR-2411) Build target prepare-release should produce a solr/dist/ directory that only has distribution files in it
Date Tue, 08 Mar 2011 18:15:59 GMT

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

Steven Rowe reopened SOLR-2411:
-------------------------------


bq. After this commit, solr cannot load jars in example

Not good.

bq. We've really gone backwards from a working build to a non-working build.

Yeah, that's bad.

bq. "ant dist" always created jars and wars under /dist, and solr configs refer to those.

I hadn't realized that.

{quote}
"ant dist", "ant example", etc, should result in the same directory structure as what you
get in a binary download.  But after this change, a binary download still contains the jars
in the /dist directory (and basically, so should the results of "ant dist").

I think the only cleanup needed here is to create a "packages" directory where the results
of "ant package" go, rather than going into dist along with the other jars.
{quote}

I agree - I'll revert and work up a patch implementing this.

> Build target prepare-release should produce a solr/dist/ directory that only has distribution
files in it
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2411
>                 URL: https://issues.apache.org/jira/browse/SOLR-2411
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.1, 3.2, 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>            Priority: Minor
>             Fix For: 3.1, 3.2, 4.0
>
>         Attachments: SOLR-2411.patch
>
>
> Build targets dist, dist-*, create-package, package, package-src, etc. use {{dist/}}
as a landing spot for intermediate .jar files which will not be individually shipped.
> These targets should instead use {{solr/build/}} to hold these intermediate .jars.

--
This message is automatically generated by JIRA.
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