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

Ishan Chattopadhyaya commented on SOLR-7012:
--------------------------------------------

Assert would need ant-contrib jars, and a base ant installation wouldn't work.
The <script> was to convert something like "my.plugin.pkg" to "my/plugin/pkg" 
(replace dot with slash) so that it can be used in the fileset path for the 
jar. Alternative to using that script is to use <propertyregex> tag, but, for 
that too, the ant-contrib jars are needed.

> add an ant target to package a plugin into a jar
> ------------------------------------------------
>
>                 Key: SOLR-7012
>                 URL: https://issues.apache.org/jira/browse/SOLR-7012
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>         Attachments: SOLR-7012.patch, SOLR-7012.patch, SOLR-7012.patch
>
>
> Now it is extremely hard to create  plugin because the user do not know about 
> the exact dependencies and their poms
> we will add a target to solr/build.xml called plugin-jar
> invoke it as follows
> {code}
> ant -Dplugin.package=my.package -Djar.location=/tmp/my.jar plugin-jar
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to