RE: relative path
Hi, I've submitted the issue CONTINUUM-1483, patch is attached. Regards. David. -Message d'origine- De : Emmanuel Venisse [mailto:[EMAIL PROTECTED] Envoyé : vendredi 21 septembre 2007 18:00 À : continuum-dev@maven.apache.org Objet : Re: relative path It isn't too late for 1.1, we're releasing beta-3 and final won't be normally before one month. For your patch, please attach it to an issue. Emmanuel CAUSSE David MTP CAP GEM a écrit : Hi, I send to the list a patch to add better support for SCM providers that honour the relativePath field in ScmCheckoutResult. The idea is to add a new field in project because I think it's project specific and not build specific. This patch allow group builds to work with SCM like clearcase or SYNERGY (I'll send a scm patch soon for this one). I hope it is not too late for 1.1... -- David Causse DECLIC - DTE - Génie Logiciel - GCCL Tél: 04 67 04 79 09 Post-scriptum La Poste Ce message est confidentiel. Sous réserve de tout accord conclu par écrit entre vous et La Poste, son contenu ne représente en aucun cas un engagement de la part de La Poste. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur. Post-scriptum La Poste Ce message est confidentiel. Sous réserve de tout accord conclu par écrit entre vous et La Poste, son contenu ne représente en aucun cas un engagement de la part de La Poste. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur.
Re: relative path
It isn't too late for 1.1, we're releasing beta-3 and final won't be normally before one month. For your patch, please attach it to an issue. Emmanuel CAUSSE David MTP CAP GEM a écrit : Hi, I send to the list a patch to add better support for SCM providers that honour the relativePath field in ScmCheckoutResult. The idea is to add a new field in project because I think it's project specific and not build specific. This patch allow group builds to work with SCM like clearcase or SYNERGY (I'll send a scm patch soon for this one). I hope it is not too late for 1.1... -- David Causse DECLIC - DTE - Génie Logiciel - GCCL Tél: 04 67 04 79 09 Post-scriptum La Poste Ce message est confidentiel. Sous réserve de tout accord conclu par écrit entre vous et La Poste, son contenu ne représente en aucun cas un engagement de la part de La Poste. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur.
[jira] Commented: (CONTINUUM-462) Relative path not honoured in cvs commands for flat project layout
[ http://jira.codehaus.org/browse/CONTINUUM-462?page=comments#action_57629 ] Olivier Lamy commented on CONTINUUM-462: You can do it with continum by overriding the scm url in all modules (I use this with continuum 1.0.2) Workaround works for continuum but not for http://jira.codehaus.org/browse/MRELEASE-6 Olivier Relative path not honoured in cvs commands for flat project layout -- Key: CONTINUUM-462 URL: http://jira.codehaus.org/browse/CONTINUUM-462 Project: Continuum Type: Bug Versions: 1.0, 1.0.1 Environment: affects all environments Reporter: Christian Schulte Continuum does not implement the flat project layout as described at http://maven.apache.org/guides/mini/guide-ide-eclipse.html at the end of the site correctly. The checkout via ViewCVS does work but during building continuum does not propagate the relative path to the modules and the parent correctly to the cvs commands it executes making the build fail because of cvs errors about unknown modules. Example: REPOROOT |--ROOT |pom.xml |--MODULE1 |pom.xml |--MODULE2 |pom.xml Just directories below REPOROOT. The ViewCVS URL to import such a project into continuum looks something like this... http://somehost/viewcvs/*checkout*/REPOROOT/ROOT/pom.xml and the SCM URL inside ROOT/pom.xml looks like this... connectionscm:cvs:pserver:[EMAIL PROTECTED]:/cvs:/REPOROOT/ROOT/connection Continuum can successfully build the project inside ROOT but fails for all projects defined like this in ROOT/pom.xml. modules module../MODULE1/module module../MDOULE2/module /modules That is because it tries to do the cvs checkouts wihtout the correct relative path as it did during initial checkout via ViewCVS. 21212715 [Thread-1] WARN org.apache.maven.continuum.scm.ContinuumScm - Command output: cvs server: cannot find module `REPOROOT/ROOT/MODULE1' - ignored cvs [checkout aborted]: cannot expand modules Here it should have used REPOROOT/ROOT/../MODULE1. The workaround to get this structure working in continuum is to specify the SCM URL inside every single pom.xml of the whole project with the correct path. Continuum then does support the flat project layout. Without the SCM URLs inside every pom it only honours the structure during initial checkout via ViewCVS but not during the cvs commands executed. -- 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
[jira] Created: (CONTINUUM-462) Relative path not honoured in cvs commands for flat project layout
Relative path not honoured in cvs commands for flat project layout -- Key: CONTINUUM-462 URL: http://jira.codehaus.org/browse/CONTINUUM-462 Project: Continuum Type: Bug Versions: 1.0, 1.0.1 Environment: affects all environments Reporter: Christian Schulte Continuum does not implement the flat project layout as described at http://maven.apache.org/guides/mini/guide-ide-eclipse.html at the end of the site correctly. The checkout via ViewCVS does work but during building continuum does not propagate the relative path to the modules and the parent correctly to the cvs commands it executes making the build fail because of cvs errors about unknown modules. Example: REPOROOT |--ROOT |pom.xml |--MODULE1 |pom.xml |--MODULE2 |pom.xml Just directories below REPOROOT. The ViewCVS URL to import such a project into continuum looks something like this... http://somehost/viewcvs/*checkout*/REPOROOT/ROOT/pom.xml and the SCM URL inside ROOT/pom.xml looks like this... connectionscm:cvs:pserver:[EMAIL PROTECTED]:/cvs:/REPOROOT/ROOT/connection Continuum can successfully build the project inside ROOT but fails for all projects defined like this in ROOT/pom.xml. modules module../MODULE1/module module../MDOULE2/module /modules That is because it tries to do the cvs checkouts wihtout the correct relative path as it did during initial checkout via ViewCVS. 21212715 [Thread-1] WARN org.apache.maven.continuum.scm.ContinuumScm - Command output: cvs server: cannot find module `REPOROOT/ROOT/MODULE1' - ignored cvs [checkout aborted]: cannot expand modules Here it should have used REPOROOT/ROOT/../MODULE1. The workaround to get this structure working in continuum is to specify the SCM URL inside every single pom.xml of the whole project with the correct path. Continuum then does support the flat project layout. Without the SCM URLs inside every pom it only honours the structure during initial checkout via ViewCVS but not during the cvs commands executed. -- 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