Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-06 Thread Jason Dillon

On Jul 6, 2006, at 12:36 PM, Jacek Laskowski wrote:

On 7/6/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

The exact command used to make the v5 patch was (from trunk):

 svn diff > GERONIMO-2161.patch

And, as I thought I explained to you before, the same changes are
applied to this branch:

 https://svn.apache.org/repos/asf/geronimo/sandbox/svkmerge/
m2migration/

You can just use the branch to test the changes, or merge those
changes into your branch, which should have the same results at the
cost of additional merging.


You've been working on the patch in your local copy of Geronimo trunk.
You did svn co ...trunk. Correct? When you finished your work, you
executed 'svn diff' to cut the patch. Correct? The patch turned out to
be 'broken' or 'incompatible' for unix patch command and thus noone
could test it out extensively, but look at it and verify reading.
Correct?


Mostly correct.  You could apply the patch and examine the failed  
chunks and notice the trivial changes and how they would not alter  
the change and test w/a high degree of certainty that the changes in  
the patch were and are valid.


But... due to the problem with svn diff+patch it made it much harder  
for folks to review and produce positive votes, due to the added  
overhead of the work and understanding of the failed patch chunks.




1/ You're working alone with no help from anyone. No, I don't mind
your working alone and show changes when they're ready. The point is
that I don't foster an interest of others to be involved and possibly
contribute/help you.


Again mostly correct.  I had been working with David, Prasad and  
others as they applied the patch and then took feedback, fixed issues  
and then re-crafted patches.  So, I was not working alone in that  
sense.  But others could not directly help me work by submitting code  
to the codebase as would have been the case if we were all working  
and committing to SVN.


For me this was a stretch, because I generally like to commit as  
often as possible when new features or fixes are introduced that are  
compatible with the build.  I like to use source control to help me  
manage what changes I am making.




2/ As we have already found out, unix patch is not reliable and thus
is not an option in a long turn. We need to figure out a way to work
in a collaborative manner without the overhead of unix patch that
makes the process of applying changes more complicated than it really
needs to be. If your changes are between some revisions (e.g. initial
branch creation revision and HEAD) anyone can use the branch and apply
the change with svn merge command to his/her local Geronimo sources
copy and test it out. Once an issue is found, the one who spot it
could fix it in your branch and again call a vote.


We MUST understand and resolve why svn diff + patch is broken, or why  
it could break.  We MUST figure this out... regardless of whether the  
ongoing RTC work is done on a branch.


But, we also need to find a way to allow more collaborative work to  
be done while following the RTC rules for commits to trunk.


I believe that using branches works for this... in theory... BUT  
since merging in SVN is not as automated as it could be (or should  
be), that we must be-careful not introduce more overhead from merging  
and conflict resolution, which if not done carefully could be more  
harmful than good.


This is why I was looking into SVK, since it provides another level  
on top of SVN with a more intelligent merging algorithm and  
integrated conflict resolution in a very Perforce-style (which IMO is  
highly effective).




There're some other benefits, but these should be enough for now
(unless you're not convinced and I'll have to write them down ;-))


Don't get me wrong... I think that using branches is a good idea.  I  
just wish that SVN was better at facilitating the merge back.  And  
since it is not, we must be very careful not to over-branch in set  
ourselves up for insane merges.


 * * *

I still do believe that for the m2 build system implementation, that  
a branch is not needed, the work could (and should) be done on the  
trunk.  Once finished, we can call a RTC vote on if the m2 build  
should be the default and at that time begin the work to remove the  
trails left over to support the m1 build.


There is still a bunch of work left, and some of it will involve  
moving modules around into more sensible hierarchies.  We are going  
to want to make these changes on the trunk... the added overhead of  
managing a merge from branches post-reorg w/SVN is going to be way,  
way to high.


But, just to note... before any such work is done the general ideas  
will be presented for the community to vote upon.  This is what I had  
intended the initial GERONIMO-2161 RTC to be used for.  To vote on  
the concept and then implement on trunk.  but, due to the slowness of  
the RTC process the work progressed faster than people could react to  
the RTC and 

Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-06 Thread Jacek Laskowski

On 7/6/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

The exact command used to make the v5 patch was (from trunk):

 svn diff > GERONIMO-2161.patch

And, as I thought I explained to you before, the same changes are
applied to this branch:

 https://svn.apache.org/repos/asf/geronimo/sandbox/svkmerge/
m2migration/

You can just use the branch to test the changes, or merge those
changes into your branch, which should have the same results at the
cost of additional merging.


Understood. Would you consider a small improvement in the process (let
me call it this way before we'll find a better name for it ;-))?

You've been working on the patch in your local copy of Geronimo trunk.
You did svn co ...trunk. Correct? When you finished your work, you
executed 'svn diff' to cut the patch. Correct? The patch turned out to
be 'broken' or 'incompatible' for unix patch command and thus noone
could test it out extensively, but look at it and verify reading.
Correct?

I can see a few issues with that approach:

1/ You're working alone with no help from anyone. No, I don't mind
your working alone and show changes when they're ready. The point is
that I don't foster an interest of others to be involved and possibly
contribute/help you.

2/ As we have already found out, unix patch is not reliable and thus
is not an option in a long turn. We need to figure out a way to work
in a collaborative manner without the overhead of unix patch that
makes the process of applying changes more complicated than it really
needs to be. If your changes are between some revisions (e.g. initial
branch creation revision and HEAD) anyone can use the branch and apply
the change with svn merge command to his/her local Geronimo sources
copy and test it out. Once an issue is found, the one who spot it
could fix it in your branch and again call a vote.

There're some other benefits, but these should be enough for now
(unless you're not convinced and I'll have to write them down ;-))

WDYT?


--jason


Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl


Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-06 Thread Jason Dillon

The exact command used to make the v5 patch was (from trunk):

svn diff > GERONIMO-2161.patch

And, as I thought I explained to you before, the same changes are  
applied to this branch:


https://svn.apache.org/repos/asf/geronimo/sandbox/svkmerge/ 
m2migration/


You can just use the branch to test the changes, or merge those  
changes into your branch, which should have the same results at the  
cost of additional merging.


--jason


On Jul 6, 2006, at 4:09 AM, Jacek Laskowski wrote:


On 7/6/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I'm sorry... but I do not understand what you are asking Jacek.
Could you please rephrase your question/request?


How did you cut the latest patch v5? What commands did you use? I
guess it was something like 'svn diff ... > GERONIMO-2161-v5.patch',
wasn't it? If so and the changes are part of a branch (e.g.
svkmerge/m2migration), we (testers) could apply it to our local
Geronimo srcs using 'svn merge' nor 'patch' that we've just found is
incompatible. This way we will use svn commands only and be able to
apply and test it.


--jason


Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl




Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-06 Thread Jacek Laskowski

On 7/6/06, Jason Dillon <[EMAIL PROTECTED]> wrote:

I'm sorry... but I do not understand what you are asking Jacek.
Could you please rephrase your question/request?


How did you cut the latest patch v5? What commands did you use? I
guess it was something like 'svn diff ... > GERONIMO-2161-v5.patch',
wasn't it? If so and the changes are part of a branch (e.g.
svkmerge/m2migration), we (testers) could apply it to our local
Geronimo srcs using 'svn merge' nor 'patch' that we've just found is
incompatible. This way we will use svn commands only and be able to
apply and test it.


--jason


Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl


Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-06 Thread Jason Dillon
I'm sorry... but I do not understand what you are asking Jacek.   
Could you please rephrase your question/request?


Thanks,

--jason


On Jul 6, 2006, at 12:22 AM, Jacek Laskowski (JIRA) wrote:

[ http://issues.apache.org/jira/browse/GERONIMO-2161? 
page=comments#action_12419429 ]


Jacek Laskowski commented on GERONIMO-2161:
---

After some thinking...may I find out how the patch was cut? I mean  
what revisions it holds of svkmerge/m2migration? I'd like to apply  
the patch to my local copy of a fresh Geronimo srcs check-out with  
svn merge and give it a shot rather than relying on the  
incompatible patch.


[RTC] Remove Geronimo modules from dependencyManagement in root  
pom.xml
- 
--


 Key: GERONIMO-2161
 URL: http://issues.apache.org/jira/browse/GERONIMO-2161
 Project: Geronimo
Type: Task
Security: public(Regular issues)
  Components: buildsystem
Reporter: Jason Dillon
Assignee: Jason Dillon
 Fix For: 1.2
 Attachments: GERONIMO-2161-configs-v1.1.sub.patch, GERONIMO-2161- 
v1.patch, GERONIMO-2161-v2.patch, GERONIMO-2161-v3.patch,  
GERONIMO-2161-v4.patch, GERONIMO-2161-v5.patch


As I have mentioned before, I believe we should remove the  
Geronimo modules that are currently listed in the root pom.xml:

This reduces the configuration of the pom by *~500 lines*.
Modules that reference these as dependencies will need their pom's  
adjusted to include ${pom.version} and  
car for the configs.  But in many places version  
already exists with the ${geronimoVersion} property... which kinda  
negates the purpose of the dependencyManagement section anyways.
I believe that it is more work to keep track of every module in  
the root pom than it is to specify the additonal elements (mostly  
just ${pom.version}) in child poms.  There is  
no additional maintenance, as the new elements never need to be  
changed.
Net effect if this change is less configuration to maintain and  
thus a less brittle build that can adapt to change easier.

Specifically these should be removed:
{code:xml}

org.apache.geronimo.modules
ge-activemq-rar
${geronimoVersion}
rar


org.apache.geronimo.modules
geronimo-activation
${geronimoVersion}


org.apache.geronimo.modules
geronimo-client
${geronimoVersion}


org.apache.geronimo.modules
geronimo-client-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-common
${geronimoVersion}


org.apache.geronimo.modules
geronimo-connector
${geronimoVersion}


org.apache.geronimo.modules
geronimo-connector-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-converter
${geronimoVersion}


org.apache.geronimo.modules
geronimo-core
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-config
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-jsr88
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-tool
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deployment
${geronimoVersion}


org.apache.geronimo.modules
geronimo-derby
${geronimoVersion}


org.apache.geronimo.modules
geronimo-directory
${geronimoVersion}


org.apache.geronimo.modules
geronimo-javamail-transport
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee-schema
${geronimoVersion}


org.apache.geronimo.modules
geronimo-kernel
${geronimoVersion}


org.apache.geronimo.modules
geronimo-jetty
${geronimoVersion}


org.apache.geronimo.modules
geronimo-jetty-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-jmx-remoting
${geronimoVersion}


org.apache.geronimo.modules
geronimo-mail
${geronimoVersion}


org.apache.geronimo.modules
geronimo-management
${geronimoVersion}


org.apache.geronimo.modules
geronimo-naming
${geronimoVersion}


org.apache.geronimo.modules
geronimo-naming-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-security
${geronimoVersion}


Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-05 Thread Jason Dillon

Please mail the output of `patch -sp0 < GERONIMO-2161-v4.patch`.

Yes, my workspace is clean.  As I have noted before in previous  
emails... svn diff is producing output that can not be reapplied with  
patch.  David J has seen this happen too IIRC.


--jason


On Jul 5, 2006, at 2:52 PM, Jacek Laskowski (JIRA) wrote:

[ http://issues.apache.org/jira/browse/GERONIMO-2161? 
page=comments#action_12419339 ]


Jacek Laskowski commented on GERONIMO-2161:
---

Jason, I can't apply the v4 patch. It ends with errors. Have you  
checked out clean Geronimo sources and apply it? Did it finish  
properly? I'm concerned as others have reported it worked fine.


[RTC] Remove Geronimo modules from dependencyManagement in root  
pom.xml
- 
--


 Key: GERONIMO-2161
 URL: http://issues.apache.org/jira/browse/GERONIMO-2161
 Project: Geronimo
Type: Task
Security: public(Regular issues)
  Components: buildsystem
Reporter: Jason Dillon
Assignee: Jason Dillon
 Fix For: 1.2
 Attachments: GERONIMO-2161-configs-v1.1.sub.patch, GERONIMO-2161- 
v1.patch, GERONIMO-2161-v2.patch, GERONIMO-2161-v3.patch,  
GERONIMO-2161-v4.patch


As I have mentioned before, I believe we should remove the  
Geronimo modules that are currently listed in the root pom.xml:

This reduces the configuration of the pom by *~500 lines*.
Modules that reference these as dependencies will need their pom's  
adjusted to include ${pom.version} and  
car for the configs.  But in many places version  
already exists with the ${geronimoVersion} property... which kinda  
negates the purpose of the dependencyManagement section anyways.
I believe that it is more work to keep track of every module in  
the root pom than it is to specify the additonal elements (mostly  
just ${pom.version}) in child poms.  There is  
no additional maintenance, as the new elements never need to be  
changed.
Net effect if this change is less configuration to maintain and  
thus a less brittle build that can adapt to change easier.

Specifically these should be removed:
{code:xml}

org.apache.geronimo.modules
ge-activemq-rar
${geronimoVersion}
rar


org.apache.geronimo.modules
geronimo-activation
${geronimoVersion}


org.apache.geronimo.modules
geronimo-client
${geronimoVersion}


org.apache.geronimo.modules
geronimo-client-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-common
${geronimoVersion}


org.apache.geronimo.modules
geronimo-connector
${geronimoVersion}


org.apache.geronimo.modules
geronimo-connector-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-converter
${geronimoVersion}


org.apache.geronimo.modules
geronimo-core
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-config
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-jsr88
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-tool
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deployment
${geronimoVersion}


org.apache.geronimo.modules
geronimo-derby
${geronimoVersion}


org.apache.geronimo.modules
geronimo-directory
${geronimoVersion}


org.apache.geronimo.modules
geronimo-javamail-transport
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee-schema
${geronimoVersion}


org.apache.geronimo.modules
geronimo-kernel
${geronimoVersion}


org.apache.geronimo.modules
geronimo-jetty
${geronimoVersion}


org.apache.geronimo.modules
geronimo-jetty-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-jmx-remoting
${geronimoVersion}


org.apache.geronimo.modules
geronimo-mail
${geronimoVersion}


org.apache.geronimo.modules
geronimo-management
${geronimoVersion}


org.apache.geronimo.modules
geronimo-naming
${geronimoVersion}


org.apache.geronimo.modules
geronimo-naming-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-security

Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-03 Thread Jason Dillon

Hrm... so I tried something else...

I just svn up'd to get my working copy to revision 418706.  Then svn  
status to make sure there are no conflicts... I've only got M and A  
indicators.


Then `svn diff > test.patch` from trunk, and then in a clean checkout  
`patch -p0 --dry-run < ../../trunk/test.patch`.


Below is the output... notice that it fails on packaging bits too.

Why on earth would this happen?  Either... I have made/applied the  
patches incorrectly, or svn diff is busted, or patch is busted, or  
somehow my workspace is now corrupt... how?!?!  I hope it is not the  
latter else I just wasted several days worth of work to get this  
patch put together.


WTF is going on?!

I checked some of the rejects and most are harmless... but regardless  
of that I am really concerned about the reliability of patches.


:-(


patching file applications/ldap-realm-demo/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/console/console-standard/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/console/console-ear/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/console/console-core/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/console/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/console/console-framework/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/magicGball/magicGball-ejb/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/magicGball/magicGball-ear/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/magicGball/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/magicGball/magicGball-web/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/magicGball/magicGball-client/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/demo/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/remote-deploy/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/uddi-db/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/uddi-server/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/welcome/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file configs/unavailable-client-deployer/pom.xml
patching file configs/welcome-tomcat/pom.xml
patching file configs/client-security/pom.xml
patching file configs/javamail/pom.xml
patching file configs/console-tomcat/pom.xml
patching file configs/tomcat/pom.xml
patching file configs/j2ee-server/pom.xml
patching file configs/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file configs/activemq-broker/pom.xml
patching file configs/jsp-examples-tomcat/pom.xml
patching file configs/sharedlib/pom.xml
patching file configs/jetty/pom.xml
patching file configs/console-jetty/pom.xml
patching file configs/client-system/pom.xml
patching file configs/unavailable-ejb-deployer/pom.xml
patching file configs/openejb-deployer/pom.xml
patching file configs/directory/pom.xml
patching file configs/online-deployer/pom.xml
patching file configs/jsp-examples-jetty/pom.xml
patching file configs/j2ee-deployer/pom.xml
patching file configs/tomcat-deployer/pom.xml
patching file configs/activemq/pom.xml
patching file configs/geronimo-gbean-deployer/pom.xml
patching file configs/hot-deployer/pom.xml
patching file configs/shutdown/pom.xml
patching file configs/jetty-deployer/pom.xml
patching file configs/servlets-examples-jetty/pom.xml
patching file configs/openejb/pom.xml
patching file configs/unavailable-webservices-deployer/pom.xml
patching file configs/axis-deployer/pom.xml
patching file configs/system-database/pom.xml
patching file configs/ldap-demo-tomcat/pom.xml
patching file configs/upgrade/pom.xml
patching file configs/welcome-jetty/pom.xml
patching file configs/j2ee-security/pom.xml
patching file configs/upgrade-cli/pom.xml
patching file configs/rmi-naming/pom.xml
patching file configs/ldap-demo-jetty/pom.xml
patching file configs/client-deployer/pom.xml
patching file configs/client-corba/pom.xml
patching file configs/axis/pom.xml
patching file configs/j2ee-system/pom.xml
patching file configs/servlets-examples-tomcat/pom.xml
patching file configs/j2ee-corba/pom.xml
patching file configs/ldap-realm/pom.xml
patching file configs/client/pom.xml
patching file pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file m2-plugins/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file m2-plugins/geronimo-packaging-plugin/src/java/org/ 
apache/geronimo/plugin/packaging/PackageBuilderShellMojo.java

Hunk #1 FAILED at 14.
1 out of 1 hunk FAILED -- saving rejects to file m2-plugins/geronimo- 
packaging-plugin/src/java/org/apache/geronimo/plugin/packaging/ 
PackageBuilderShellMojo.java.rej
patching file m2-plugins/geronimo-packaging-plugin/src/java/org/ 
apache/geronimo/plugin/packaging/PlanProcessorMojo.java

Hunk 

Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-03 Thread Jason Dillon

Odd... I generated the patch in the same way I did for v1.

I just tried:

svn co https://svn.apache.org/repos/asf/geronimo/trunk
cd trunk
patch -p0 < ~/Downloads/GERONIMO-2161-v2.patch.txt

Below is the output of patch...

and I'm a touch concerned since I don't get why it would fail to  
apply this patch.


I generated the file with:

svn diff > GERONIMO-2161-v2.patch.txt

Is that not the correct method to generate the patch file?   Or is  
svn diff + patch not reliable?


I don't get it.

--jason



patching file pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
Hunk #2 FAILED at 33.
1 out of 2 hunks FAILED -- saving rejects to file pom.xml.rej
patching file pom.xml
Reversed (or previously applied) patch detected!  Assume -R? [n] ^C
Bliss:~/ws/apache/geronimo/tmp/trunk jason$ patch -p0 < ~/Downloads/ 
GERONIMO-2161-v2.patch.txt

patching file applications/ldap-realm-demo/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/console/console-standard/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/console/console-ear/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/console/console-core/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/console/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/console/console-framework/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/magicGball/magicGball-ejb/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/magicGball/magicGball-ear/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/magicGball/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/magicGball/magicGball-web/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/magicGball/magicGball-client/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/demo/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/remote-deploy/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/uddi-db/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/uddi-server/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file applications/welcome/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file configs/unavailable-client-deployer/pom.xml
patching file configs/welcome-tomcat/pom.xml
patching file configs/client-security/pom.xml
patching file configs/javamail/pom.xml
patching file configs/console-tomcat/pom.xml
patching file configs/tomcat/pom.xml
patching file configs/j2ee-server/pom.xml
patching file configs/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file configs/activemq-broker/pom.xml
patching file configs/jsp-examples-tomcat/pom.xml
patching file configs/sharedlib/pom.xml
patching file configs/jetty/pom.xml
patching file configs/console-jetty/pom.xml
patching file configs/client-system/pom.xml
patching file configs/unavailable-ejb-deployer/pom.xml
patching file configs/openejb-deployer/pom.xml
patching file configs/directory/pom.xml
patching file configs/online-deployer/pom.xml
patching file configs/jsp-examples-jetty/pom.xml
patching file configs/j2ee-deployer/pom.xml
patching file configs/tomcat-deployer/pom.xml
patching file configs/activemq/pom.xml
patching file configs/geronimo-gbean-deployer/pom.xml
patching file configs/hot-deployer/pom.xml
patching file configs/shutdown/pom.xml
patching file configs/jetty-deployer/pom.xml
patching file configs/servlets-examples-jetty/pom.xml
patching file configs/openejb/pom.xml
patching file configs/unavailable-webservices-deployer/pom.xml
patching file configs/axis-deployer/pom.xml
patching file configs/system-database/pom.xml
patching file configs/ldap-demo-tomcat/pom.xml
patching file configs/upgrade/pom.xml
patching file configs/welcome-jetty/pom.xml
patching file configs/j2ee-security/pom.xml
patching file configs/upgrade-cli/pom.xml
patching file configs/rmi-naming/pom.xml
patching file configs/ldap-demo-jetty/pom.xml
patching file configs/client-deployer/pom.xml
patching file configs/client-corba/pom.xml
patching file configs/axis/pom.xml
patching file configs/j2ee-system/pom.xml
patching file configs/servlets-examples-tomcat/pom.xml
patching file configs/j2ee-corba/pom.xml
patching file configs/ldap-realm/pom.xml
patching file configs/client/pom.xml
patching file pom.xml
Hunk #1 FAILED at 17.
Hunk #2 succeeded at 49 (offset 4 lines).
Hunk #3 succeeded at 537 (offset 4 lines).
Hunk #4 succeeded at 551 (offset 4 lines).
Hunk #5 succeeded at 576 (offset 4 lines).
Hunk #6 succeeded at 596 (offset 4 lines).
Hunk #7 succeeded at 689 (offset 4 lines).
Hunk #8 succeeded at 874 (offset 4 lines).
1 out of 8 hunks FAILED -- saving rejects to file pom.xml.rej
patching file m2-plugins/pom.xml
Hunk #1 succeeded at 17 with fuzz 2.
patching file m2-plugins/geronimo-packaging-plugin/src/java/org/ 

Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-02 Thread Jason Dillon

I did not fix it... but it has started to go away... not sure why yet.

I think we need to get a common repo withy these new changes to  
resync and move on to the next hurdle.


--jason


On Jul 2, 2006, at 12:57 AM, David Jencks wrote:

This is the xmlbeans/stax problem.  It might be that either you or  
jason has a fixed xmlbeans plugin.


david jencks

On Jul 2, 2006, at 12:46 AM, Jacek Laskowski (JIRA) wrote:

[ http://issues.apache.org/jira/browse/GERONIMO-2161? 
page=comments#action_12418829 ]


Jacek Laskowski commented on GERONIMO-2161:
---

Tested and got the following build error. I'll give it a shot  
again with no ~/.m2 local repo.


{noformat}
[EMAIL PROTECTED] /cygdrive/c/oss/GERONIMO-2161-testing
$ mvn -Dstage=bootstrap && mvn
...
[INFO]  
- 
---

[ERROR] BUILD ERROR
[INFO]  
- 
---

[INFO] Failed to resolve artifact.

Missing:
--
1) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=xmlbeans - 
DartifactId=xmlbeans-jsr173-api \

  -Dversion=2.0-dev -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1) org.apache.geronimo.modules:geronimo-j2ee-schema:jar: 
1.2-SNAPSHOT

2) stax:stax:jar:1.1.1-dev
3) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev

--
1 required artifact is missing.

for artifact:
  org.apache.geronimo.modules:geronimo-j2ee-schema:jar:1.2-SNAPSHOT
{noformat}

[RTC] Remove Geronimo modules from dependencyManagement in root  
pom.xml
 
---


 Key: GERONIMO-2161
 URL: http://issues.apache.org/jira/browse/GERONIMO-2161
 Project: Geronimo
Type: Task
Security: public(Regular issues)
  Components: buildsystem
Reporter: Jason Dillon
Assignee: Jason Dillon
 Fix For: 1.2
 Attachments: GERONIMO-2161-v1.patch

As I have mentioned before, I believe we should remove the  
Geronimo modules that are currently listed in the root pom.xml:

This reduces the configuration of the pom by *~500 lines*.
Modules that reference these as dependencies will need their  
pom's adjusted to include ${pom.version} and  
car for the configs.  But in many places version  
already exists with the ${geronimoVersion} property... which  
kinda negates the purpose of the dependencyManagement section  
anyways.
I believe that it is more work to keep track of every module in  
the root pom than it is to specify the additonal elements (mostly  
just ${pom.version}) in child poms.  There is  
no additional maintenance, as the new elements never need to be  
changed.
Net effect if this change is less configuration to maintain and  
thus a less brittle build that can adapt to change easier.

Specifically these should be removed:
{code:xml}

org.apache.geronimo.modules
ge-activemq-rar
${geronimoVersion}
rar


org.apache.geronimo.modules
geronimo-activation
${geronimoVersion}


org.apache.geronimo.modules
geronimo-client
${geronimoVersion}


org.apache.geronimo.modules
geronimo-client-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-common
${geronimoVersion}


org.apache.geronimo.modules
geronimo-connector
${geronimoVersion}


org.apache.geronimo.modules
geronimo-connector-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-converter
${geronimoVersion}


org.apache.geronimo.modules
geronimo-core
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-config
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-jsr88
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-tool
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deployment
${geronimoVersion}


org.apache.geronimo.modules
geronimo-derby
${geronimoVersion}


org.apache.geronimo.modules
geronimo-directory
${geronimoVersion}


org.apache.geronimo.modules
geronimo-javamail-transport
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee-schema
${geronimoVersion}



Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-02 Thread Jason Dillon

1/ Why has the version tag been added? Doesn't M2 take care of it?


org.apache.geronimo.modules
geronimo-security-builder
+${pom.version}



m2 dose not take care of this.

internal modules IMO should be defined with this additional version  
element to avoid needing to insert a dependencyManagement element in  
the root pom.


IMO putting it here is easier to maintain and manage than to force  
more than one file to be used to control the version.


This is only for internal dependencies that share the same $ 
{pom.version}.


NOTE: Before I even started working on this the m2 configuration was  
already misusing the dependencyManagement section, but having all  
issues redefine the same property-based version.




2/ Could the syntax of application names be changed to

Geronimo Applications :: The Magic G Ball :: WAR

rather than

Geronimo Applications, The Magic G Ball :: WAR

to be aligned with

Geronimo Applications :: The Magic G Ball


Yes that could be the syntax, but, once restart the restructure to  
better organize modules for the m2 build, the use of the ' :: '  
separator gets quite out of hand.  There will be several layers of  
nesting.  To help this naming system scale only one (max two ::  
should be used), otherwise the names get quite out of hand.


They were already out of hand and so I re-applied to original naming  
scheme that I setup for the m1 modules way way back.




3/ Why has this been excluded?

+++ modules/directory/pom.xml   (working copy)
...
+
+
+commons-test
+commons-test
+
+


As a measure to get this puppy to build ;-)

Where is this dependency?  Where is its project?  Where is the  
version to be used?


If it is actually needed then we need an official build for it... and  
a version in a well know repository.


FYI, there are a bunch of whacked dependencies throughout the build.   
It is going to take many more RTC to get all of that resolved.


--jason


Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-02 Thread David Jencks


On Jul 2, 2006, at 12:24 AM, Jacek Laskowski wrote:


On 7/2/06, Jason Dillon (JIRA)  wrote:

> [RTC] Remove Geronimo modules from dependencyManagement in root  
pom.xml
>  
- 
--

>
>  Key: GERONIMO-2161
>  URL: http://issues.apache.org/jira/browse/GERONIMO-2161
>  Project: Geronimo
> Type: Task
> Security: public(Regular issues)
>   Components: buildsystem
> Reporter: Jason Dillon
> Assignee: Jason Dillon
>  Fix For: 1.2
>  Attachments: GERONIMO-2161-v1.patch


I've got questions about the patch. Appreciate comments.

1/ Why has the version tag been added? Doesn't M2 take care of it?


org.apache.geronimo.modules
geronimo-security-builder
+${pom.version}




This was the main point of the patch, as discussed on the dev list  
and in the patch description: to remove geronimo dependencies from  
dependencyManagement and instead include this version tag wherever  
they are used.  I'm a bit surprised by this idea but jason has worked  
on many more m2 projects than I and I'm happy to believe him that  
this will make our life easier.


thanks
david jencks


2/ Could the syntax of application names be changed to

Geronimo Applications :: The Magic G Ball :: WAR

rather than

Geronimo Applications, The Magic G Ball :: WAR

to be aligned with

Geronimo Applications :: The Magic G Ball

3/ Why has this been excluded?

+++ modules/directory/pom.xml   (working copy)
...
+
+
+commons-test
+commons-test
+
+


Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl




Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-02 Thread David Jencks
This is the xmlbeans/stax problem.  It might be that either you or  
jason has a fixed xmlbeans plugin.


david jencks

On Jul 2, 2006, at 12:46 AM, Jacek Laskowski (JIRA) wrote:

[ http://issues.apache.org/jira/browse/GERONIMO-2161? 
page=comments#action_12418829 ]


Jacek Laskowski commented on GERONIMO-2161:
---

Tested and got the following build error. I'll give it a shot again  
with no ~/.m2 local repo.


{noformat}
[EMAIL PROTECTED] /cygdrive/c/oss/GERONIMO-2161-testing
$ mvn -Dstage=bootstrap && mvn
...
[INFO]  
-- 
--

[ERROR] BUILD ERROR
[INFO]  
-- 
--

[INFO] Failed to resolve artifact.

Missing:
--
1) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=xmlbeans - 
DartifactId=xmlbeans-jsr173-api \

  -Dversion=2.0-dev -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1) org.apache.geronimo.modules:geronimo-j2ee-schema:jar:1.2- 
SNAPSHOT

2) stax:stax:jar:1.1.1-dev
3) xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev

--
1 required artifact is missing.

for artifact:
  org.apache.geronimo.modules:geronimo-j2ee-schema:jar:1.2-SNAPSHOT
{noformat}

[RTC] Remove Geronimo modules from dependencyManagement in root  
pom.xml
- 
--


 Key: GERONIMO-2161
 URL: http://issues.apache.org/jira/browse/GERONIMO-2161
 Project: Geronimo
Type: Task
Security: public(Regular issues)
  Components: buildsystem
Reporter: Jason Dillon
Assignee: Jason Dillon
 Fix For: 1.2
 Attachments: GERONIMO-2161-v1.patch

As I have mentioned before, I believe we should remove the  
Geronimo modules that are currently listed in the root pom.xml:

This reduces the configuration of the pom by *~500 lines*.
Modules that reference these as dependencies will need their pom's  
adjusted to include ${pom.version} and  
car for the configs.  But in many places version  
already exists with the ${geronimoVersion} property... which kinda  
negates the purpose of the dependencyManagement section anyways.
I believe that it is more work to keep track of every module in  
the root pom than it is to specify the additonal elements (mostly  
just ${pom.version}) in child poms.  There is  
no additional maintenance, as the new elements never need to be  
changed.
Net effect if this change is less configuration to maintain and  
thus a less brittle build that can adapt to change easier.

Specifically these should be removed:
{code:xml}

org.apache.geronimo.modules
ge-activemq-rar
${geronimoVersion}
rar


org.apache.geronimo.modules
geronimo-activation
${geronimoVersion}


org.apache.geronimo.modules
geronimo-client
${geronimoVersion}


org.apache.geronimo.modules
geronimo-client-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-common
${geronimoVersion}


org.apache.geronimo.modules
geronimo-connector
${geronimoVersion}


org.apache.geronimo.modules
geronimo-connector-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-converter
${geronimoVersion}


org.apache.geronimo.modules
geronimo-core
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-config
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-jsr88
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deploy-tool
${geronimoVersion}


org.apache.geronimo.modules
geronimo-deployment
${geronimoVersion}


org.apache.geronimo.modules
geronimo-derby
${geronimoVersion}


org.apache.geronimo.modules
geronimo-directory
${geronimoVersion}


org.apache.geronimo.modules
geronimo-javamail-transport
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee-builder
${geronimoVersion}


org.apache.geronimo.modules
geronimo-j2ee-schema
${geronimoVersion}


org.apache.geronimo.modules
geronimo-kernel
${geronimoVersion}


org.apache.geronimo.modules
geronimo-jetty
${geronimoVersion}


org.apache.geronimo.modules
geronimo-jetty-builder
 

Re: [jira] Commented: (GERONIMO-2161) [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml

2006-07-02 Thread Jacek Laskowski

On 7/2/06, Jason Dillon (JIRA)  wrote:


> [RTC] Remove Geronimo modules from dependencyManagement in root pom.xml
> ---
>
>  Key: GERONIMO-2161
>  URL: http://issues.apache.org/jira/browse/GERONIMO-2161
>  Project: Geronimo
> Type: Task
> Security: public(Regular issues)
>   Components: buildsystem
> Reporter: Jason Dillon
> Assignee: Jason Dillon
>  Fix For: 1.2
>  Attachments: GERONIMO-2161-v1.patch


I've got questions about the patch. Appreciate comments.

1/ Why has the version tag been added? Doesn't M2 take care of it?


org.apache.geronimo.modules
geronimo-security-builder
+${pom.version}


2/ Could the syntax of application names be changed to

Geronimo Applications :: The Magic G Ball :: WAR

rather than

Geronimo Applications, The Magic G Ball :: WAR

to be aligned with

Geronimo Applications :: The Magic G Ball

3/ Why has this been excluded?

+++ modules/directory/pom.xml   (working copy)
...
+
+
+commons-test
+commons-test
+
+


Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl