building nuxeo 5.3 on fedora 12 fails in "ant deploy" step

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

building nuxeo 5.3 on fedora 12 fails in "ant deploy" step

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

Reply to Author | View Threaded | Show Only this Message


  following the instructions for downloading and building the
development version of nuxeo 5.3, i got as far as the "ant deploy"
step, which generated a few thousand lines of output, then terminated
thusly:

... snip ...

     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Building Nuxeo Theme HTML
     [exec] [INFO]    task-segment: [install]
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] [buildnumber:create {execution: default}]
     [exec] [INFO] Storing buildNumber: 20091112-001117 at timestamp: 1258002677992
     [exec] [INFO] [nuxeo:eclipse-version {execution: eclipsize-version}]
     [exec] [INFO] eclipseVersion:5.3.1.-SNAPSHOT
     [exec] [INFO] [resources:resources {execution: default-resources}]
     [exec] [INFO] Using 'UTF-8' encoding to copy filtered resources.
     [exec] [INFO] Copying 28 resources
     [exec] [INFO] [compiler:compile {execution: default-compile}]
     [exec] [INFO] Compiling 20 source files to /home/rpjday/nuxeo/hg/nuxeo/nuxeo-theme/nuxeo-theme-html/target/classes
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [ERROR] BUILD FAILURE
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Compilation failure
     [exec] /home/rpjday/nuxeo/hg/nuxeo/nuxeo-theme/nuxeo-theme-html/src/main/java/org/nuxeo/theme/html/JSUtils.java:[55,25] cannot find symbol
     [exec] symbol  : method compressReader(org.mozilla.javascript.tools.shell.Global,org.mozilla.javascript.Script,java.lang.String,java.lang.String,int,<nulltype>)
     [exec] location: class org.mozilla.javascript.Context
     [exec]
     [exec]
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] For more information, run Maven with the -e switch
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Total time: 2 minutes 1 second
     [exec] [INFO] Finished at: Thu Nov 12 00:11:19 EST 2009
     [exec] [INFO] Final Memory: 361M/635M
     [exec] [INFO] ------------------------------------------------------------------------

BUILD FAILED
/home/rpjday/nuxeo/hg/nuxeo/build.xml:62: exec returned: 1

Total time: 2 minutes 31 seconds


  i'm open to suggestions.  up to that point, everything had worked
fine.

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: building nuxeo 5.3 on fedora 12 fails in "ant deploy" step

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

Reply to Author | View Threaded | Show Only this Message

On Thu, 12 Nov 2009, Robert P. J. Day wrote:

>   following the instructions for downloading and building the
> development version of nuxeo 5.3, i got as far as the "ant deploy"
> step, which generated a few thousand lines of output, then terminated
> thusly:
>
> ... snip ...
>
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Building Nuxeo Theme HTML
>      [exec] [INFO]    task-segment: [install]
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] [buildnumber:create {execution: default}]
>      [exec] [INFO] Storing buildNumber: 20091112-001117 at timestamp: 1258002677992
>      [exec] [INFO] [nuxeo:eclipse-version {execution: eclipsize-version}]
>      [exec] [INFO] eclipseVersion:5.3.1.-SNAPSHOT
>      [exec] [INFO] [resources:resources {execution: default-resources}]
>      [exec] [INFO] Using 'UTF-8' encoding to copy filtered resources.
>      [exec] [INFO] Copying 28 resources
>      [exec] [INFO] [compiler:compile {execution: default-compile}]
>      [exec] [INFO] Compiling 20 source files to /home/rpjday/nuxeo/hg/nuxeo/nuxeo-theme/nuxeo-theme-html/target/classes
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [ERROR] BUILD FAILURE
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Compilation failure
>      [exec] /home/rpjday/nuxeo/hg/nuxeo/nuxeo-theme/nuxeo-theme-html/src/main/java/org/nuxeo/theme/html/JSUtils.java:[55,25] cannot find symbol
>      [exec] symbol  : method compressReader(org.mozilla.javascript.tools.shell.Global,org.mozilla.javascript.Script,java.lang.String,java.lang.String,int,<nulltype>)
>      [exec] location: class org.mozilla.javascript.Context
>      [exec]
>      [exec]
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] For more information, run Maven with the -e switch
>      [exec] [INFO] ------------------------------------------------------------------------
>      [exec] [INFO] Total time: 2 minutes 1 second
>      [exec] [INFO] Finished at: Thu Nov 12 00:11:19 EST 2009
>      [exec] [INFO] Final Memory: 361M/635M
>      [exec] [INFO] ------------------------------------------------------------------------
>
> BUILD FAILED
> /home/rpjday/nuxeo/hg/nuxeo/build.xml:62: exec returned: 1
>
> Total time: 2 minutes 31 seconds

  google just produced this for me:

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

so, clearly, a similar error has occurred before.

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: building nuxeo 5.3 on fedora 12 fails in "ant deploy" step

by Julien CARSIQUE :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Apparently, this happened some time ago in our continuous integration chain with OpenJDK6.
    http://qa.nuxeo.org/hudson/job/Nuxeo_5.1_-_Unit_Tests_-_Matrix/./jdk=openjdk6/10/changes
For now, we don't guarantee build with other Java than Sun's. Please, try with Sun JDK 1.6.


Robert P. J. Day a écrit :
On Thu, 12 Nov 2009, Robert P. J. Day wrote:

  
  following the instructions for downloading and building the
development version of nuxeo 5.3, i got as far as the "ant deploy"
step, which generated a few thousand lines of output, then terminated
thusly:

... snip ...

     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Building Nuxeo Theme HTML
     [exec] [INFO]    task-segment: [install]
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] [buildnumber:create {execution: default}]
     [exec] [INFO] Storing buildNumber: 20091112-001117 at timestamp: 1258002677992
     [exec] [INFO] [nuxeo:eclipse-version {execution: eclipsize-version}]
     [exec] [INFO] eclipseVersion:5.3.1.-SNAPSHOT
     [exec] [INFO] [resources:resources {execution: default-resources}]
     [exec] [INFO] Using 'UTF-8' encoding to copy filtered resources.
     [exec] [INFO] Copying 28 resources
     [exec] [INFO] [compiler:compile {execution: default-compile}]
     [exec] [INFO] Compiling 20 source files to /home/rpjday/nuxeo/hg/nuxeo/nuxeo-theme/nuxeo-theme-html/target/classes
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [ERROR] BUILD FAILURE
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Compilation failure
     [exec] /home/rpjday/nuxeo/hg/nuxeo/nuxeo-theme/nuxeo-theme-html/src/main/java/org/nuxeo/theme/html/JSUtils.java:[55,25] cannot find symbol
     [exec] symbol  : method compressReader(org.mozilla.javascript.tools.shell.Global,org.mozilla.javascript.Script,java.lang.String,java.lang.String,int,<nulltype>)
     [exec] location: class org.mozilla.javascript.Context
     [exec]
     [exec]
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] For more information, run Maven with the -e switch
     [exec] [INFO] ------------------------------------------------------------------------
     [exec] [INFO] Total time: 2 minutes 1 second
     [exec] [INFO] Finished at: Thu Nov 12 00:11:19 EST 2009
     [exec] [INFO] Final Memory: 361M/635M
     [exec] [INFO] ------------------------------------------------------------------------

BUILD FAILED
/home/rpjday/nuxeo/hg/nuxeo/build.xml:62: exec returned: 1

Total time: 2 minutes 31 seconds
    

  google just produced this for me:

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

so, clearly, a similar error has occurred before.

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: building nuxeo 5.3 on fedora 12 fails in "ant deploy" step

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

Reply to Author | View Threaded | Show Only this Message

On Fri, 13 Nov 2009, Julien CARSIQUE wrote:

> Apparently, this happened some time ago in our continuous
> integration chain with OpenJDK6.    
> http://qa.nuxeo.org/hudson/job/Nuxeo_5.1_-_Unit_Tests_-_Matrix/./jdk=openjdk6/10/changes
> For now, we don't guarantee build with other Java than Sun's.
> Please, try with Sun JDK 1.6.

  where's the challenge in *that*?  :-)  seriously, i do see what
you're talking about -- the use of a custom_rhino.jar in that theme
JSutils.java file, which provides the compressReader() method that you
don't get with JDK's rhino.

  but assuming that might be all that's getting in the way of a full
openJDK-based build, i figure i'll just experiment with adding JS
compression via dojo toolkit and shrinksafe, and use dynamic lookup
like this:

http://fisheye5.cenqua.com/browse/dwr/java/org/directwebremoting/impl/ShrinkSafeCompressor.java?r1=1.1&r2=1.2&u=-1&ignore=&k=o

it seems fairly straightforward so maybe i'll give it a try.  thanks
for the help so far.

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