Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 11514 invoked from network); 9 Feb 2007 21:33:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2007 21:33:27 -0000 Received: (qmail 65302 invoked by uid 500); 9 Feb 2007 21:33:34 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 65158 invoked by uid 500); 9 Feb 2007 21:33:34 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 65149 invoked by uid 99); 9 Feb 2007 21:33:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 13:33:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 13:33:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7304E7142F8 for ; Fri, 9 Feb 2007 13:33:06 -0800 (PST) Message-ID: <20216369.1171056786468.JavaMail.jira@brutus> Date: Fri, 9 Feb 2007 13:33:06 -0800 (PST) From: "Jamie Orchard-Hays (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Updated: (SOLR-154) Added package tasks for creating Rails plugin and namespaced both the rails and gem packaging In-Reply-To: <1556501.1171053905950.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jamie Orchard-Hays updated SOLR-154: ------------------------------------ Attachment: Rakefile_2.diff I've removed the old package:vendor task and replaced it with rails:install_solrb. This task depends on rails:package and takes the environment variable PLUGINS_DIR which is the path to the vendor/plugins directory to which the user wants to install solrb. If PLUGINS_DIR is not given, an exception with a message is raised. > Added package tasks for creating Rails plugin and namespaced both the rails and gem packaging > --------------------------------------------------------------------------------------------- > > Key: SOLR-154 > URL: https://issues.apache.org/jira/browse/SOLR-154 > Project: Solr > Issue Type: Improvement > Components: clients - ruby - flare > Environment: Ruby and Ruby on Rails > Reporter: Jamie Orchard-Hays > Attachments: Rakefile.diff, Rakefile_2.diff > > > Solrb's (sol.rb's?) rake file has a package:vendor task that is not generating proper rails plugin structure. Rather than just fix this, I've added a PackageTask to package up a proper Rails plugin directory structure and also build distributable packages. Included are the README, LICENSE.txt, and init.rb generated and destroyed on the fly. Also, I've namespaced the Gem PackageTask and the Rails PackageTask, so the commands: > rake rails:package (and repackage, clobber, clobber_package) > rake gem:package (and the rest...) > package their files up and dump them into pkg/rails and pkg/gem, respectively. Their clobber tasks will only remove the sub-directory under pkg/, not pkg/ itself. > rake package, rake repackage run both package tasks, while rake clobber and rake clobber_package remove the complete pkg/ directory. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.