You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2007/06/05 23:59:25 UTC
[jira] Created: (LUCENE-909) Demo targets for running the demo
Demo targets for running the demo
---------------------------------
Key: LUCENE-909
URL: https://issues.apache.org/jira/browse/LUCENE-909
Project: Lucene - Java
Issue Type: Task
Reporter: Doron Cohen
Assignee: Doron Cohen
Priority: Trivial
Fix For: 2.2
Now that the demo build targets are working and build the jar/war, it may be useful for users to also be able to run the demo with something like 'ant run-demo'. This complements existing docs/demo.html.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-909) Demo targets for running the demo
Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen updated LUCENE-909:
-------------------------------
Attachment: lucene-909.patch
The patch:
1) adds 4 targets to demo's build file:
- demo-index-html - Run html indexing demo (index the javadocs).
- demo-index-text - Run text indexing demo (index the sources of the demo).
- demo-search-html - Run interactive search demo.
- demo-search-text - Run interactive search demo.
2) changes the search demo interactive print statements (which ask user input) to println(), so that the request for input shows also when the demo runs from ant (ant buffers the output until it detects eol, found no way around this).
3) fixes a minor search demo bug, so that it now exists nicely when entering an empty query string.
> Demo targets for running the demo
> ---------------------------------
>
> Key: LUCENE-909
> URL: https://issues.apache.org/jira/browse/LUCENE-909
> Project: Lucene - Java
> Issue Type: Task
> Reporter: Doron Cohen
> Assignee: Doron Cohen
> Priority: Trivial
> Fix For: 2.2
>
> Attachments: lucene-909.patch
>
>
> Now that the demo build targets are working and build the jar/war, it may be useful for users to also be able to run the demo with something like 'ant run-demo'. This complements existing docs/demo.html.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-909) Demo targets for running the demo
Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen resolved LUCENE-909.
--------------------------------
Resolution: Fixed
Lucene Fields: [Patch Available] (was: [Patch Available, New])
committed, including Michael's suggestion ('clean' deletes demo index dirs).
> Demo targets for running the demo
> ---------------------------------
>
> Key: LUCENE-909
> URL: https://issues.apache.org/jira/browse/LUCENE-909
> Project: Lucene - Java
> Issue Type: Task
> Reporter: Doron Cohen
> Assignee: Doron Cohen
> Priority: Trivial
> Fix For: 2.2
>
> Attachments: lucene-909.patch
>
>
> Now that the demo build targets are working and build the jar/war, it may be useful for users to also be able to run the demo with something like 'ant run-demo'. This complements existing docs/demo.html.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-909) Demo targets for running the demo
Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501721 ]
Doron Cohen commented on LUCENE-909:
------------------------------------
In (3) above it should be "exits" (not "exists"...)
I will commit this if there are no objections.
> Demo targets for running the demo
> ---------------------------------
>
> Key: LUCENE-909
> URL: https://issues.apache.org/jira/browse/LUCENE-909
> Project: Lucene - Java
> Issue Type: Task
> Reporter: Doron Cohen
> Assignee: Doron Cohen
> Priority: Trivial
> Fix For: 2.2
>
> Attachments: lucene-909.patch
>
>
> Now that the demo build targets are working and build the jar/war, it may be useful for users to also be able to run the demo with something like 'ant run-demo'. This complements existing docs/demo.html.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-909) Demo targets for running the demo
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501726 ]
Michael Busch commented on LUCENE-909:
--------------------------------------
I just tried it out. Works great, Doron!
+1 for committing.
Minor question: Should ant clean also remove the directories
"demo-html-dir" and "demo-text-dir"?
> Demo targets for running the demo
> ---------------------------------
>
> Key: LUCENE-909
> URL: https://issues.apache.org/jira/browse/LUCENE-909
> Project: Lucene - Java
> Issue Type: Task
> Reporter: Doron Cohen
> Assignee: Doron Cohen
> Priority: Trivial
> Fix For: 2.2
>
> Attachments: lucene-909.patch
>
>
> Now that the demo build targets are working and build the jar/war, it may be useful for users to also be able to run the demo with something like 'ant run-demo'. This complements existing docs/demo.html.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Commented: (LUCENE-909) Demo targets for running the demo
Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501740 ]
Doron Cohen commented on LUCENE-909:
------------------------------------
Good idea, I'll add that, thanks!
> Demo targets for running the demo
> ---------------------------------
>
> Key: LUCENE-909
> URL: https://issues.apache.org/jira/browse/LUCENE-909
> Project: Lucene - Java
> Issue Type: Task
> Reporter: Doron Cohen
> Assignee: Doron Cohen
> Priority: Trivial
> Fix For: 2.2
>
> Attachments: lucene-909.patch
>
>
> Now that the demo build targets are working and build the jar/war, it may be useful for users to also be able to run the demo with something like 'ant run-demo'. This complements existing docs/demo.html.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org