[jira] Updated: (CONNECTORS-92) Move from ant to maven or other build system with decent library management

2010-09-10 Thread Jettro Coenradie (JIRA)

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

Jettro Coenradie updated CONNECTORS-92:
---

Attachment: patch-connectors.zip

Not a patch, but a zip containing a few poms for the connectors. The null 
connector and the jdbc connector have a pom

 Move from ant to maven or other build system with decent library management
 ---

 Key: CONNECTORS-92
 URL: https://issues.apache.org/jira/browse/CONNECTORS-92
 Project: Apache Connectors Framework
  Issue Type: Wish
  Components: Build
Reporter: Jettro Coenradie
Assignee: Karl Wright
 Attachments: maven-poms-including-start-jar.patch, 
 maven-poms-problem-starting-jetty-and-derby.patch, maven-start-jar.patch, 
 move-to-maven-acf-framework.patch, patch-connectors.zip, Screen shot 
 2010-08-23 at 16.31.07.png


 I am looking at the current project structure. If we want to make another 
 build tool available I think we need to change the directory structure. I 
 tried to place a suggestion in an image. Can you please have a look at it. If 
 we agree that this is a good way to go, than I will continue to work on a 
 patch. Which might be a bit hard with all these changing directories, but 
 I'll do my best to at least get an idea whether it would be working.
 So I have three questions:
 - Do you want to move to maven or put maven next to ant?
 - Do you prefer another build mechanism [ant with ivy, gradle, maven3]
 - Do you have an idea about the amount of scripts that need to be changed if 
 we change the project structure
 The image of a possible project layout (that is based on the maven standards) 
 is attached to the issue

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



[jira] Updated: (CONNECTORS-92) Move from ant to maven or other build system with decent library management

2010-08-30 Thread Jettro Coenradie (JIRA)

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

Jettro Coenradie updated CONNECTORS-92:
---

Attachment: maven-poms-problem-starting-jetty-and-derby.patch

This is a patch that addes poms to the framework part. It runs after you have 
installed the one missing jar.

In the end the mvn clean install should be successful in the root of the 
framework directory

In the crawler-ui project you can do : mvn clean jetty:run-war

This will start up the crawler-ui, only after you have copied the conenctors 
that you need to the src/config/local/connector-lib

Than asking for a list of connectors results in a database error. I just cannot 
get the Derby instance to run. The database is created but if seems not to be 
running. Any help in this area would be appreciated.


Caused by: ERROR 42Y07: Schema 'ACF' does not exist
at org.apache.derby.iapi.error.StandardException.newException(Unknown 
Source)
at 
org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSchemaDescriptor(Unknown
 Source)
at 
org.apache.derby.impl.sql.compile.QueryTreeNode.getSchemaDescriptor(Unknown 
Source)
at 
org.apache.derby.impl.sql.compile.QueryTreeNode.getSchemaDescriptor(Unknown 
Source)
at 
org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown 
Source)
at 
org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
at 
org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
at 
org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown 
Source)
at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown 
Source)
at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
at 
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown
 Source)
... 4 more


 Move from ant to maven or other build system with decent library management
 ---

 Key: CONNECTORS-92
 URL: https://issues.apache.org/jira/browse/CONNECTORS-92
 Project: Apache Connectors Framework
  Issue Type: Wish
  Components: Build
Reporter: Jettro Coenradie
 Attachments: maven-poms-problem-starting-jetty-and-derby.patch, 
 move-to-maven-acf-framework.patch, Screen shot 2010-08-23 at 16.31.07.png


 I am looking at the current project structure. If we want to make another 
 build tool available I think we need to change the directory structure. I 
 tried to place a suggestion in an image. Can you please have a look at it. If 
 we agree that this is a good way to go, than I will continue to work on a 
 patch. Which might be a bit hard with all these changing directories, but 
 I'll do my best to at least get an idea whether it would be working.
 So I have three questions:
 - Do you want to move to maven or put maven next to ant?
 - Do you prefer another build mechanism [ant with ivy, gradle, maven3]
 - Do you have an idea about the amount of scripts that need to be changed if 
 we change the project structure
 The image of a possible project layout (that is based on the maven standards) 
 is attached to the issue

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



[jira] Updated: (CONNECTORS-92) Move from ant to maven or other build system with decent library management

2010-08-26 Thread Jettro Coenradie (JIRA)

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

Jettro Coenradie updated CONNECTORS-92:
---

Attachment: move-to-maven-acf-framework.patch

This is a first go on moving to maven. I started refactoring the framework 
part. This should give a good idea of what is possible. Of course we are nog 
there. I did not really touch any of the scripts. There is also one dependency 
you have to install locally. You'll see it when you try to run maven. Advice on 
ho to install it locally is provided when it fails.

I am not sure if this patch will run, it is a big one. Hope for the best

When the patch is successfully applied, go to the modules/framework folder and 
try:
mvn clean install

then step into crawler-ui and do
mvn clean jetty:run-war

Use you browser to go to localhost:8080 and you can see the crawler-ui web app. 
If you connect to an existing database, you should be able to see the configure 
connections lists. Not more than that, than we need to put the connectors on 
the classpath.

I'd be happy to do something similar for the connectors. But than we must be 
sure that this is the way to go. It takes a lot of time.

 Move from ant to maven or other build system with decent library management
 ---

 Key: CONNECTORS-92
 URL: https://issues.apache.org/jira/browse/CONNECTORS-92
 Project: Apache Connectors Framework
  Issue Type: Wish
  Components: Build
Reporter: Jettro Coenradie
 Attachments: move-to-maven-acf-framework.patch, Screen shot 
 2010-08-23 at 16.31.07.png


 I am looking at the current project structure. If we want to make another 
 build tool available I think we need to change the directory structure. I 
 tried to place a suggestion in an image. Can you please have a look at it. If 
 we agree that this is a good way to go, than I will continue to work on a 
 patch. Which might be a bit hard with all these changing directories, but 
 I'll do my best to at least get an idea whether it would be working.
 So I have three questions:
 - Do you want to move to maven or put maven next to ant?
 - Do you prefer another build mechanism [ant with ivy, gradle, maven3]
 - Do you have an idea about the amount of scripts that need to be changed if 
 we change the project structure
 The image of a possible project layout (that is based on the maven standards) 
 is attached to the issue

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



[jira] Updated: (CONNECTORS-92) Move from ant to maven or other build system with decent library management

2010-08-23 Thread Jettro Coenradie (JIRA)

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

Jettro Coenradie updated CONNECTORS-92:
---

Attachment: Screen shot 2010-08-23 at 16.31.07.png

idea of the directory structure

 Move from ant to maven or other build system with decent library management
 ---

 Key: CONNECTORS-92
 URL: https://issues.apache.org/jira/browse/CONNECTORS-92
 Project: Apache Connectors Framework
  Issue Type: Wish
  Components: Build
Reporter: Jettro Coenradie
 Attachments: Screen shot 2010-08-23 at 16.31.07.png


 I am looking at the current project structure. If we want to make another 
 build tool available I think we need to change the directory structure. I 
 tried to place a suggestion in an image. Can you please have a look at it. If 
 we agree that this is a good way to go, than I will continue to work on a 
 patch. Which might be a bit hard with all these changing directories, but 
 I'll do my best to at least get an idea whether it would be working.
 So I have three questions:
 - Do you want to move to maven or put maven next to ant?
 - Do you prefer another build mechanism [ant with ivy, gradle, maven3]
 - Do you have an idea about the amount of scripts that need to be changed if 
 we change the project structure
 The image of a possible project layout (that is based on the maven standards) 
 is attached to the issue

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