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

Re: Code and test separation for Apache OFBiz

2011-05-19 Thread Erwan de FERRIERES
Le 18/05/2011 09:58, René Scheibe a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A bit off topic: Are there also any plans to use Gradle? At the moment I just use it as a wrapper around the existing Ant infrastructure. This speeds up traversing all the folders/sub projects to shorten t

Re: Code and test separation for Apache OFBiz

2011-05-19 Thread BJ Freeman
since it is the jars that define separation for runtime the changes should be in the build.xml in building the targets have test-ofbiz-*.jars that the build test targets use. Ganath Rathnayaka sent the following on 5/17/2011 10:12 PM: > Hi devs, > According to my project I suggested some changes t

Re: Code and test separation for Apache OFBiz

2011-05-18 Thread René Scheibe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A bit off topic: Are there also any plans to use Gradle? At the moment I just use it as a wrapper around the existing Ant infrastructure. This speeds up traversing all the folders/sub projects to shorten the code-test-cycle during development. In futu

Re: Code and test separation for Apache OFBiz

2011-05-17 Thread Raj Saini
Having director structure like: |-- src ||--main ||`--java || `-- //rest of the code ||--test | `--java | `-- org |`-- ofbiz | `-- securityext | |-- AuthorizationTests.java

Re: Code and test separation for Apache OFBiz

2011-05-17 Thread Adrian Crum
I prefer the original proposal. I don't like having two different source code folders. Keep in mind that we informally agreed that there will be disruptions post 11.x branch. I believe this one will be one of many worthwhile changes. -Adrian On 5/17/2011 10:25 PM, David E Jones wrote: To av

Re: Code and test separation for Apache OFBiz

2011-05-17 Thread David E Jones
To avoid disrupting the current directory structure, it would be better to avoid: move: component/src -> component/src/main/java result: component/src/main/java, component/src/text/java and instead not move component/src at all and have: component/src component/test-src ... or something along

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