You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2010/04/10 17:16:53 UTC

[ALL] Non-standard maven source and test directories

22 commons-proper projects are still using non-standard source and
test directories, i.e. they are using:

    <sourceDirectory>src/java</sourceDirectory>
    <testSourceDirectory>src/test</testSourceDirectory>

rather than the default:

    <sourceDirectory>src/main/java</sourceDirectory>
    <testSourceDirectory>src/test/java</testSourceDirectory>

Do we want to fix those?

This would involve renaming the directories, removing the entries from
the pom files and updating any other build scripts e.g. Ant that may
be present.

The projects are:

betwixt
cli
codec
collections
configuration
daemon
dbcp
dbutils
digester
discovery
el
email
fileupload
io
jxpath
launcher
logging
modeler
net
pool
primitives
transaction

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Ralph Goers <ra...@dslextreme.com>.
configuration has been changed in the experimental branch. I wouldn't bother with trunk.

Ralph

On Apr 10, 2010, at 8:16 AM, sebb wrote:

> 22 commons-proper projects are still using non-standard source and
> test directories, i.e. they are using:
> 
>    <sourceDirectory>src/java</sourceDirectory>
>    <testSourceDirectory>src/test</testSourceDirectory>
> 
> rather than the default:
> 
>    <sourceDirectory>src/main/java</sourceDirectory>
>    <testSourceDirectory>src/test/java</testSourceDirectory>
> 
> Do we want to fix those?
> 
> This would involve renaming the directories, removing the entries from
> the pom files and updating any other build scripts e.g. Ant that may
> be present.
> 
> The projects are:
> 
> betwixt
> cli
> codec
> collections
> configuration
> daemon
> dbcp
> dbutils
> digester
> discovery
> el
> email
> fileupload
> io
> jxpath
> launcher
> logging
> modeler
> net
> pool
> primitives
> transaction
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


RE: [ALL] Non-standard maven source and test directories

Posted by Gary Gregory <GG...@seagullsoftware.com>.
+1, I am all for it. I've never liked the lack of symmetry.

Gary Gregory
Senior Software Engineer
Seagull Software
email: ggregory@seagullsoftware.com
email: ggregory@apache.org
www.seagullsoftware.com 


> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Saturday, April 10, 2010 08:17
> To: Commons Developers List
> Subject: [ALL] Non-standard maven source and test directories
> 
> 22 commons-proper projects are still using non-standard source and
> test directories, i.e. they are using:
> 
>     <sourceDirectory>src/java</sourceDirectory>
>     <testSourceDirectory>src/test</testSourceDirectory>
> 
> rather than the default:
> 
>     <sourceDirectory>src/main/java</sourceDirectory>
>     <testSourceDirectory>src/test/java</testSourceDirectory>
> 
> Do we want to fix those?
> 
> This would involve renaming the directories, removing the entries from
> the pom files and updating any other build scripts e.g. Ant that may
> be present.
> 
> The projects are:
> 
> betwixt
> cli
> codec
> collections
> configuration
> daemon
> dbcp
> dbutils
> digester
> discovery
> el
> email
> fileupload
> io
> jxpath
> launcher
> logging
> modeler
> net
> pool
> primitives
> transaction
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Dennis Lundberg <de...@apache.org>.
On 2010-04-13 17:29, sebb wrote:
> On 12/04/2010, Dennis Lundberg <de...@apache.org> wrote:
>> On 2010-04-12 21:21, sebb wrote:
>>  > On 12/04/2010, Niall Pemberton <ni...@gmail.com> wrote:
>>  >> On Sat, Apr 10, 2010 at 4:16 PM, sebb <se...@gmail.com> wrote:
>>  >>  > 22 commons-proper projects are still using non-standard source and
>>  >>  > test directories, i.e. they are using:
>>  >>  >
>>  >>  >    <sourceDirectory>src/java</sourceDirectory>
>>  >>  >    <testSourceDirectory>src/test</testSourceDirectory>
>>  >>  >
>>  >>  > rather than the default:
>>  >>  >
>>  >>  >    <sourceDirectory>src/main/java</sourceDirectory>
>>  >>  >    <testSourceDirectory>src/test/java</testSourceDirectory>
>>  >>  >
>>  >>  > Do we want to fix those?
>>  >>
>>  >>
>>  >> I think its better to use the standard m2 layout but I don't think its
>>  >>  a big deal. The one downside I see is that it can screw up existing
>>  >>  patches - those can be fixed/manually edited but its an extra effort.
>>  >
>>  > Good point.
>>  >
>>  > So best to fix components when there aren't (m)any patches outstanding.
>>  >
>>  > I propose to create JIRA issues to track these "standardisation" efforts.
>>  >
>>  > Should the issues be filed per component, or would a catchall issue
>>  > plus subtasks be better for this?
>>
>>
>> I would prefer a separate issue per component. That way it will show up
>>  in the generated changes report for the component. This is beneficial to
>>  our users.
>>
> 
> OK, agreed.
> 
> However, I'd like to avoid having to repeat the same information in
> every JIRA issue.
> So I propose creating a dummy parent issue in COMMONSSITE/CommonsAll.
> 
> Then I would add issues for each component, which link back to -
> "relates to" - the common parent issue.

One issue to keep track of the overall progress of converting Commons to
Maven standard directory layout? Sure, that's a good idea.

> [Unfortunately one cannot create subtasks in another JIRA project]
> 
> Does that sound reasonable? Any pitfalls to watch out for?
> 
>>  > There may be other similar issues that crop up - e.g. where the parent
>>  > pom now handles what originated in a few component poms - so it might
>>  > be easier to track these as a catchall JIRA.
>>  >
>>  >>
>>  >>  Niall
>>  >>
>>  >>
>>  >>  > This would involve renaming the directories, removing the entries from
>>  >>  > the pom files and updating any other build scripts e.g. Ant that may
>>  >>  > be present.
>>  >>  >
>>  >>  > The projects are:
>>  >>  >
>>  >>  > betwixt
>>  >>  > cli
>>  >>  > codec
>>  >>  > collections
>>  >>  > configuration
>>  >>  > daemon
>>  >>  > dbcp
>>  >>  > dbutils
>>  >>  > digester
>>  >>  > discovery
>>  >>  > el
>>  >>  > email
>>  >>  > fileupload
>>  >>  > io
>>  >>  > jxpath
>>  >>  > launcher
>>  >>  > logging
>>  >>  > modeler
>>  >>  > net
>>  >>  > pool
>>  >>  > primitives
>>  >>  > transaction
>>  >>  >
>>  >>
>>  >>> ---------------------------------------------------------------------
>>  >>  > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>  >>  > For additional commands, e-mail: dev-help@commons.apache.org
>>  >>  >
>>  >>  >
>>  >>
>>  >>  ---------------------------------------------------------------------
>>  >>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>  >>  For additional commands, e-mail: dev-help@commons.apache.org
>>  >>
>>  >>
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>  > For additional commands, e-mail: dev-help@commons.apache.org
>>  >
>>  >
>>
>>
>>  --
>>
>> Dennis Lundberg
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>  For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by sebb <se...@gmail.com>.
On 12/04/2010, Dennis Lundberg <de...@apache.org> wrote:
> On 2010-04-12 21:21, sebb wrote:
>  > On 12/04/2010, Niall Pemberton <ni...@gmail.com> wrote:
>  >> On Sat, Apr 10, 2010 at 4:16 PM, sebb <se...@gmail.com> wrote:
>  >>  > 22 commons-proper projects are still using non-standard source and
>  >>  > test directories, i.e. they are using:
>  >>  >
>  >>  >    <sourceDirectory>src/java</sourceDirectory>
>  >>  >    <testSourceDirectory>src/test</testSourceDirectory>
>  >>  >
>  >>  > rather than the default:
>  >>  >
>  >>  >    <sourceDirectory>src/main/java</sourceDirectory>
>  >>  >    <testSourceDirectory>src/test/java</testSourceDirectory>
>  >>  >
>  >>  > Do we want to fix those?
>  >>
>  >>
>  >> I think its better to use the standard m2 layout but I don't think its
>  >>  a big deal. The one downside I see is that it can screw up existing
>  >>  patches - those can be fixed/manually edited but its an extra effort.
>  >
>  > Good point.
>  >
>  > So best to fix components when there aren't (m)any patches outstanding.
>  >
>  > I propose to create JIRA issues to track these "standardisation" efforts.
>  >
>  > Should the issues be filed per component, or would a catchall issue
>  > plus subtasks be better for this?
>
>
> I would prefer a separate issue per component. That way it will show up
>  in the generated changes report for the component. This is beneficial to
>  our users.
>

OK, agreed.

However, I'd like to avoid having to repeat the same information in
every JIRA issue.
So I propose creating a dummy parent issue in COMMONSSITE/CommonsAll.

Then I would add issues for each component, which link back to -
"relates to" - the common parent issue.

[Unfortunately one cannot create subtasks in another JIRA project]

Does that sound reasonable? Any pitfalls to watch out for?

>  > There may be other similar issues that crop up - e.g. where the parent
>  > pom now handles what originated in a few component poms - so it might
>  > be easier to track these as a catchall JIRA.
>  >
>  >>
>  >>  Niall
>  >>
>  >>
>  >>  > This would involve renaming the directories, removing the entries from
>  >>  > the pom files and updating any other build scripts e.g. Ant that may
>  >>  > be present.
>  >>  >
>  >>  > The projects are:
>  >>  >
>  >>  > betwixt
>  >>  > cli
>  >>  > codec
>  >>  > collections
>  >>  > configuration
>  >>  > daemon
>  >>  > dbcp
>  >>  > dbutils
>  >>  > digester
>  >>  > discovery
>  >>  > el
>  >>  > email
>  >>  > fileupload
>  >>  > io
>  >>  > jxpath
>  >>  > launcher
>  >>  > logging
>  >>  > modeler
>  >>  > net
>  >>  > pool
>  >>  > primitives
>  >>  > transaction
>  >>  >
>  >>
>  >>> ---------------------------------------------------------------------
>  >>  > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  >>  > For additional commands, e-mail: dev-help@commons.apache.org
>  >>  >
>  >>  >
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  >>  For additional commands, e-mail: dev-help@commons.apache.org
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  > For additional commands, e-mail: dev-help@commons.apache.org
>  >
>  >
>
>
>  --
>
> Dennis Lundberg
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Dennis Lundberg <de...@apache.org>.
On 2010-04-12 21:21, sebb wrote:
> On 12/04/2010, Niall Pemberton <ni...@gmail.com> wrote:
>> On Sat, Apr 10, 2010 at 4:16 PM, sebb <se...@gmail.com> wrote:
>>  > 22 commons-proper projects are still using non-standard source and
>>  > test directories, i.e. they are using:
>>  >
>>  >    <sourceDirectory>src/java</sourceDirectory>
>>  >    <testSourceDirectory>src/test</testSourceDirectory>
>>  >
>>  > rather than the default:
>>  >
>>  >    <sourceDirectory>src/main/java</sourceDirectory>
>>  >    <testSourceDirectory>src/test/java</testSourceDirectory>
>>  >
>>  > Do we want to fix those?
>>
>>
>> I think its better to use the standard m2 layout but I don't think its
>>  a big deal. The one downside I see is that it can screw up existing
>>  patches - those can be fixed/manually edited but its an extra effort.
> 
> Good point.
> 
> So best to fix components when there aren't (m)any patches outstanding.
> 
> I propose to create JIRA issues to track these "standardisation" efforts.
> 
> Should the issues be filed per component, or would a catchall issue
> plus subtasks be better for this?

I would prefer a separate issue per component. That way it will show up
in the generated changes report for the component. This is beneficial to
our users.

> There may be other similar issues that crop up - e.g. where the parent
> pom now handles what originated in a few component poms - so it might
> be easier to track these as a catchall JIRA.
> 
>>
>>  Niall
>>
>>
>>  > This would involve renaming the directories, removing the entries from
>>  > the pom files and updating any other build scripts e.g. Ant that may
>>  > be present.
>>  >
>>  > The projects are:
>>  >
>>  > betwixt
>>  > cli
>>  > codec
>>  > collections
>>  > configuration
>>  > daemon
>>  > dbcp
>>  > dbutils
>>  > digester
>>  > discovery
>>  > el
>>  > email
>>  > fileupload
>>  > io
>>  > jxpath
>>  > launcher
>>  > logging
>>  > modeler
>>  > net
>>  > pool
>>  > primitives
>>  > transaction
>>  >
>>
>>> ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>  > For additional commands, e-mail: dev-help@commons.apache.org
>>  >
>>  >
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>  For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by sebb <se...@gmail.com>.
On 12/04/2010, Niall Pemberton <ni...@gmail.com> wrote:
> On Sat, Apr 10, 2010 at 4:16 PM, sebb <se...@gmail.com> wrote:
>  > 22 commons-proper projects are still using non-standard source and
>  > test directories, i.e. they are using:
>  >
>  >    <sourceDirectory>src/java</sourceDirectory>
>  >    <testSourceDirectory>src/test</testSourceDirectory>
>  >
>  > rather than the default:
>  >
>  >    <sourceDirectory>src/main/java</sourceDirectory>
>  >    <testSourceDirectory>src/test/java</testSourceDirectory>
>  >
>  > Do we want to fix those?
>
>
> I think its better to use the standard m2 layout but I don't think its
>  a big deal. The one downside I see is that it can screw up existing
>  patches - those can be fixed/manually edited but its an extra effort.

Good point.

So best to fix components when there aren't (m)any patches outstanding.

I propose to create JIRA issues to track these "standardisation" efforts.

Should the issues be filed per component, or would a catchall issue
plus subtasks be better for this?

There may be other similar issues that crop up - e.g. where the parent
pom now handles what originated in a few component poms - so it might
be easier to track these as a catchall JIRA.

>
>  Niall
>
>
>  > This would involve renaming the directories, removing the entries from
>  > the pom files and updating any other build scripts e.g. Ant that may
>  > be present.
>  >
>  > The projects are:
>  >
>  > betwixt
>  > cli
>  > codec
>  > collections
>  > configuration
>  > daemon
>  > dbcp
>  > dbutils
>  > digester
>  > discovery
>  > el
>  > email
>  > fileupload
>  > io
>  > jxpath
>  > launcher
>  > logging
>  > modeler
>  > net
>  > pool
>  > primitives
>  > transaction
>  >
>
> > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  > For additional commands, e-mail: dev-help@commons.apache.org
>  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Niall Pemberton <ni...@gmail.com>.
On Sat, Apr 10, 2010 at 4:16 PM, sebb <se...@gmail.com> wrote:
> 22 commons-proper projects are still using non-standard source and
> test directories, i.e. they are using:
>
>    <sourceDirectory>src/java</sourceDirectory>
>    <testSourceDirectory>src/test</testSourceDirectory>
>
> rather than the default:
>
>    <sourceDirectory>src/main/java</sourceDirectory>
>    <testSourceDirectory>src/test/java</testSourceDirectory>
>
> Do we want to fix those?

I think its better to use the standard m2 layout but I don't think its
a big deal. The one downside I see is that it can screw up existing
patches - those can be fixed/manually edited but its an extra effort.

Niall

> This would involve renaming the directories, removing the entries from
> the pom files and updating any other build scripts e.g. Ant that may
> be present.
>
> The projects are:
>
> betwixt
> cli
> codec
> collections
> configuration
> daemon
> dbcp
> dbutils
> digester
> discovery
> el
> email
> fileupload
> io
> jxpath
> launcher
> logging
> modeler
> net
> pool
> primitives
> transaction
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Torsten Curdt <tc...@apache.org>.
>>> I think tomcat may still build repackaged versions of dbcp and pool
>>> classes from source and this change might break their builds.  So -1
>>> for now for changing those.
>>
>> As much as I am for cross-project collaboration this reason for a "-1"
>> takes it a step too far IMO. If they really want to keep using the
>> repackaged versions (why?)
>
> Mark or someone else can confirm, but I think the repackaging is to
> avoid conflicts between the bundled versions and user-supplied
> replacements.

As a side note: there are tools that easily do that on the jar without
the need to build from source.

 http://maven.apache.org/plugins/maven-shade-plugin/

Don't have links to the ant tasks at hand.

>>  they can probably adjust their build within
>> minutes to work with a new project layout.
>
> But why force that?  I see know value to this change from a [pool]
> or [dbcp] perspective.  What exactly do we gain from it?  I know
> that tomcat is not the only user who builds classes from these
> sources from source.  Why force this change on everyone who does
> that?  If I am missing some benefit other than adhering to a
> (changed) maven standard, I would like to know what that is.

In my book consistency is of value, but people have different opinions on that.

My point is not whether we should do it or not. My point is that we
already have a lot of restrictions of what we can change at commons
without breaking compatibility and so on. Adding also our directory
structures to this mix feels a bit over the top to me. There needs to
be a balance between backwards compatibility and handcuffs.

The official way to build the source distribution would not even
change! If someone relies on the directory structure ...well
...honestly? ...then that's their problem if we change it. That said:
I doubt it would be a big deal for the Tomcat guys or whoever uses the
non-standard way of building the commons projects like that.

They would have probably fixed this faster than the time we are
spending on discussing the pros/cons of it.

cheers
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by sebb <se...@gmail.com>.
On 11/04/2010, Luc Maisonobe <Lu...@free.fr> wrote:
> Phil Steitz a écrit :
>
> > Torsten Curdt wrote:
>  >>> I think tomcat may still build repackaged versions of dbcp and pool
>  >>> classes from source and this change might break their builds.  So -1
>  >>> for now for changing those.
>  >> As much as I am for cross-project collaboration this reason for a "-1"
>  >> takes it a step too far IMO. If they really want to keep using the
>  >> repackaged versions (why?)
>  >
>  > Mark or someone else can confirm, but I think the repackaging is to
>  > avoid conflicts between the bundled versions and user-supplied
>  > replacements.
>  >
>  >  they can probably adjust their build within
>  >> minutes to work with a new project layout.
>  >
>  > But why force that?  I see know value to this change from a [pool]
>  > or [dbcp] perspective.  What exactly do we gain from it?  I know
>  > that tomcat is not the only user who builds classes from these
>  > sources from source.  Why force this change on everyone who does
>  > that?  If I am missing some benefit other than adhering to a
>  > (changed) maven standard, I would like to know what that is.
>
>
> I think it is the first time I disagree with you, Phil, I'm sorry for
>  that. I think going back to accepted standards instead of having our own
>  way is good. People and quality assurance teams often build lots of
>  scripts to check source trees, so having a directories tree that is
>  similar to trees from other project adds value and remove some burden to
>  users.

+1, well put.

>  We already did the move for [math], due to some maven plugin (I don't
>  remember which one). It was an easy move and nobody complained. I agree
>  the users base is smaller than for other commons components, though.

Also, the change does not affect the binary artifacts.
AFAICT it does not affect any of the Maven artifacts.
It does affect the source archives, but the build process is still the same.

So the source tree re-arrangements are likely to affect very few users, if any.

>
>  Luc
>
>
>  >
>  > Phil
>  >> cheers
>  >> --
>  >> Torsten
>  >>
>  >> ---------------------------------------------------------------------
>  >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  >> For additional commands, e-mail: dev-help@commons.apache.org
>  >>
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  > For additional commands, e-mail: dev-help@commons.apache.org
>  >
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Phil Steitz <ph...@gmail.com>.
Luc Maisonobe wrote:
> Phil Steitz a écrit :
>> Torsten Curdt wrote:
>>>> I think tomcat may still build repackaged versions of dbcp and pool
>>>> classes from source and this change might break their builds.  So -1
>>>> for now for changing those.
>>> As much as I am for cross-project collaboration this reason for a "-1"
>>> takes it a step too far IMO. If they really want to keep using the
>>> repackaged versions (why?)
>> Mark or someone else can confirm, but I think the repackaging is to
>> avoid conflicts between the bundled versions and user-supplied
>> replacements.
>>
>>  they can probably adjust their build within
>>> minutes to work with a new project layout.
>> But why force that?  I see know value to this change from a [pool]
>> or [dbcp] perspective.  What exactly do we gain from it?  I know
>> that tomcat is not the only user who builds classes from these
>> sources from source.  Why force this change on everyone who does
>> that?  If I am missing some benefit other than adhering to a
>> (changed) maven standard, I would like to know what that is.
> 
> I think it is the first time I disagree with you, Phil

I don't think so :)
, I'm sorry for
> that. 

Please never apologize for that.  I am often wrong.

I think going back to accepted standards instead of having our own
> way is good.

Its not so much "having our own way" as implementing change to
adhere to "standards" that I don't see any value in beyond
supporting brittle plugins. That is a side rant issue, so basically
I am agreeing with you on this point.

 People and quality assurance teams often build lots of
> scripts to check source trees, so having a directories tree that is
> similar to trees from other project adds value and remove some burden to
> users.

I get that part.  I have built and maintained these scripts.  I was
 trying to be nice to those who have scripts in place that work with
our sources. Doing work to make work for existing users so new users
can have an easier time can be seen either way.  (See point below on
2.x vs 1.x versions.)

I do agree with Torsten that it is in general beyond reasonable for
users to expect that the structure of our sources will not change.
I did not mean to imply that we should in general try to maintain
backward compatibility wrt source organization (or supported build
tools).  My point was just that I do not personally see enough value
in this particular change to justify *any* work required by users
who have to support it.  Based on what everyone else is saying on
this thread, I see I am in the minority on this, so probably wrong.
> 
> We already did the move for [math], due to some maven plugin (I don't
> remember which one). It was an easy move and nobody complained. I agree
> the users base is smaller than for other commons components, though.
> 
And we did it as part of a move to 2.0, which had lots of other
changes.  Pool and dbcp are much older and trunk is still 1.x.  I
would be happier to postpone this change until 2.x; but I see I am
odd man out on this, so if someone wants to do the work, fully test
all of the builds, I am OK with it - i.e., now just -0.  Please do
it as part of a JIRA though so we don't forget to include mention of
the change in release notes.

Phil
> Luc
> 
>> Phil
>>> cheers
>>> --
>>> Torsten
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Luc Maisonobe <Lu...@free.fr>.
Phil Steitz a écrit :
> Torsten Curdt wrote:
>>> I think tomcat may still build repackaged versions of dbcp and pool
>>> classes from source and this change might break their builds.  So -1
>>> for now for changing those.
>> As much as I am for cross-project collaboration this reason for a "-1"
>> takes it a step too far IMO. If they really want to keep using the
>> repackaged versions (why?)
> 
> Mark or someone else can confirm, but I think the repackaging is to
> avoid conflicts between the bundled versions and user-supplied
> replacements.
> 
>  they can probably adjust their build within
>> minutes to work with a new project layout.
> 
> But why force that?  I see know value to this change from a [pool]
> or [dbcp] perspective.  What exactly do we gain from it?  I know
> that tomcat is not the only user who builds classes from these
> sources from source.  Why force this change on everyone who does
> that?  If I am missing some benefit other than adhering to a
> (changed) maven standard, I would like to know what that is.

I think it is the first time I disagree with you, Phil, I'm sorry for
that. I think going back to accepted standards instead of having our own
way is good. People and quality assurance teams often build lots of
scripts to check source trees, so having a directories tree that is
similar to trees from other project adds value and remove some burden to
users.

We already did the move for [math], due to some maven plugin (I don't
remember which one). It was an easy move and nobody complained. I agree
the users base is smaller than for other commons components, though.

Luc

> 
> Phil
>> cheers
>> --
>> Torsten
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Phil Steitz <ph...@gmail.com>.
Torsten Curdt wrote:
>> I think tomcat may still build repackaged versions of dbcp and pool
>> classes from source and this change might break their builds.  So -1
>> for now for changing those.
> 
> As much as I am for cross-project collaboration this reason for a "-1"
> takes it a step too far IMO. If they really want to keep using the
> repackaged versions (why?)

Mark or someone else can confirm, but I think the repackaging is to
avoid conflicts between the bundled versions and user-supplied
replacements.

 they can probably adjust their build within
> minutes to work with a new project layout.

But why force that?  I see know value to this change from a [pool]
or [dbcp] perspective.  What exactly do we gain from it?  I know
that tomcat is not the only user who builds classes from these
sources from source.  Why force this change on everyone who does
that?  If I am missing some benefit other than adhering to a
(changed) maven standard, I would like to know what that is.

Phil
> 
> cheers
> --
> Torsten
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Torsten Curdt <tc...@apache.org>.
> /me Puts on Tomcat hat
>
> Don't worry about us. We work with specific versions and can handle any
> changes when we next to an upgrade.

See? :)
Thanks, Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Mark Thomas <ma...@apache.org>.
On 10/04/2010 17:33, Torsten Curdt wrote:
>> I think tomcat may still build repackaged versions of dbcp and pool
>> classes from source and this change might break their builds.  So -1
>> for now for changing those.
>
> As much as I am for cross-project collaboration this reason for a "-1"
> takes it a step too far IMO. If they really want to keep using the
> repackaged versions (why?) they can probably adjust their build within
> minutes to work with a new project layout.

/me Puts on Tomcat hat

Don't worry about us. We work with specific versions and can handle any 
changes when we next to an upgrade.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Torsten Curdt <tc...@apache.org>.
> I think tomcat may still build repackaged versions of dbcp and pool
> classes from source and this change might break their builds.  So -1
> for now for changing those.

As much as I am for cross-project collaboration this reason for a "-1"
takes it a step too far IMO. If they really want to keep using the
repackaged versions (why?) they can probably adjust their build within
minutes to work with a new project layout.

cheers
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Phil Steitz <ph...@gmail.com>.
sebb wrote:
> 22 commons-proper projects are still using non-standard source and
> test directories, i.e. they are using:
> 
>     <sourceDirectory>src/java</sourceDirectory>
>     <testSourceDirectory>src/test</testSourceDirectory>
> 
> rather than the default:
> 
>     <sourceDirectory>src/main/java</sourceDirectory>
>     <testSourceDirectory>src/test/java</testSourceDirectory>
> 
> Do we want to fix those?
> 
> This would involve renaming the directories, removing the entries from
> the pom files and updating any other build scripts e.g. Ant that may
> be present.
> 
> The projects are:
> 
> betwixt
> cli
> codec
> collections
> configuration
> daemon
> dbcp
> dbutils
> digester
> discovery
> el
> email
> fileupload
> io
> jxpath
> launcher
> logging
> modeler
> net
> pool
> primitives
> transaction
> 

I think tomcat may still build repackaged versions of dbcp and pool
classes from source and this change might break their builds.  So -1
for now for changing those.

Phil
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [ALL] Non-standard maven source and test directories

Posted by Dennis Lundberg <de...@apache.org>.
+1

On 2010-04-10 17:16, sebb wrote:
> 22 commons-proper projects are still using non-standard source and
> test directories, i.e. they are using:
> 
>     <sourceDirectory>src/java</sourceDirectory>
>     <testSourceDirectory>src/test</testSourceDirectory>
> 
> rather than the default:
> 
>     <sourceDirectory>src/main/java</sourceDirectory>
>     <testSourceDirectory>src/test/java</testSourceDirectory>
> 
> Do we want to fix those?
> 
> This would involve renaming the directories, removing the entries from
> the pom files and updating any other build scripts e.g. Ant that may
> be present.
> 
> The projects are:
> 
> betwixt
> cli
> codec
> collections
> configuration
> daemon
> dbcp
> dbutils
> digester
> discovery
> el
> email
> fileupload
> io
> jxpath
> launcher
> logging
> modeler
> net
> pool
> primitives
> transaction
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org