[jira] Updated: (CONNECTORS-91) Making the initialization commands more useable

2010-08-23 Thread Jettro Coenradie (JIRA)

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

Jettro Coenradie updated CONNECTORS-91:
---

Attachment: change_commands.patch

Some strange things are happening, not sure what went wrong. I did do an svn 
up, I am sure of that. Nevertheless, I think I have it working now. You might 
need to change the depth of which to apply the patch.

I recreated the patch with intellij and it uses one folder of my own. The 
following command strips of this folder

patch -p1 -i ~/change_commands.patch

I tried it on a clean checkout of the project locally and it seems to work

Hope it works now, sorry I did not try it myself before

 Making the initialization commands more useable
 ---

 Key: CONNECTORS-91
 URL: https://issues.apache.org/jira/browse/CONNECTORS-91
 Project: Apache Connectors Framework
  Issue Type: Improvement
  Components: Framework core
Reporter: Jettro Coenradie
 Fix For: LCF Release 0.5

 Attachments: change_commands.patch


 At the moment LCF comes with some classes that can be used to run command 
 line to interact with the system. Examples are DBCreate, DBDrop and 
 LockClean. I wanted to create a class that rebuilds my complete environment. 
 So dropping a database, creating a database, cleaning the synch folder, 
 registering agents, etc. Due to the structure of the classes with all the 
 logic in the main method, I could not easily reuse these classes. In the 
 patch I submit with issue I have refactored the current solution in a better 
 reuseable solution that can still be called command line.

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



[jira] Updated: (CONNECTORS-91) Making the initialization commands more useable

2010-08-23 Thread Jettro Coenradie (JIRA)

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

Jettro Coenradie updated CONNECTORS-91:
---

Attachment: (was: changesToCommandClasses.patch)

 Making the initialization commands more useable
 ---

 Key: CONNECTORS-91
 URL: https://issues.apache.org/jira/browse/CONNECTORS-91
 Project: Apache Connectors Framework
  Issue Type: Improvement
  Components: Framework core
Reporter: Jettro Coenradie
 Fix For: LCF Release 0.5

 Attachments: change_commands.patch


 At the moment LCF comes with some classes that can be used to run command 
 line to interact with the system. Examples are DBCreate, DBDrop and 
 LockClean. I wanted to create a class that rebuilds my complete environment. 
 So dropping a database, creating a database, cleaning the synch folder, 
 registering agents, etc. Due to the structure of the classes with all the 
 logic in the main method, I could not easily reuse these classes. In the 
 patch I submit with issue I have refactored the current solution in a better 
 reuseable solution that can still be called command line.

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



[jira] Updated: (CONNECTORS-91) Making the initialization commands more useable

2010-08-23 Thread Jettro Coenradie (JIRA)

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

Jettro Coenradie updated CONNECTORS-91:
---

Comment: was deleted

(was: sorry, pushed the wrong button I guess)

 Making the initialization commands more useable
 ---

 Key: CONNECTORS-91
 URL: https://issues.apache.org/jira/browse/CONNECTORS-91
 Project: Apache Connectors Framework
  Issue Type: Improvement
  Components: Framework core
Reporter: Jettro Coenradie
 Fix For: LCF Release 0.5

 Attachments: change_commands.patch


 At the moment LCF comes with some classes that can be used to run command 
 line to interact with the system. Examples are DBCreate, DBDrop and 
 LockClean. I wanted to create a class that rebuilds my complete environment. 
 So dropping a database, creating a database, cleaning the synch folder, 
 registering agents, etc. Due to the structure of the classes with all the 
 logic in the main method, I could not easily reuse these classes. In the 
 patch I submit with issue I have refactored the current solution in a better 
 reuseable solution that can still be called command line.

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



[jira] Updated: (CONNECTORS-91) Making the initialization commands more useable

2010-08-23 Thread Jettro Coenradie (JIRA)

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

Jettro Coenradie updated CONNECTORS-91:
---

Comment: was deleted

(was: Some strange things are happening, not sure what went wrong. I did do an 
svn up, I am sure of that. Nevertheless, I think I have it working now. You 
might need to change the depth of which to apply the patch.

I recreated the patch with intellij and it uses one folder of my own. The 
following command strips of this folder

patch -p1 -i ~/change_commands.patch

I tried it on a clean checkout of the project locally and it seems to work

Hope it works now, sorry I did not try it myself before)

 Making the initialization commands more useable
 ---

 Key: CONNECTORS-91
 URL: https://issues.apache.org/jira/browse/CONNECTORS-91
 Project: Apache Connectors Framework
  Issue Type: Improvement
  Components: Framework core
Reporter: Jettro Coenradie
 Fix For: LCF Release 0.5

 Attachments: change_commands.patch


 At the moment LCF comes with some classes that can be used to run command 
 line to interact with the system. Examples are DBCreate, DBDrop and 
 LockClean. I wanted to create a class that rebuilds my complete environment. 
 So dropping a database, creating a database, cleaning the synch folder, 
 registering agents, etc. Due to the structure of the classes with all the 
 logic in the main method, I could not easily reuse these classes. In the 
 patch I submit with issue I have refactored the current solution in a better 
 reuseable solution that can still be called command line.

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



[jira] Updated: (CONNECTORS-91) Making the initialization commands more useable

2010-08-23 Thread Jettro Coenradie (JIRA)

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

Jettro Coenradie updated CONNECTORS-91:
---

Attachment: change_commands_with_system_err_println.patch

added system err println lines back to the main methods

 Making the initialization commands more useable
 ---

 Key: CONNECTORS-91
 URL: https://issues.apache.org/jira/browse/CONNECTORS-91
 Project: Apache Connectors Framework
  Issue Type: Improvement
  Components: Framework core
Reporter: Jettro Coenradie
 Fix For: LCF Release 0.5

 Attachments: change_commands.patch, 
 change_commands_with_system_err_println.patch


 At the moment LCF comes with some classes that can be used to run command 
 line to interact with the system. Examples are DBCreate, DBDrop and 
 LockClean. I wanted to create a class that rebuilds my complete environment. 
 So dropping a database, creating a database, cleaning the synch folder, 
 registering agents, etc. Due to the structure of the classes with all the 
 logic in the main method, I could not easily reuse these classes. In the 
 patch I submit with issue I have refactored the current solution in a better 
 reuseable solution that can still be called command line.

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



[jira] Updated: (CONNECTORS-91) Making the initialization commands more useable

2010-08-23 Thread Jettro Coenradie (JIRA)

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

Jettro Coenradie updated CONNECTORS-91:
---

Attachment: change_commands_with_system_err_println_v2.patch

Sorry about the errors, I was a little bit to quick. I double checked all 
locations of printing the messages and the messages themselves. They should all 
be fine now.

 Making the initialization commands more useable
 ---

 Key: CONNECTORS-91
 URL: https://issues.apache.org/jira/browse/CONNECTORS-91
 Project: Apache Connectors Framework
  Issue Type: Improvement
  Components: Framework core
Reporter: Jettro Coenradie
 Fix For: LCF Release 0.5

 Attachments: change_commands.patch, 
 change_commands_with_system_err_println.patch, 
 change_commands_with_system_err_println_v2.patch


 At the moment LCF comes with some classes that can be used to run command 
 line to interact with the system. Examples are DBCreate, DBDrop and 
 LockClean. I wanted to create a class that rebuilds my complete environment. 
 So dropping a database, creating a database, cleaning the synch folder, 
 registering agents, etc. Due to the structure of the classes with all the 
 logic in the main method, I could not easily reuse these classes. In the 
 patch I submit with issue I have refactored the current solution in a better 
 reuseable solution that can still be called command line.

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



[jira] Updated: (CONNECTORS-91) Making the initialization commands more useable

2010-08-16 Thread Jettro Coenradie (JIRA)

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

Jettro Coenradie updated CONNECTORS-91:
---

Attachment: commandsPatch.patch

the patch with an improvement for the commands

 Making the initialization commands more useable
 ---

 Key: CONNECTORS-91
 URL: https://issues.apache.org/jira/browse/CONNECTORS-91
 Project: Lucene Connector Framework
  Issue Type: Improvement
  Components: Framework core
Reporter: Jettro Coenradie
 Fix For: LCF Release 0.5

 Attachments: commandsPatch.patch


 At the moment LCF comes with some classes that can be used to run command 
 line to interact with the system. Examples are DBCreate, DBDrop and 
 LockClean. I wanted to create a class that rebuilds my complete environment. 
 So dropping a database, creating a database, cleaning the synch folder, 
 registering agents, etc. Due to the structure of the classes with all the 
 logic in the main method, I could not easily reuse these classes. In the 
 patch I submit with issue I have refactored the current solution in a better 
 reuseable solution that can still be called command line.

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