On 4/8/11 8:18 PM, Ray Tayek wrote:
> At 12:14 PM 4/7/2011, you wrote:
>> ... Could you drop a note here of what you sent to me the other day
>> about the project structure?
> 
> sure, here is what i noticed when i tried to use the project:
> 
> you have eclipse.classpath and eclipse.project files instead of
> .classpath and .project files (which are usual, at least on windoze).

That is deliberate, so we don't force project settings on people.

> also, groovy lib is /opt/local/share/java/groovy/lib - (maybe use this
> is GROOVY_HOME is not defined?)

You may configure this to suit your own environment, for the same reason
as above.

> eclipse is not happy with the project on windoze, so i make a groovy
> project and copied the source into a new empty groovy project. no
> problems and some of the tests run.
> 
> here is what i noticed about the project.
> 
> your output path is .settings/bin/ instead of just bin/ (some people
> prefer build/ and use bin/ for scripts).

Yes, this is an accurate observation.

> you have java code and groovy code in the same directory. some people
> like to put them in different directories (but in the same package).

And some people don't.  I prefer to separate them, but haven't got
around to it yet in this project.

> you have junit 3 tests (groovy test cases) and programs that do testing
> but are not testcases (like test shell) in the same directory, it's
> nicer to have all of the junit based test classes in a different
> directory (but the same package) since you can run all of the test cases
> in a package with one right click in eclipse.

Yes, we need to improve this.

> looks like you are using:
> http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
> 
> 
> haven't looked much at the code yet. this is just what i observed in
> making a new eclipse project.

Thanks for your comments.


p

> thanks
> 
> ---
> co-chair http://ocjug.org/
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to