[ 
http://jira.codehaus.org/browse/MGROOVY-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103169
 ] 

Jason Dillon commented on MGROOVY-63:
-------------------------------------

Hrm, I can't say that I really like the idea of a 'java_groovy' directory all 
that much.  I'm leaning towards allowing src/main/groovy to contain .java and 
.groovy files, assuming it doesn't break the existing integration tests or mess 
up some ide muck or something like that.  And then add a flag to disable the 
joint behavior so that in what I think might be the rare edge case if that 
causes problems you can flip it on and then be specific about what dirs are 
only java and which are only groovy.

I need to run some tests to see how well this works before I make the change 
public, but I think this is the best direction.  Should be compatible with what 
is out there now, should allow the mixed tree and will still allow a strictly 
separate tree setup if needed too.

Might have time later this week to experiment, else early next week.

> Sources should by default be under 'java' dir
> ---------------------------------------------
>
>                 Key: MGROOVY-63
>                 URL: http://jira.codehaus.org/browse/MGROOVY-63
>             Project: Maven 2.x Groovy Plugin
>          Issue Type: Improvement
>          Components: compile, testCompile
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2, 1.0-alpha-3, 1.0-beta-1
>            Reporter: Luke Daley
>            Assignee: Jason Dillon
>             Fix For: 1.0-beta-2
>
>
> To make mixed java/groovy apps easier to manage, it would be better if groovy 
> source was looked for under the java dir by default instead of a seperate 
> groovy dir.
> Since it all ends up as java bytecode, it makes sense to have the source 
> under the same tree. You can always tell the language by the file extension ;)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to