Re: GSoC Project update: Code and Test separation of Ofbiz and Implementing pure webdriver

2011-07-13 Thread Ganath Rathnayaka
Hi David, Since we have the current structure of the code, component/src/main component/src/test which contains separated test and code. We can do the code transformation to, component/src component/src-test easily. But to build the project, it may need some work to change the build, commons and

GSoC Project update: Code and Test separation of Ofbiz and Implementing pure webdriver

2011-07-11 Thread Ganath Rathnayaka
Hi all, I need all of you to know what I did up to now in my Google summer of code project, separating test/code of Ofbiz [1] and implementing a pure webdriver[2]. I the first iteration of the summer I worked on separating test/code of Ofbiz. In this we were separate the three main modules, 1.

An exception when building

2011-07-02 Thread Ganath Rathnayaka
Hi all, Hi all I talk about this exception before with Erwan in the code you find it in[1]. You can find it in [2]. I went through the exception and found out that this can cause by two reasons, 1. Iterator? extends FactoryR, A it = ServiceLoader.load(factoryInterface).iterator(); 2. No matching

where should the testtools placed test/code

2011-06-24 Thread Ganath Rathnayaka
Hi devs, When I separate the test and code I found there are some packages like org.apache.entity.testtools. The problem is what is the most suitable place to keep those packages, test or the code. -- thanks Ganath

package not found error: org.enhydra.jdbc.pool

2011-06-24 Thread Ganath Rathnayaka
Hi Devs, After test code separation of some modules in framework when I run the ant run-install it gave me the followig error. ofbiz/framework/entity/src/main/java/org/ofbiz/entity/connection/XaPoolConnectionFactory.java:28: package org.enhydra.jdbc.pool does not exist import

Re: package not found error: org.enhydra.jdbc.pool

2011-06-24 Thread Ganath Rathnayaka
Problem solved. I included some exclude files which gives the compile errors. -- thanks Ganath

Wrong package names

2011-06-17 Thread Ganath Rathnayaka
Hi, Though I moved the tests in to the test folders their package names were not changed. I will change them and commit. Sorry for the inconvenience. -- thanks Ganath

shopingcarttests failed

2011-06-09 Thread Ganath Rathnayaka
Hi all, When I running the test I got exceptions and the stack trace is as follows, [JUNIT] Results for test suite: shopingcarttests [java] 2011-06-09 10:32:58,929 (main) [ TestRunContainer.java:158:INFO ] [JUNIT] Pass: true | # Tests: 1 | # Failed: 0 # Errors: 0 [java] 2011-06-09

Re: shopingcarttests failed

2011-06-09 Thread Ganath Rathnayaka
Yes Erwan, I didn't commit since I was pushed yesterday.

Re: completed the test/code separation

2011-06-08 Thread Ganath Rathnayaka
Hi Erwan, I did ran the ant run-install before I commit. What my fault was that it didn't include the marketing/src folder in to the git. So it showed me no error. Currently I am running the tests and hoping to keep you update with the results of it. thanks Ganath

Re: Compile errors

2011-06-07 Thread Ganath Rathnayaka
I am sorry Erwan I didn't get what you called library. Do we need to add a separate library to build it? thanks Eranda

Re: Compile errors

2011-06-07 Thread Ganath Rathnayaka
I am currently stuck there and no more changes to commit. After resolving this I can move to the next part. Next time I'll commit the changes as soon as they changed. Ganath

Re: Compile errors

2011-06-07 Thread Ganath Rathnayaka
Hi Erwan, Problem solved and willing to commit as soon as possible. -- thanks Ganath

completed the test/code separation

2011-06-07 Thread Ganath Rathnayaka
Hi all, I have completed the test/code separation for all the modules in application and commited to the git-hub [1]. I like to know the improvements it need to be done. -- thanks Ganath [1]. https://github.com/ganathr/ofbiz

Re: completed the test/code separation

2011-06-07 Thread Ganath Rathnayaka
Sorry about that Erwan, I added the src folder into git and commited and please let me know if you have any other issues. I will update the wiki today afternoon. Ganath.

Re: Compile errors

2011-06-06 Thread Ganath Rathnayaka
Hi Erwan, Here is the errors I got. classes: [javac16] Compiling 41 source files to /home/eranda/Documents/ofbiz/git/ofbiz/applications/accounting/build/classes [javac16]

Compile errors

2011-06-05 Thread Ganath Rathnayaka
Hi devs, I changed folder structure of the all application modules after doing some changes to the build.xml I manage to build the following modules 1. content 2. party 3. workeffort 4. product 5. marketing 6. order 7. manufacturing But when I do some changes to the

Re: Need help to understand applications/accounting/build.xml

2011-06-05 Thread Ganath Rathnayaka
Hi Jacques, I am currently forked the ofbiz trunk in the git-hub and use it to do my changes. You can find it in [1]. In my question what I want to clear is that I have some compile errors after I did the changes to the folder structure. So I thought the compile error may be corrected by changing

Need help to understand applications/accounting/build.xml

2011-06-04 Thread Ganath Rathnayaka
Hi all, Can anyone help me to understand the coding of the applications/accounting/build.xml which will be a great help me to continue on my works. Also I change the module structure as src/ to src/main/java where we need to do the changes? -- thanks Ganath

Re: [jira] [Commented] (OFBIZ-4211) [GSoC] code/test separation

2011-06-01 Thread Ganath Rathnayaka
Thanks Erwan. I will follow them and commit the changes to the github.

Fork the git repo to test/code separation

2011-05-29 Thread Ganath Rathnayaka
Hi devs, I fork the git repository to continue my works on it and you can find it on [1]. -- thanks Ganath [1] https://gana...@github.com/ganathr/ofbiz.git

Re: Code and test separation for Apache OFBiz

2011-05-29 Thread Ganath Rathnayaka
Thanks for all your precious comments and I will be starting my works with the original proposal structure as many of you prefer it. Ganath

Code and test separation for Apache OFBiz

2011-05-17 Thread Ganath Rathnayaka
Hi devs, According to my project I suggested some changes to be done to separate the test classes from the code itself. Please let me know your ideas about the suggested structure. Also I came up with the structure for module securityext. Can I separate the code as follows? Please let me know your

Re: I have selected to the GSoC project: Code/Test separation and add pure webdriver integration for OFBiz

2011-04-26 Thread Ganath Rathnayaka
Hi Erwan, Thanks for welcoming me in and I am very happy to work with you all from now onwards. I have been studying the structure of the current file system and the file structure after the test/code separation. Also I studied about Selenium which is bit new to me. I downloaded the code from the

I have selected to the GSoC project: Code/Test separation and add pure webdriver integration for OFBiz

2011-04-25 Thread Ganath Rathnayaka
Hi all, I have selected to the GSoC project Code/Test separation and add pure webdriver integration for OFBiz. Thank you for everything you done for accepting my proposal and I am hoping to work with you and like to have all of your help to get it done successfully. -- thanks Ganath

Re: GSoC proposal: Test/Code separation

2011-04-14 Thread Ganath Rathnayaka
Hi Erwan, Is there anything to be done before publish the selection? thanks Ganath

Re: GSoC proposal: Test/Code separation

2011-04-08 Thread Ganath Rathnayaka
Hi Erwan, Yes, you are correct. Its a nice idea to have a webdriver to add functional testing in OFBiz. I like to implement it and I will update the proposal asap. thanks Ganath

GSoC proposal: Test/Code separation

2011-04-07 Thread Ganath Rathnayaka
Hi Erwan, devs, I posted my Google Summer of Code project proposal for test/code separation at [1]. Please let me know your precious ideas. -- thanks Ganath P.S. Sorry for being late to submit the proposal. My exams were ended up yesterday. [1].

Re: [GSoC] code/test separation

2011-03-24 Thread Ganath Rathnayaka
I am sorry Jacques, I didn't get you. Am I start from the wrong end? Ganath

Re: [GSoC] code/test separation

2011-03-17 Thread Ganath Rathnayaka
Hi all, Thanks for the links. I will keep in touch with the project. Thanks Ganath P.S. I installed subversion and ant, download the trunk and build it successfully.

[GSoC] code/test separation

2011-03-16 Thread Ganath Rathnayaka
Hi devs, I am Ganath Rathnayake from University of Peradeniya, Sri Lanka. This is my first time on Google Summer of Code. I would like to involve in the code/test separation GSoC project.If you can help me to start with it, it would be a great help. -- thanks Ganath