As Florent said, you can see the tags for all the submodules, going for 
instance to:

http://hg.nuxeo.org/nuxeo/nuxeo-common/tags

So the right tag to use in the modified script seem to be "release-5.3.1" for 
all the submodules (including those from the 1.6 branch in the original script).

  S.

On Oct 29, 2010, at 11:06 PM, Jesus Ibañez wrote:

> Hello!
> 
> I run the next script:
> 
> ##############################
> # This script will checkout the needed sources
> hg clone -r 1.6.1 http://hg.nuxeo.org/nuxeo/nuxeo-common
> hg clone -r 1.6.1 http://hg.nuxeo.org/nuxeo/nuxeo-runtime
> hg clone -r 1.6.1 http://hg.nuxeo.org/nuxeo/nuxeo-core
> 
> hg clone -r 5.3.1 http://hg.nuxeo.org/nuxeo/nuxeo-services
> hg clone -r 5.3.1 http://hg.nuxeo.org/nuxeo/nuxeo-theme
> hg clone -r 5.3.1 http://hg.nuxeo.org/nuxeo/nuxeo-webengine
> hg clone -r 5.3.1 http://hg.nuxeo.org/nuxeo/nuxeo-jsf
> hg clone -r 5.3.1 http://hg.nuxeo.org/nuxeo/nuxeo-gwt
> hg clone -r 5.3.1 http://hg.nuxeo.org/nuxeo/nuxeo-features
> hg clone -r 5.3.1 http://hg.nuxeo.org/nuxeo/nuxeo-dm
> 
> hg clone -r 5.3.1 http://hg.nuxeo.org/nuxeo/nuxeo-distribution
> 
> hg clone -r 5.3 http://hg.nuxeo.org/addons ../nuxeo531-addons
> ###############################
> 
> is it wrong? or i have to change any "5.3.1" to "release-5.3.1" and "1.6.1 to 
> release-1.6.1" ? if so, the script sends an error like "aborting: 
> release-5.3.1 not found" or something like that
> 
> Thanks a lot!
> 
> 
> On Fri, Oct 29, 2010 at 3:05 PM, Stefane Fermigier <[email protected]> wrote:
> 
> On Oct 29, 2010, at 9:36 PM, Jesus Ibañez wrote:
> 
>> Hello!!
>> 
>> Thanks for your response, i have followed  your advice (hg clone -r 
>> release-5.3.1 http://hg.nuxeo.org/nuxeo) and this issue 
>> https://jira.nuxeo.org/browse/NXBT-148 and after update my clone.sh 
>> everything download fine but trying to import to eclipse it fails again with 
>> the next error:
> 
> This can't work, if you look at the clone.sh script you will see that it 
> still tries to checkout the 5.3 and 1.6 branches of the submodules.
> 
> You will have change "5.3" to "release-5.3.1" (and, presumably, "1.6" to 
> "release-1.6.1", but I may be wrong) in the clone.sh script for it to achieve 
> what you want.
> 
>   S.
> 
>> 
>> 
>> [INFO] Scanning for projects...
>> Downloading: 
>> http://repo1.maven.org/maven2/org/nuxeo/nuxeo-ecm/5.3.1-CP08/nuxeo-ecm-5.3.1-CP08.pom
>> [INFO] Unable to find resource 'org.nuxeo:nuxeo-ecm:pom:5.3.1-CP08' in 
>> repository central (http://repo1.maven.org/maven2)
>> [INFO] 
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Error building POM (may not be this project's POM).
>> 
>> 
>> Project ID: org.nuxeo.ecm.core:nuxeo-core-parent:pom:1.6.1-CP08
>> 
>> Reason: Cannot find parent: org.nuxeo:nuxeo-ecm for project: 
>> org.nuxeo.ecm.core:nuxeo-core-parent:pom:1.6.1-CP08 for project 
>> org.nuxeo.ecm.core:nuxeo-core-parent:pom:1.6.1-CP08
>> 
>> 
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.reactor.MavenExecutionException: Cannot find parent: 
>> org.nuxeo:nuxeo-ecm for project: 
>> org.nuxeo.ecm.core:nuxeo-core-parent:pom:1.6.1-CP08 for project 
>> org.nuxeo.ecm.core:nuxeo-core-parent:pom:1.6.1-CP08
>>      at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:432)
>>      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300)
>>      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>>      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>>      at 
>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>      at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>      at java.lang.reflect.Method.invoke(Method.java:597)
>>      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find 
>> parent: org.nuxeo:nuxeo-ecm for project: 
>> org.nuxeo.ecm.core:nuxeo-core-parent:pom:1.6.1-CP08 for project 
>> org.nuxeo.ecm.core:nuxeo-core-parent:pom:1.6.1-CP08
>>      at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
>>      at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
>>      at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
>>      at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
>>      at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:632)
>>      at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:515)
>>      at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:588)
>>      at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:419)
>>      ... 12 more
>> Caused by: org.apache.maven.project.ProjectBuildingException: POM 
>> 'org.nuxeo:nuxeo-ecm' not found in repository: Unable to download the 
>> artifact from any repository
>> 
>>   org.nuxeo:nuxeo-ecm:pom:5.3.1-CP08
>> 
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2)
>> 
>>  for project org.nuxeo:nuxeo-ecm
>>      at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
>>      at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
>>      ... 19 more
>> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: 
>> Unable to download the artifact from any repository
>> 
>>   org.nuxeo:nuxeo-ecm:pom:5.3.1-CP08
>> 
>> from the specified remote repositories:
>>   central (http://repo1.maven.org/maven2)
>> 
>> 
>>      at 
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
>>      at 
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
>>      at 
>> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
>>      ... 20 more
>> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to 
>> download the artifact from any repository
>>      at 
>> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:349)
>>      at 
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
>>      ... 22 more
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Total time: 2 seconds
>> [INFO] Finished at: Fri Oct 29 14:23:35 CDT 2010
>> [INFO] Final Memory: 8M/507M
>> 
>> 
>> What could be happen?
>> 
>> Thanks in advanced
>> Jesus Ibañez
>> 
>> 
>> On Thu, Oct 28, 2010 at 6:21 PM, Florent Guillaume <[email protected]> wrote:
>> What version exactly are you trying to build?
>> You shouldn't check out just version "5.3", but a specific one like
>> "release-5.3.2".
>> See the tags available on http://hg.nuxeo.org/nuxeo/tags
>> 
>> Florent
>> 
>> On Thu, Oct 28, 2010 at 9:25 PM, Jesus Ibañez <[email protected]> wrote:
>> >
>> > Hello!!
>> > Trying to import nuxeo 5.3 into eclipse by doing "mvn eclipse:eclipse" i
>> > receive the next errors:
>> > [ERROR] BUILD ERROR
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Failed to resolve artifact.
>> > Missing:
>> > ----------
>> > 1) org.nuxeo.runtime:nuxeo-runtime:jar:1.6.3-SNAPSHOT
>> >   Try downloading the file manually from the project website.
>> >   Then, install it using the command:
>> >       mvn install:install-file -DgroupId=org.nuxeo.runtime
>> > -DartifactId=nuxeo-runtime -Dversion=1.6.3-SNAPSHOT -Dpackaging=jar
>> > -Dfile=/path/to/file
>> >   Alternatively, if you host your own repository you can deploy the file
>> > there:
>> >       mvn deploy:deploy-file -DgroupId=org.nuxeo.runtime
>> > -DartifactId=nuxeo-runtime -Dversion=1.6.3-SNAPSHOT -Dpackaging=jar
>> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> >   Path to dependency:
>> >    1) org.nuxeo.ecm.webengine:nuxeo-webengine-parent:pom:5.3.3-SNAPSHOT
>> >    2) org.nuxeo.runtime:nuxeo-runtime:jar:1.6.3-SNAPSHOT
>> > 2) org.nuxeo.common:nuxeo-common:jar:1.6.3-SNAPSHOT
>> >   Try downloading the file manually from the project website.
>> >   Then, install it using the command:
>> >       mvn install:install-file -DgroupId=org.nuxeo.common
>> > -DartifactId=nuxeo-common -Dversion=1.6.3-SNAPSHOT -Dpackaging=jar
>> > -Dfile=/path/to/file
>> >   Alternatively, if you host your own repository you can deploy the file
>> > there:
>> >       mvn deploy:deploy-file -DgroupId=org.nuxeo.common
>> > -DartifactId=nuxeo-common -Dversion=1.6.3-SNAPSHOT -Dpackaging=jar
>> > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>> >   Path to dependency:
>> >    1) org.nuxeo.ecm.webengine:nuxeo-webengine-parent:pom:5.3.3-SNAPSHOT
>> >    2) org.nuxeo.common:nuxeo-common:jar:1.6.3-SNAPSHOT
>> > ----------
>> > 2 required artifacts are missing.
>> > for artifact:
>> >   org.nuxeo.ecm.webengine:nuxeo-webengine-parent:pom:5.3.3-SNAPSHOT
>> > from the specified remote repositories:
>> >   public (http://maven.nuxeo.org/nexus/content/groups/public),
>> >   central (http://repo1.maven.org/maven2),
>> >   public-snapshot
>> > (http://maven.nuxeo.org/nexus/content/groups/public-snapshot)
>> >
>> > And navigating trough
>> >  "http://maven.nuxeo.org/nexus/content/groups/public-snapshot/org/nuxeo/*";
>> > there are not such versions of nuxeo-runtime, neither nuxeo.common
>> > 1.6.3-SNAPSHOT, where can i download these artifacts?
>> > Thanks in advanced
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Jesus
>> >
>> > _______________________________________________
>> > ECM mailing list
>> > [email protected]
>> > http://lists.nuxeo.com/mailman/listinfo/ecm
>> > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>> >
>> >
>> 
>> 
>> 
>> --
>> Florent Guillaume, Director of R&D, Nuxeo
>> Open Source, Java EE based, Enterprise Content Management (ECM)
>> http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87
>> 
>> 
>> 
>> -- 
>> Jesus
>> _______________________________________________
>> ECM mailing list
>> [email protected]
>> http://lists.nuxeo.com/mailman/listinfo/ecm
>> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
> 
> --
> Stefane Fermigier, Founder and Chairman, Nuxeo
> 
> Open Source, Java EE based, Enterprise Content Management (ECM)
> http://www.nuxeo.com/ - +33 1 40 33 79 87 - http://twitter.com/sfermigier
> Join the Nuxeo Group on LinkedIn: http://linkedin.com/groups?gid=43314
> New Nuxeo release: 
> http://blogs.nuxeo.com/dev/2010/07/nuxeo-dm-532-is-available.html
> 
> 
> 
> 
> -- 
> Jesus

--
Stefane Fermigier, Founder and Chairman, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com/ - +33 1 40 33 79 87 - http://twitter.com/sfermigier
Join the Nuxeo Group on LinkedIn: http://linkedin.com/groups?gid=43314
New Nuxeo release: 
http://blogs.nuxeo.com/dev/2010/07/nuxeo-dm-532-is-available.html

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to