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

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

Hrm... aye.  Then the src/main/groovy could contain .java and .groovy, but when 
looking at src/main/java one can expect only .java files (as most folks are 
used to).

I kinda like that...  So, Luke would that work for you?  Having a 
src/main/groovy, but allow it to have .java and .groovy files?  Seems like you 
(and a few others) just want one tree, which is under-stable.  But do you have 
an objection to putting the .java and .groovy sources all into src/main/groovy 
(and not even have a src/main/java)?

IIRC, to implement this is like a one line change too ;-)  And it doesn't break 
any existing configurations of folks using src/main/groovy (not even if they 
also have a src/main/java).

Lemme know, if so and this dosen't break any integration tests I'll commit it 
asap.

> 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