You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by syyang <sy...@gmail.com> on 2011/08/25 04:06:54 UTC

Newbie question, ant target for packaging source files from local copy?

Hi all,

I am trying to package source files containing local changes. While running
ant dist creates a war file containing the local changes, running ant
package-src-tgz exports files straight from svn repository, and does not
pick up any of the local changes.

Is there an ant target that I can use to package local copy of the source
files? Or are are we expected to just write our own?

Thanks,
-Sid

--
View this message in context: http://lucene.472066.n3.nabble.com/Newbie-question-ant-target-for-packaging-source-files-from-local-copy-tp3282787p3282787.html
Sent from the Solr - User mailing list archive at Nabble.com.

RE: Newbie question, ant target for packaging source files from local copy?

Posted by syyang <sy...@gmail.com>.
Hi Steve,

I've filed a new JIRA issue along with the patch, which can be found at
&lt;https://issues.apache.org/jira/browse/LUCENE-3406&gt;.

Please let me know if you see any problem.

Thanks!
-Sid

--
View this message in context: http://lucene.472066.n3.nabble.com/Newbie-question-ant-target-for-packaging-source-files-from-local-copy-tp3282787p3294320.html
Sent from the Solr - User mailing list archive at Nabble.com.

RE: Newbie question, ant target for packaging source files from local copy?

Posted by Steven A Rowe <sa...@syr.edu>.
Hi sid,

The current source packaging scheme aims to *avoid* including local changes :), so yes, there is no support currently for what you want to do.

Prior to <https://issues.apache.org/jira/browse/LUCENE-2973>, the source packaging scheme used the current sources rather than pulling from Subversion.  If you check out trunk revision 1083212 or earlier, or branch_3x revision 1083234 or earlier, you can see how it used to be done.

If you want to resurrect the previous source packaging scheme as a new Ant target (maybe named "package-local-src-tgz"?), and you make a new JIRA issue and post a patch, and I'll help you get it committed (assuming nobody objects).  If you haven't seen the Solr Wiki HowToContribute page <http://wiki.apache.org/solr/HowToContribute>, it may be of use to you for this.

Steve

> -----Original Message-----
> From: syyang [mailto:syyang83@gmail.com]
> Sent: Wednesday, August 24, 2011 10:07 PM
> To: solr-user@lucene.apache.org
> Subject: Newbie question, ant target for packaging source files from
> local copy?
> 
> Hi all,
> 
> I am trying to package source files containing local changes. While
> running
> ant dist creates a war file containing the local changes, running ant
> package-src-tgz exports files straight from svn repository, and does not
> pick up any of the local changes.
> 
> Is there an ant target that I can use to package local copy of the source
> files? Or are are we expected to just write our own?
> 
> Thanks,
> -Sid
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Newbie-
> question-ant-target-for-packaging-source-files-from-local-copy-
> tp3282787p3282787.html
> Sent from the Solr - User mailing list archive at Nabble.com.