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

Ryan McKinley commented on SOLR-868:
------------------------------------

thanks Matthias

I just commited this -- can you check it out and see if it behaves as expected?

Erik, do you know how we could make velocity a dependency of the javascript 
contrib?  We really should remove the velocity libs and add them in at runtime:
{code}
Adding         javascript/example/reuters/testsolr/solr/lib
Adding  (bin)  
javascript/example/reuters/testsolr/solr/lib/apache-solr-velocity-1.4-dev.jar
Adding  (bin)  
javascript/example/reuters/testsolr/solr/lib/commons-collections-3.2.jar
Adding  (bin)  javascript/example/reuters/testsolr/solr/lib/commons-lang-2.4.jar
Adding  (bin)  
javascript/example/reuters/testsolr/solr/lib/solrjs-1.4-dev-templates.jar
Adding  (bin)  
javascript/example/reuters/testsolr/solr/lib/velocity-1.6-beta2.jar
Adding  (bin)  
javascript/example/reuters/testsolr/solr/lib/velocity-tools-2.0-beta2.jar
{code}

> Prepare solrjs trunk to be integrated into contrib
> --------------------------------------------------
>
>                 Key: SOLR-868
>                 URL: https://issues.apache.org/jira/browse/SOLR-868
>             Project: Solr
>          Issue Type: Task
>    Affects Versions: 1.4
>            Reporter: Matthias Epheser
>            Assignee: Ryan McKinley
>             Fix For: 1.4
>
>         Attachments: javascript_contrib.zip, reutersimporter.jar, 
> SOLR-868-testdata.patch, solrjs.zip
>
>
> This patch includes a zipfile snapshot of current solrjs trunk. The folder 
> structure is applied to standard solr layout.  It can be extracted to 
> "contrib/javascript".
> it includes a build.xml:
> * ant dist -> creates a single js file and a jar that holds velocity 
> templates.
> * ant docs -> creates js docs. test in browser: doc/index.html
> * ant example-init -> (depends ant dist on solr root) copies the current 
> built of solr.war and solr-velocity.jar to example/testsolr/..
> * ant example-start -> starts the testsolr server on port 8983
> * ant example-import -> imports 3000 test data rows (requires a started 
> testserver)
> Point your browser to example/testClientside.html 
> ,example/testServerSide.html or test/reuters/index.html to see it working.

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

Reply via email to