[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Hitoshi Ozawa (Commented) (JIRA)

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

Hitoshi Ozawa commented on CONNECTORS-314:
--

I want to merge the java and jsp properties files into one and take out the 
duplicates during the process.

>I'll commit the patch shortly. If you can get forrest to work with a 
>subdirectory,
>great - in general, though, we've found it better to keep all the xml files in 
>one
>directory. So that's what I'd recommend, and just give their names all an _ja 
>suffix or something.

Either way is fine, but if there are going to be other translations, it'll be 
easier to maintain it in a subdirectory so that a new language will just be a 
subdirectory addition. I, also, may add some additional pages to set ManifoldCF 
for a Japanese environment if any additional steps are required. I'll add the 
the "_ja" suffix to the files just in case we decide to move the files up later.

> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
> CONNECTORS-314.patch, connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [VOTE] Release Apache ManifoldCF 0.4-incubating, RC0

2011-12-19 Thread Karl Wright
Piergiorgio wants to include a section in the "how to build and
deploy" documentation for the Alfresco connector.  To me this is not
really an important enough change to spin another RC, but since we're
still waiting for Tommaso to review our releases there may be time to
do it.

But, right now, I vote +1 for RC0.  We'll see if Piergiorgio withdraws his vote.

Karl

On Mon, Dec 19, 2011 at 7:04 PM, Shinichiro Abe
 wrote:
> Thank you. I understand.
>
> +1 for me.
>
> Shinichiro Abe
>
> On 2011/12/19, at 16:25, Karl Wright wrote:
>
>> The hsqldb configuration used by multiprocess-example is an external
>> hsqldb database.  It does not require the
>> org.apache.manifoldcf.hsqldbdatabasepath property.  If you want to try
>> out the multiprocess example, take the following steps:
>>
>> (1) In one shell prompt, start the database: "start-database.bat/.sh"
>> (2) In another shell prompt, initialize the database: "initialize.bat/.sh"
>> (3) When that is done, start the agents proces: "start-agents.bat/.sh"
>>
>> Thanks,
>> Karl
>>
>>
>> On Mon, Dec 19, 2011 at 2:05 AM, Shinichiro Abe
>>  wrote:
>>> Hi.
>>>
>>> I checked 0.4 by running ant test, okay but one problem.
>>>
>>> In multiprocess-example, at default properties.xml, HSQLDB database requires
>>> 'org.apache.manifoldcf.hsqldbdatabasepath' property, containing a relative 
>>> path:
>>>
>>> 
>>>
>>> Now exception is thrown, so we need to add this property.
>>> Should I send a patch? Next?
>>>
>>> Regards,
>>> Shinichiro Abe
>>>
>>> On 2011/12/18, at 2:27, Karl Wright wrote:
>>>
 I've again uploaded an apache-manifoldcf-0.4-incubating package which you
 can download from http://people.apache.org/~kwright.  If you agree
 this should be released please vote +1.

 [Note that the release of this artifact is dependent on the release of
 the three plugin packages upon which it depends.  If we need to change
 those packages we'll need to spin a new RC of this one.  Also please
 note that I've include SHA1 signatures for the first time, as per
 Jukka's suggestion.]

 I apologize again for the earlier hiccup.  This one is the real thing,
 though, and passes all tests.

 Thanks!
 Karl
>>>
>


[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


I think the next code stage will be to move the localization property data to 
its correct places.  Is this something you want to do, or should I try and 
tackle it?


> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
> CONNECTORS-314.patch, connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


Nevermind, it was just a stupid error on my part.

Committed your changes: r1221068.


> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
> CONNECTORS-314.patch, connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


Actually, forrest seemed to pick up the subdirectory just fine.  What it didn't 
pick up though was the new tab. I'll have to try and figure out why not.


> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
> CONNECTORS-314.patch, connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


bq. As for the forrest documentation structure, how about the creating a 
Japanese tab and just creating a japanese subdirectory under xdocs? I've 
attached a tabs.xml and site.xml patch.

I'll commit the patch shortly.  If you can get forrest to work with a 
subdirectory, great - in general, though, we've found it better to keep all the 
xml files in one directory.  So that's what I'd recommend, and just give their 
names all an _ja suffix or something.


> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
> CONNECTORS-314.patch, connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


bq. I've deleted jstl.jar and standards.jar under crawler-ui directory and 
replaced it with jstl-api-1.2.jar and jstl-impl-1.2.jar from the page below: 
http://jstl.java.net/download.html

Ok, this has been checked in.

Also, you can automatically download a mysql driver by doing this BEFORE your 
first ant build-dev:

ant download-dependencies




> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
> CONNECTORS-314.patch, connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


I got the database driver working, in the single-process example.  I had to 
clean up quite a bit of stuff having to do with database naming etc.  To use:

ant build-dev
cd dist\example
[edit properties.xml to replace the database class as follows:
  
  
  
... or whatever the superuser password is on your mysql installation]
 -jar start.jar

... and everything pretty much works, except for the reports.




> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
> CONNECTORS-314.patch, connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Hitoshi Ozawa (Commented) (JIRA)

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

Hitoshi Ozawa commented on CONNECTORS-314:
--

>>I've also changed the default properties.xml to use mysql.
>> Needs mysql user and password to run properly.

>I'm afraid I'm going to need to revert this change, since it basically means 
>you have >to have MySQL running in order to use ManifoldCF under Maven. Hope 
>that's okay with >you.

No problem here. I just changed it for demo purpose because I've also changed 
some sql's directly so that the currrent patch won't correctly work with 
non-mysql database. Would have to work on it before integrating into the svn 
trunk.

Nevertheless, I thought having sample properties files for each database would 
help users. I've created properties.xml.derby and properties.xml.mysql.I think 
I forgot to include properties.xml.postgresql.

I've used the following jars:
mysql-connector-java-5.1.18-bin.jar
http://dev.mysql.com/downloads/connector/j/

I've deleted jstl.jar and standards.jar under crawler-ui directory and replaced 
it with jstl-api-1.2.jar and jstl-impl-1.2.jar from the page below:
http://jstl.java.net/download.html

> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
> CONNECTORS-314.patch, connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Hitoshi Ozawa (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hitoshi Ozawa updated CONNECTORS-314:
-

Attachment: CONNECTORS-314-doc20111220.patch

As for the forrest documentation structure, how about the creating a Japanese 
tab and just creating a japanese subdirectory under xdocs? I've attached a 
tabs.xml and site.xml patch.

> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314-doc20111220.patch, CONNECTORS-314.patch, 
> CONNECTORS-314.patch, connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [VOTE] Release Apache ManifoldCF 0.4-incubating, RC0

2011-12-19 Thread Shinichiro Abe
Thank you. I understand.

+1 for me.

Shinichiro Abe

On 2011/12/19, at 16:25, Karl Wright wrote:

> The hsqldb configuration used by multiprocess-example is an external
> hsqldb database.  It does not require the
> org.apache.manifoldcf.hsqldbdatabasepath property.  If you want to try
> out the multiprocess example, take the following steps:
> 
> (1) In one shell prompt, start the database: "start-database.bat/.sh"
> (2) In another shell prompt, initialize the database: "initialize.bat/.sh"
> (3) When that is done, start the agents proces: "start-agents.bat/.sh"
> 
> Thanks,
> Karl
> 
> 
> On Mon, Dec 19, 2011 at 2:05 AM, Shinichiro Abe
>  wrote:
>> Hi.
>> 
>> I checked 0.4 by running ant test, okay but one problem.
>> 
>> In multiprocess-example, at default properties.xml, HSQLDB database requires
>> 'org.apache.manifoldcf.hsqldbdatabasepath' property, containing a relative 
>> path:
>> 
>> 
>> 
>> Now exception is thrown, so we need to add this property.
>> Should I send a patch? Next?
>> 
>> Regards,
>> Shinichiro Abe
>> 
>> On 2011/12/18, at 2:27, Karl Wright wrote:
>> 
>>> I've again uploaded an apache-manifoldcf-0.4-incubating package which you
>>> can download from http://people.apache.org/~kwright.  If you agree
>>> this should be released please vote +1.
>>> 
>>> [Note that the release of this artifact is dependent on the release of
>>> the three plugin packages upon which it depends.  If we need to change
>>> those packages we'll need to spin a new RC of this one.  Also please
>>> note that I've include SHA1 signatures for the first time, as per
>>> Jukka's suggestion.]
>>> 
>>> I apologize again for the earlier hiccup.  This one is the real thing,
>>> though, and passes all tests.
>>> 
>>> Thanks!
>>> Karl
>> 



[jira] [Commented] (CONNECTORS-332) Multiprocess example might benefit from a multiprocess jetty runner, started by a script

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-332:


r1220925


> Multiprocess example might benefit from a multiprocess jetty runner, started 
> by a script
> 
>
> Key: CONNECTORS-332
> URL: https://issues.apache.org/jira/browse/CONNECTORS-332
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Examples
>Affects Versions: ManifoldCF 0.4, ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
> Fix For: ManifoldCF 0.5
>
>
> Currently the multiprocess example presumes you will start your web 
> applications on Tomcat.  It would be convenient and demonstrative, though, to 
> have a Jetty-based way of running those web applications within the confines 
> of the example.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (CONNECTORS-332) Multiprocess example might benefit from a multiprocess jetty runner, started by a script

2011-12-19 Thread Karl Wright (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/CONNECTORS-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-332.


Resolution: Fixed

> Multiprocess example might benefit from a multiprocess jetty runner, started 
> by a script
> 
>
> Key: CONNECTORS-332
> URL: https://issues.apache.org/jira/browse/CONNECTORS-332
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Examples
>Affects Versions: ManifoldCF 0.4, ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
> Fix For: ManifoldCF 0.5
>
>
> Currently the multiprocess example presumes you will start your web 
> applications on Tomcat.  It would be convenient and demonstrative, though, to 
> have a Jetty-based way of running those web applications within the confines 
> of the example.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


Added abstraction for the COUNT() construct, so that all the tests now pass in 
the CONNECTORS-314 branch.


> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
> connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


Committed what I think are most of the missing methods from the 
DBInterfaceMySQL class, and restored index inspection in all the places it 
happens.  I haven't tried it (mostly because I don't have a readily available 
MySQL instance), but either you can try it or you can wait for me to install 
MySQL somewhere.  Also:

bq. I've also changed the default properties.xml to use mysql. Needs mysql user 
and password to run properly.

I'm afraid I'm going to need to revert this change, since it basically means 
you have to have MySQL running in order to use ManifoldCF under Maven.  Hope 
that's okay with you.


> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
> connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


I just committed code that queries the information schema for the missing MySQL 
methods, and also makes "ant download-dependencies" bring in the mysql jdbc 
driver.  Can you try this in your location?  I have not yet removed the checks 
that disable the index query.


> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
> connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Issue Comment Edited) (JIRA)

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

Karl Wright edited comment on CONNECTORS-314 at 12/19/11 11:14 AM:
---

bq. Is it necessary to include Message.java in each connector or is it possible 
to just leave it as a common utility class?

A common utility class is fine.

bq. There's "information schema" in MySQL. Just didn't have time this time to 
use it because it'll require more work. I wanted to show that it was possible 
to use MySQL with ManifoldCF and do the revisions afterwards. Somebody else may 
want to pitch in now since it's clear that it possible.

As long as that is the case, I can lift the code from the hsqldb driver for the 
missing DBInterfaceMySQL methods.  I will do that and check everything in when 
I've also coded the conditional download of the mysql driver in the build 
process.


  was (Author: kwri...@metacarta.com):
bq. Is it necessary to include Message.java in each connector or is it 
possible to just leave it as a common utility class?

A common utility class is fine.  I'd move it to 
org.apache.manifoldcf.uicore.i18n though, I think, in the project 
framework/uicore.

bq. There's "information schema" in MySQL. Just didn't have time this time to 
use it because it'll require more work. I wanted to show that it was possible 
to use MySQL with ManifoldCF and do the revisions afterwards. Somebody else may 
want to pitch in now since it's clear that it possible.

As long as that is the case, I can lift the code from the hsqldb driver for the 
missing DBInterfaceMySQL methods.  I will do that and check everything in when 
I've also coded the conditional download of the mysql driver in the build 
process.

  
> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
> connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


bq. Is it necessary to include Message.java in each connector or is it possible 
to just leave it as a common utility class?

A common utility class is fine.  I'd move it to 
org.apache.manifoldcf.uicore.i18n though, I think, in the project 
framework/uicore.

bq. There's "information schema" in MySQL. Just didn't have time this time to 
use it because it'll require more work. I wanted to show that it was possible 
to use MySQL with ManifoldCF and do the revisions afterwards. Somebody else may 
want to pitch in now since it's clear that it possible.

As long as that is the case, I can lift the code from the hsqldb driver for the 
missing DBInterfaceMySQL methods.  I will do that and check everything in when 
I've also coded the conditional download of the mysql driver in the build 
process.


> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
> connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Hitoshi Ozawa (Commented) (JIRA)

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

Hitoshi Ozawa commented on CONNECTORS-314:
--

Separating properties file for each connector won't be too difficult. The Java 
properties files Message.java takes properties file name as a argument. Is it 
necessary to include Message.java in each connector or is it possible to just 
leave it as a common utility class? The fmt can be done as you've suggested.

I found another problem, the original Japanese patch files (*.utf) aren't 
coming out right with the right encoding with the svn command. I'll work on 
that.

There's "information schema" in MySQL. Just didn't have time this time to use 
it because it'll require more work. I wanted to show that it was possible to 
use MySQL with ManifoldCF and do the revisions afterwards. Somebody else may 
want to pitch in now since it's clear that it possible.


> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
> connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


It looks like the following link describes what I need to know for the 
fmt:message tag, in order to customize the fmt:message tag for different 
sections of the code:

http://codesnippets.joyent.com/posts/show/1151

I'm therefore going to want to add a  tag to the UI common header, 
rather than have the bundle be set as a context-param in the webapp.


> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
> connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (CONNECTORS-332) Multiprocess example might benefit from a multiprocess jetty runner, started by a script

2011-12-19 Thread Karl Wright (Created) (JIRA)
Multiprocess example might benefit from a multiprocess jetty runner, started by 
a script


 Key: CONNECTORS-332
 URL: https://issues.apache.org/jira/browse/CONNECTORS-332
 Project: ManifoldCF
  Issue Type: Improvement
  Components: Examples
Affects Versions: ManifoldCF 0.4, ManifoldCF 0.5
Reporter: Karl Wright
Assignee: Karl Wright
 Fix For: ManifoldCF 0.5


Currently the multiprocess example presumes you will start your web 
applications on Tomcat.  It would be convenient and demonstrative, though, to 
have a Jetty-based way of running those web applications within the confines of 
the example.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (CONNECTORS-314) Combined MySQL and i18n/Japanese contribution

2011-12-19 Thread Karl Wright (Commented) (JIRA)

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

Karl Wright commented on CONNECTORS-314:


Another quick comment:
The i18n work looks fine except for one problem, which we'll need to solve 
somehow.  That problem is that each individual connector is essentially 
compiled and delivered completely separately, and must therefore carry its own 
i18n and localization with it.  I'll therefore be trying to come up with a way 
of generalizing your contribution so that this separation can be readily done.  
Any ideas you might have are very welcome.


> Combined MySQL and i18n/Japanese contribution
> -
>
> Key: CONNECTORS-314
> URL: https://issues.apache.org/jira/browse/CONNECTORS-314
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Framework agents process, Framework core, Framework 
> crawler agent
>Affects Versions: ManifoldCF 0.5
>Reporter: Karl Wright
>Assignee: Karl Wright
>  Labels: I18N, mysql
> Fix For: ManifoldCF 0.5
>
> Attachments: CONNECTORS-314.patch, CONNECTORS-314.patch, 
> connectors.patch, framework.patch
>
>
> Hitoshi Ozawa wishes to contribute i18n support, a Japanese localization, and 
> MySQL database support, all in one patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira