how to download the mercurial DM 5.3 repository?

View: New views
17 Messages — Rating Filter:   Alert me  

how to download the mercurial DM 5.3 repository?

by Robert P. J. Day-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


  i'm perusing the hg repos over at hg.nuxeo.com,  but it's not clear
to me how i would -- if i wanted -- check out a copy of the
development branch of, say, DM for jboss.  or DM for tomcat.

  to be specific, i downloaded nuxeo-dm-latest-stable-jboss.zip,
unloaded it, and i can run it.  so far, so good.  but what if i want
to have the equivalent "nuxeo-distribution-jboss-5.3.0" directory that
is hg-updatable corresponding to the development branch?  it's not
clear if there's a direct equivalent that lets me clone to get a
directory with the equivalent contents:

$ ls
bin            derby.log          lgpl.html  readme.html        server
client         jar-versions.xml   lib        readme-java6.html
copyright.txt  JBossORG-EULA.txt  log        readme-jboss.html
$

  does such a single checkout exist?

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: how to download the mercurial DM 5.3 repository?

by sfermigier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Due to some (current, hopefuly) limitation in Mercurial, you have to  
do the following:

1. Checkout the root project.

$ hg clone -r 5.3.0 http://hg.nuxeo.org/nuxeo

2. Edit the clone.sh (that's clone.bat on Windows) script, changing  
all occurrences of "5.3" to "5.3.0" and "1.6" to "1.6.0".

3. Run clone.sh.

   S.

On Nov 9, 2009, at 3:57 PM, Robert P. J. Day wrote:

>
>  i'm perusing the hg repos over at hg.nuxeo.com,  but it's not clear
> to me how i would -- if i wanted -- check out a copy of the
> development branch of, say, DM for jboss.  or DM for tomcat.
>
>  to be specific, i downloaded nuxeo-dm-latest-stable-jboss.zip,
> unloaded it, and i can run it.  so far, so good.  but what if i want
> to have the equivalent "nuxeo-distribution-jboss-5.3.0" directory that
> is hg-updatable corresponding to the development branch?  it's not
> clear if there's a direct equivalent that lets me clone to get a
> directory with the equivalent contents:
>
> $ ls
> bin            derby.log          lgpl.html  readme.html        server
> client         jar-versions.xml   lib        readme-java6.html
> copyright.txt  JBossORG-EULA.txt  log        readme-jboss.html
> $
>
>  does such a single checkout exist?
>
> rday
> --
>
> =
> =
> ======================================================================
> Robert P. J. Day                               Waterloo, Ontario,  
> CANADA
>
>            Linux Consulting, Training and Kernel Pedantry.
>
> Web page:                                          http://crashcourse.ca
> Twitter:                                       http://twitter.com/rpjday
> =
> =
> ======================================================================
> _______________________________________________
> ECM mailing list
> ECM@...
> 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)
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
New: follow me on Twitter: http://twitter.com/sfermigier

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

Re: how to download the mercurial DM 5.3 repository?

by Robert P. J. Day-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 10 Nov 2009, Stefane Fermigier wrote:

> Hi,
>
> Due to some (current, hopefuly) limitation in Mercurial, you have to
> do the following:
>
> 1. Checkout the root project.
>
> $ hg clone -r 5.3.0 http://hg.nuxeo.org/nuxeo
>
> 2. Edit the clone.sh (that's clone.bat on Windows) script, changing
> all occurrences of "5.3" to "5.3.0" and "1.6" to "1.6.0".
>
> 3. Run clone.sh.

  so revision 5.3.0 represents the current *development* branch, does
it?  ok, i'll give it a shot and report back.

rday

p.s.  just to be clear, here's what i'm trying to do.  i can download
and install the nuxeo DM 5.3 zip file, but that of course represents
the latest *stable* release.  what i'd like to be able to do is
replace that install with an hg-updatable checkout so i can track the
ongoing commits and test the development branch instead.  and, for
convenience, i'd like to be able to do that without needing to check
out unrelated components -- just the DM stuff.

is that what the above represents?

--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: how to download the mercurial DM 5.3 repository?

by sfermigier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Nov 10, 2009, at 1:29 PM, Robert P. J. Day wrote:

> On Tue, 10 Nov 2009, Stefane Fermigier wrote:
>
>> Hi,
>>
>> Due to some (current, hopefuly) limitation in Mercurial, you have to
>> do the following:
>>
>> 1. Checkout the root project.
>>
>> $ hg clone -r 5.3.0 http://hg.nuxeo.org/nuxeo
>>
>> 2. Edit the clone.sh (that's clone.bat on Windows) script, changing
>> all occurrences of "5.3" to "5.3.0" and "1.6" to "1.6.0".
>>
>> 3. Run clone.sh.
>
>  so revision 5.3.0 represents the current *development* branch, does
> it?  ok, i'll give it a shot and report back.

Sorry, I missunderstood your question.

5.3.0 is a "tag" for the release (5.3.0 GA).

Use just "5.3" for the branch, i.e. the current dev version.

   S.

>
> rday
>
> p.s.  just to be clear, here's what i'm trying to do.  i can download
> and install the nuxeo DM 5.3 zip file, but that of course represents
> the latest *stable* release.  what i'd like to be able to do is
> replace that install with an hg-updatable checkout so i can track the
> ongoing commits and test the development branch instead.  and, for
> convenience, i'd like to be able to do that without needing to check
> out unrelated components -- just the DM stuff.
>
> is that what the above represents?
>
> --
>
> =
> =
> ======================================================================
> Robert P. J. Day                               Waterloo, Ontario,  
> CANADA
>
>            Linux Consulting, Training and Kernel Pedantry.
>
> Web page:                                          http://crashcourse.ca
> Twitter:                                       http://twitter.com/rpjday
> =
> =
> ======================================================================

--
Stefane Fermigier, Founder and Chairman, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
New: follow me on Twitter: http://twitter.com/sfermigier

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

Re: how to download the mercurial DM 5.3 repository?

by Robert P. J. Day-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 10 Nov 2009, Stefane Fermigier wrote:

> On Nov 10, 2009, at 1:29 PM, Robert P. J. Day wrote:
>
> > On Tue, 10 Nov 2009, Stefane Fermigier wrote:
> >
> > > Hi,
> > >
> > > Due to some (current, hopefuly) limitation in Mercurial, you have to
> > > do the following:
> > >
> > > 1. Checkout the root project.
> > >
> > > $ hg clone -r 5.3.0 http://hg.nuxeo.org/nuxeo
> > >
> > > 2. Edit the clone.sh (that's clone.bat on Windows) script, changing
> > > all occurrences of "5.3" to "5.3.0" and "1.6" to "1.6.0".
> > >
> > > 3. Run clone.sh.
> >
> > so revision 5.3.0 represents the current *development* branch, does
> > it?  ok, i'll give it a shot and report back.
>
> Sorry, I missunderstood your question.
>
> 5.3.0 is a "tag" for the release (5.3.0 GA).
>
> Use just "5.3" for the branch, i.e. the current dev version.

  a couple questions and observations before i take a shot at this.
it's unusual to have a *development* branch tagged with what appears
to be a version number.  once someone understands that, then it's
clear, from the clone.sh script, that 1.6 refers to the dev branch of
some of the hg checkouts, while 5.3 is the dev branches for the rest
of them.  it's just not obvious if one peruses the nuxeo mercurial
repo page, that's all.  i'm just used to development branches having
names like, well, "dev".

  in any event, if one is interested in keeping up with the current
development, all one needs to do (if i understand you correctly) is:

  $ hg clone -r 5.3 http://hg.nuxeo.org/nuxeo

and everything else should be fine since clone.sh already refers to
the dev branches of all else, correct?  then just run "clone.sh" for
the rest of the checkout.

  also, in order to keep up with the development, one clearly needs to
be able to do hg updates on a regular basis.  does that entire
checkout represent a mercurial forest that can be updated in one
operation?  or how would you update the entire thing?  thanks.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: how to download the mercurial DM 5.3 repository?

by Robert P. J. Day-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 10 Nov 2009, Stefane Fermigier wrote:

>
> On Nov 10, 2009, at 1:29 PM, Robert P. J. Day wrote:
>
> > On Tue, 10 Nov 2009, Stefane Fermigier wrote:
> >
> > > Hi,
> > >
> > > Due to some (current, hopefuly) limitation in Mercurial, you have to
> > > do the following:
> > >
> > > 1. Checkout the root project.
> > >
> > > $ hg clone -r 5.3.0 http://hg.nuxeo.org/nuxeo
> > >
> > > 2. Edit the clone.sh (that's clone.bat on Windows) script, changing
> > > all occurrences of "5.3" to "5.3.0" and "1.6" to "1.6.0".
> > >
> > > 3. Run clone.sh.
> >
> > so revision 5.3.0 represents the current *development* branch, does
> > it?  ok, i'll give it a shot and report back.
>
> Sorry, I missunderstood your question.
>
> 5.3.0 is a "tag" for the release (5.3.0 GA).
>
> Use just "5.3" for the branch, i.e. the current dev version.

  a couple more short questions, if i might.  once i've checked out
and cloned as above, i can peruse the README files at the top level
directory.  README.txt talks about installing JBoss 4.2.3.  is it
still mandatory to use the 4.2.3 version?  i notice that there is also
a 4.2.3 jdk6 version of JBoss, not to mention newer 5.1.0 versions of
both of those.  so is the non-jdk6 4.2.3 version still mandatory here?

  also, a small proofreading issue.  README.txt talks about copying
and editing build.properties, but not having to if you've installed
jboss in /opt/jboss already.  i'm not sure that's correct -- that
sample build file contains the line:

  #jboss.dir=/opt/jboss

so it's there, but it's commented out.  won't the user still have to
uncomment that line for ant to run properly?

rday
--


========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: how to download the mercurial DM 5.3 repository?

by Vincent Dutat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

if you like you can find here (http://www.nuxeo.org/static/snapshots/)
latest Nuxeo DM nightly builds (of development branch). So that you
don't need to compile it yourself, Nuxeo does it for you ;-)

Kr.


Robert P. J. Day wrote:

> On Tue, 10 Nov 2009, Stefane Fermigier wrote:
>
>> Hi,
>>
>> Due to some (current, hopefuly) limitation in Mercurial, you have to
>> do the following:
>>
>> 1. Checkout the root project.
>>
>> $ hg clone -r 5.3.0 http://hg.nuxeo.org/nuxeo
>>
>> 2. Edit the clone.sh (that's clone.bat on Windows) script, changing
>> all occurrences of "5.3" to "5.3.0" and "1.6" to "1.6.0".
>>
>> 3. Run clone.sh.
>
>   so revision 5.3.0 represents the current *development* branch, does
> it?  ok, i'll give it a shot and report back.
>
> rday
>
> p.s.  just to be clear, here's what i'm trying to do.  i can download
> and install the nuxeo DM 5.3 zip file, but that of course represents
> the latest *stable* release.  what i'd like to be able to do is
> replace that install with an hg-updatable checkout so i can track the
> ongoing commits and test the development branch instead.  and, for
> convenience, i'd like to be able to do that without needing to check
> out unrelated components -- just the DM stuff.
>
> is that what the above represents?
>
> --
>
> ========================================================================
> Robert P. J. Day                               Waterloo, Ontario, CANADA
>
>             Linux Consulting, Training and Kernel Pedantry.
>
> Web page:                                          http://crashcourse.ca
> Twitter:                                       http://twitter.com/rpjday
> ========================================================================
> _______________________________________________
> ECM mailing list
> ECM@...
> http://lists.nuxeo.com/mailman/listinfo/ecm
> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>


--


Vincent Dutat

for any given software, the moment you manage to master it, a new
version appears.

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

Re: how to download the mercurial DM 5.3 repository?

by Robert P. J. Day-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 12 Nov 2009, Vincent Dutat wrote:

> Hi,
>
> if you like you can find here
> (http://www.nuxeo.org/static/snapshots/) latest Nuxeo DM nightly
> builds (of development branch). So that you don't need to compile it
> yourself, Nuxeo does it for you ;-)

  oh, i know about the nightly snapshots.  i'm also interested in the
running changelog, which is why i prefer to check out the mercurial
repository.

  in any event, the build didn't quite work as i documented here:

http://www.crashcourse.ca/wiki/index.php/Nuxeo_on_Fedora#Building_Nuxeo_5.3_on_Fedora_12

the obvious error is a reference to a non-existent method,
Context.compressReader(), which doesn't appear to be a method of that
class anymore.  apparently, this very issue has come up before:

http://www.mail-archive.com/ecm-qa@.../msg04748.html

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: how to download the mercurial DM 5.3 repository?

by sfermigier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Nov 12, 2009, at 12:20 AM, Robert P. J. Day wrote:

> On Tue, 10 Nov 2009, Stefane Fermigier wrote:
>>
>> Use just "5.3" for the branch, i.e. the current dev version.
>
>  a couple questions and observations before i take a shot at this.
> it's unusual to have a *development* branch tagged with what appears
> to be a version number.  once someone understands that, then it's
> clear, from the clone.sh script, that 1.6 refers to the dev branch of
> some of the hg checkouts, while 5.3 is the dev branches for the rest
> of them.  it's just not obvious if one peruses the nuxeo mercurial
> repo page, that's all.  i'm just used to development branches having
> names like, well, "dev".

Mercurial doesn't (or didn't) allow for tags, so we had to use  
branches for tag too.

Using a name such as "release-5.3.0" and "dev-5.3" might have be  
clearer. Keeping branches names short is probably a good thing though,  
for development branches.

>  in any event, if one is interested in keeping up with the current
> development, all one needs to do (if i understand you correctly) is:
>
>  $ hg clone -r 5.3 http://hg.nuxeo.org/nuxeo
>
> and everything else should be fine since clone.sh already refers to
> the dev branches of all else, correct?  then just run "clone.sh" for
> the rest of the checkout.

Yes.

> also, in order to keep up with the development, one clearly needs to
> be able to do hg updates on a regular basis.  does that entire
> checkout represent a mercurial forest that can be updated in one
> operation?  or how would you update the entire thing?  thanks.


To update all the the subprojects , you can run:

for x in nuxeo-*
do
   ( cd $x ; hg pull ; hg up )
done

We have (on the Wiki, somewhere) a script that does basically this.

AFAIK Mercurial doesn't support this out of the box.

   S.

--
Stefane Fermigier, Founder and Chairman, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
New: follow me on Twitter: http://twitter.com/sfermigier

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

Re: how to download the mercurial DM 5.3 repository?

by sfermigier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Nov 12, 2009, at 1:15 PM, Robert P. J. Day wrote:

> On Thu, 12 Nov 2009, Vincent Dutat wrote:
>
>> Hi,
>>
>> if you like you can find here
>> (http://www.nuxeo.org/static/snapshots/) latest Nuxeo DM nightly
>> builds (of development branch). So that you don't need to compile it
>> yourself, Nuxeo does it for you ;-)
>
>  oh, i know about the nightly snapshots.  i'm also interested in the
> running changelog, which is why i prefer to check out the mercurial
> repository.
>
>  in any event, the build didn't quite work as i documented here:
>
> http://www.crashcourse.ca/wiki/index.php/Nuxeo_on_Fedora#Building_Nuxeo_5.3_on_Fedora_12
>
> the obvious error is a reference to a non-existent method,
> Context.compressReader(), which doesn't appear to be a method of that
> class anymore.  apparently, this very issue has come up before:
>
> http://www.mail-archive.com/ecm-qa@.../msg04748.html

The errors comes from Nuxeo Theme, maybe Jean-Marc has some answers.  
My guess is that there are differences between the JS engine shipped  
in OpenJDK 6 and the one in Sun's JDK 6.

   S.

--
Stefane Fermigier, Founder and Chairman, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
New: follow me on Twitter: http://twitter.com/sfermigier

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

Re: how to download the mercurial DM 5.3 repository?

by Robert P. J. Day-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 12 Nov 2009, Stefane Fermigier wrote:

> To update all the the subprojects , you can run:
>
> for x in nuxeo-*
> do
>  ( cd $x ; hg pull ; hg up )
> done

  amusingly, that is almost, letter for letter, what i used.

> AFAIK Mercurial doesn't support this out of the box.

  i think what you're after here is mercurial nested repositories:

http://mercurial.selenic.com/wiki/NestedRepositories

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: how to download the mercurial DM 5.3 repository?

by sfermigier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks. I think Florent sent a message about this this summer, but we  
haven't had the time to move in this direction yet.

   S.

On Nov 12, 2009, at 2:09 PM, Robert P. J. Day wrote:

> On Thu, 12 Nov 2009, Stefane Fermigier wrote:
>
>> To update all the the subprojects , you can run:
>>
>> for x in nuxeo-*
>> do
>> ( cd $x ; hg pull ; hg up )
>> done
>
>  amusingly, that is almost, letter for letter, what i used.
>
>> AFAIK Mercurial doesn't support this out of the box.
>
>  i think what you're after here is mercurial nested repositories:
>
> http://mercurial.selenic.com/wiki/NestedRepositories
>
> rday
> --
>
> =
> =
> ======================================================================
> Robert P. J. Day                               Waterloo, Ontario,  
> CANADA
>
>            Linux Consulting, Training and Kernel Pedantry.
>
> Web page:                                          http://crashcourse.ca
> Twitter:                                       http://twitter.com/rpjday
> =
> =
> ======================================================================

--
Stefane Fermigier, Founder and Chairman, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
New: follow me on Twitter: http://twitter.com/sfermigier

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

Re: how to download the mercurial DM 5.3 repository?

by Robert P. J. Day-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 12 Nov 2009, Stefane Fermigier wrote:

>
> On Nov 12, 2009, at 1:15 PM, Robert P. J. Day wrote:
>
> > On Thu, 12 Nov 2009, Vincent Dutat wrote:
> >
> > > Hi,
> > >
> > > if you like you can find here
> > > (http://www.nuxeo.org/static/snapshots/) latest Nuxeo DM nightly
> > > builds (of development branch). So that you don't need to compile it
> > > yourself, Nuxeo does it for you ;-)
> >
> > oh, i know about the nightly snapshots.  i'm also interested in the
> > running changelog, which is why i prefer to check out the mercurial
> > repository.
> >
> > in any event, the build didn't quite work as i documented here:
> >
> > http://www.crashcourse.ca/wiki/index.php/Nuxeo_on_Fedora#Building_Nuxeo_5.3_on_Fedora_12
> >
> > the obvious error is a reference to a non-existent method,
> > Context.compressReader(), which doesn't appear to be a method of
> > that class anymore.  apparently, this very issue has come up
> > before:
> >
> > http://www.mail-archive.com/ecm-qa@.../msg04748.html
>
> The errors comes from Nuxeo Theme, maybe Jean-Marc has some answers.
> My guess is that there are differences between the JS engine shipped
> in OpenJDK 6 and the one in Sun's JDK 6.

  i'm not convinced it's a JS engine difference.  the class definition
itself at mozilla.org:

http://www.mozilla.org/rhino/apidocs/org/mozilla/javascript/Context.html

seems to suggest that compressReader() is no longer part of the
Context class.  in addition, you can find examples around the
intertoobz of people explicitly checking for the existence of that
API, and replacing it if it's not found, like here:

http://fisheye5.atlassian.com/browse/dwr/java/org/directwebremoting/impl/ShrinkSafeCompressor.java?r=1.2

(note line 74 in that code, where someone has commented out a call to
cx.compressReader(), possibly because it doesn't exist anymore.)

one gets the impression that you should consider a separate JS
compression library, like shrinksafe:

http://shrinksafe.dojotoolkit.org/

depending on the licensing.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: how to download the mercurial DM 5.3 repository?

by Robert P. J. Day-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 12 Nov 2009, Stefane Fermigier wrote:

> Thanks. I think Florent sent a message about this this summer, but
> we haven't had the time to move in this direction yet.
>
> On Nov 12, 2009, at 2:09 PM, Robert P. J. Day wrote:
>
> > On Thu, 12 Nov 2009, Stefane Fermigier wrote:
> >
> > > To update all the the subprojects , you can run:
> > >
> > > for x in nuxeo-*
> > > do
> > > ( cd $x ; hg pull ; hg up )
> > > done
> >
> > amusingly, that is almost, letter for letter, what i used.
> >
> > > AFAIK Mercurial doesn't support this out of the box.
> >
> > i think what you're after here is mercurial nested repositories:
> >
> > http://mercurial.selenic.com/wiki/NestedRepositories
> >
> > rday

  after a bit of testing earlier today, i don't think mercurial nested
repos are going to help.  while they superficially look like
"svn:externals", at the moment, only a small number of hg commands are
subrepo-aware -- commit, push and update.  so even after setting up
the proper .hgsub file, you can't do nested "hg pull" or "hg
incoming", which (sort of) minimizes the value of that feature.

  for the nuxeo repos, setting this up involved simply creating the
top-level .hgsub text file:

=====

nuxeo-common = http://hg.nuxeo.org/nuxeo/nuxeo-common
nuxeo-runtime = http://hg.nuxeo.org/nuxeo/nuxeo-runtime
nuxeo-core = http://hg.nuxeo.org/nuxeo/nuxeo-core
nuxeo-services = http://hg.nuxeo.org/nuxeo/nuxeo-services
nuxeo-theme = http://hg.nuxeo.org/nuxeo/nuxeo-theme
nuxeo-webengine = http://hg.nuxeo.org/nuxeo/nuxeo-webengine
nuxeo-jsf = http://hg.nuxeo.org/nuxeo/nuxeo-jsf
nuxeo-gwt = http://hg.nuxeo.org/nuxeo/nuxeo-gwt
nuxeo-features = http://hg.nuxeo.org/nuxeo/nuxeo-features
nuxeo-dm = http://hg.nuxeo.org/nuxeo/nuxeo-dm
nuxeo-distribution = http://hg.nuxeo.org/nuxeo/nuxeo-distribution

=====

  adding it and committing it locally, which generated the
corresponding .hgsubstate file:

=====

de4859549a9c4743329f7a7c4c44b0c81bf64bfc nuxeo-common
10557e150625d3bf6079c69e5892a9fa6c90c128 nuxeo-core
d7129ff319a2620bddb0c0a4f10e71d5ccd9f2ca nuxeo-distribution
41db14b32bc6bc0cd57546ea18e577073958ab43 nuxeo-dm
55569fcb78d9c6d803ac950c47c771b28bc9755c nuxeo-features
cf38bcd105488ae4f81691036ceb37e00dd716ce nuxeo-gwt
995591e221cb77cb1eb2391dd03fd9d3eba2d1d2 nuxeo-jsf
885beca501cda4a68a724ed234912a49fd6a90e4 nuxeo-runtime
eac7526e81b11d0c0f7cf7d3cc53a39fead24202 nuxeo-services
49e431975ca564ebecf9ad3ad10a45b7ba457932 nuxeo-theme
dad67a234e4e2b14154496da9e8ae91c2604a6ff nuxeo-webengine

=====

  at that point, my nested repos are set up locally but, as i
mentioned above, the value is somewhat limited with only a few hg
commands taking advantage of that.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: how to download the mercurial DM 5.3 repository?

by Julien CARSIQUE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I have tested nested repositories and went to the conclusion they don't
fit our needs. I preferred Forest extension behaviors; what a pity it's
buggy with last python version and unmaintained since Mercurial includes
Nested repositories.  
It cannot be used by Nuxeo developers because as you said only a few
commands are subrepo-aware and because we need to be able to work only
on a module (nested cannot be unactivated, we can't commit only on nuxeo
root without pushing full repository hierarchy). We, Nuxeo developers,
worked around the Mercurial limitations using scripts such as hgf, hgx
(see "Useful Shell functions on
http://doc.nuxeo.org/xwiki/bin/view/FAQ/DownloadingNuxeoSources).

However, it could be useful to define nested repositories in order to
ease the sources cloning for outside testers. Tell us :)

Regards,

Robert P. J. Day a écrit :

>   after a bit of testing earlier today, i don't think mercurial nested
> repos are going to help.  while they superficially look like
> "svn:externals", at the moment, only a small number of hg commands are
> subrepo-aware -- commit, push and update.  so even after setting up
> the proper .hgsub file, you can't do nested "hg pull" or "hg
> incoming", which (sort of) minimizes the value of that feature.
>
>   for the nuxeo repos, setting this up involved simply creating the
> top-level .hgsub text file:
>
> =====
>
> nuxeo-common = http://hg.nuxeo.org/nuxeo/nuxeo-common
> nuxeo-runtime = http://hg.nuxeo.org/nuxeo/nuxeo-runtime
> nuxeo-core = http://hg.nuxeo.org/nuxeo/nuxeo-core
> nuxeo-services = http://hg.nuxeo.org/nuxeo/nuxeo-services
> nuxeo-theme = http://hg.nuxeo.org/nuxeo/nuxeo-theme
> nuxeo-webengine = http://hg.nuxeo.org/nuxeo/nuxeo-webengine
> nuxeo-jsf = http://hg.nuxeo.org/nuxeo/nuxeo-jsf
> nuxeo-gwt = http://hg.nuxeo.org/nuxeo/nuxeo-gwt
> nuxeo-features = http://hg.nuxeo.org/nuxeo/nuxeo-features
> nuxeo-dm = http://hg.nuxeo.org/nuxeo/nuxeo-dm
> nuxeo-distribution = http://hg.nuxeo.org/nuxeo/nuxeo-distribution
>
> =====
>
>   adding it and committing it locally, which generated the
> corresponding .hgsubstate file:
>
> =====
>
> de4859549a9c4743329f7a7c4c44b0c81bf64bfc nuxeo-common
> 10557e150625d3bf6079c69e5892a9fa6c90c128 nuxeo-core
> d7129ff319a2620bddb0c0a4f10e71d5ccd9f2ca nuxeo-distribution
> 41db14b32bc6bc0cd57546ea18e577073958ab43 nuxeo-dm
> 55569fcb78d9c6d803ac950c47c771b28bc9755c nuxeo-features
> cf38bcd105488ae4f81691036ceb37e00dd716ce nuxeo-gwt
> 995591e221cb77cb1eb2391dd03fd9d3eba2d1d2 nuxeo-jsf
> 885beca501cda4a68a724ed234912a49fd6a90e4 nuxeo-runtime
> eac7526e81b11d0c0f7cf7d3cc53a39fead24202 nuxeo-services
> 49e431975ca564ebecf9ad3ad10a45b7ba457932 nuxeo-theme
> dad67a234e4e2b14154496da9e8ae91c2604a6ff nuxeo-webengine
>
> =====
>
>   at that point, my nested repos are set up locally but, as i
> mentioned above, the value is somewhat limited with only a few hg
> commands taking advantage of that.
>
> rday
> --
>
> ========================================================================
> Robert P. J. Day                               Waterloo, Ontario, CANADA
>
>             Linux Consulting, Training and Kernel Pedantry.
>
> Web page:                                          http://crashcourse.ca
> Twitter:                                       http://twitter.com/rpjday
> ========================================================================
> _______________________________________________
> ECM mailing list
> ECM@...
> http://lists.nuxeo.com/mailman/listinfo/ecm
> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>  

--
Julien Carsique, Nuxeo (Paris, France)
www.nuxeo.com - The Open Source ECM Platform - www.nuxeo.org
Nuxeo ECM Stack - The Java EE, scalable, standard-based ECM Platform
jcarsique@... | Tel: +33 1 40 33 79 87


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

Re: how to download the mercurial DM 5.3 repository?

by Robert P. J. Day-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 16 Nov 2009, Julien CARSIQUE wrote:

> Hello,
>
> I have tested nested repositories and went to the conclusion they
> don't fit our needs. I preferred Forest extension behaviors; what a
> pity it's buggy with last python version and unmaintained since
> Mercurial includes Nested repositories.  It cannot be used by Nuxeo
> developers because as you said only a few commands are subrepo-aware
> and because we need to be able to work only on a module (nested
> cannot be unactivated, we can't commit only on nuxeo root without
> pushing full repository hierarchy).

  yes, i now appreciate that.  at first glance, i thought hg nested
repos were equivalent to what i was used to with svn:externals.  not
so, i learned, as you obviously learned long before i did.  without
full hg command support, hg nested repositories clearly have limited
value.  pity.

rday
--


========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: how to download the mercurial DM 5.3 repository?

by Julien CARSIQUE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think you should choose to use either 5.3/1.6 branch or release-5.3.0 tag.

If you want to regularly build last development version, you could consider building Nuxeo DM package from http://hg.nuxeo.org/nuxeo/nuxeo-distribution#5.3. See README.txt explaining how to build the various distributions.
Thanks to Maven, you don't need to build yourself last nuxeo sources, they are automatically downloaded from http://maven.nuxeo.org/ (http://maven.nuxeo.org/nexus/content/repositories/nuxeo-snapshot/).

FYI, here's a summary of our versioning policy and release process.
    Branch 5.3 is main development branch. Today, on this branch, artifacts are versioned 5.3.1-SNAPSHOT/1.6.1-SNAPSHOT.
    Branch 5.3.0 is maintenance branch for all existing (and future) 5.3.0.x versions. Artifacts are versioned 5.3.0.1-SNAPSHOT/1.6.0.1-SNAPSHOT (or 5.3.0/1.6.0 if not changed since last release).
    Tag release-5.3.0 is the source code of last Nuxeo release version 5.3.0. Artifacts are versioned 5.3.0/1.6.0.
    Next major version will be released from a new branch 5.3.1 (pulled from branch 5.3) and tagged as "release-5.3.1".
See "Nuxeo versioning policy" on http://doc.nuxeo.org/xwiki/bin/view/FAQ/DownloadingNuxeoSources for more details.

Cheers,

Robert P. J. Day a écrit :
On Tue, 10 Nov 2009, Stefane Fermigier wrote:

  
Hi,

Due to some (current, hopefuly) limitation in Mercurial, you have to
do the following:

1. Checkout the root project.

$ hg clone -r 5.3.0 http://hg.nuxeo.org/nuxeo

2. Edit the clone.sh (that's clone.bat on Windows) script, changing
all occurrences of "5.3" to "5.3.0" and "1.6" to "1.6.0".

3. Run clone.sh.
    

  so revision 5.3.0 represents the current *development* branch, does
it?  ok, i'll give it a shot and report back.

rday

p.s.  just to be clear, here's what i'm trying to do.  i can download
and install the nuxeo DM 5.3 zip file, but that of course represents
the latest *stable* release.  what i'd like to be able to do is
replace that install with an hg-updatable checkout so i can track the
ongoing commits and test the development branch instead.  and, for
convenience, i'd like to be able to do that without needing to check
out unrelated components -- just the DM stuff.

is that what the above represents?

--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
  

-- 
Julien Carsique, Nuxeo (Paris, France)
www.nuxeo.com - The Open Source ECM Platform - www.nuxeo.org
Nuxeo ECM Stack - The Java EE, scalable, standard-based ECM Platform
jcarsique@... | Tel: +33 1 40 33 79 87

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