0

Building ZK5 from SVN fails

asked 2010-06-23 03:02:25 +0800

mjablonski gravatar image mjablonski
1284 3 5
http://www.jease.org/

Hi,

I'm trying to build ZK5 from SVN, but it fails. I did this a few months ago without problems, but now I can't make it work again.

My steps:

- checkout https://zk1.svn.sourceforge.net/svnroot/zk1/branches/5.0
- ./build br

I receive the following error:

Buildfile: /home/mjablonski/java/workspace/ZK5/build.xml

verbose:

config:

config.build:

codegen.mesg:

compile0:
     Compiling 203 source files to /home/mjablonski/java/workspace/ZK5/zk/release
     /home/mjablonski/java/workspace/ZK5/zk/src/org/zkoss/zk/ui/AbstractComponent.java:609: getNextUuid() in org.zkoss.zk.ui.sys.DesktopCtrl cannot be applied to (org.zkoss.zk.ui.AbstractComponent)
     			uuid = ((DesktopCtrl)desktop).getNextUuid(this);
     			                             ^
     /home/mjablonski/java/workspace/ZK5/zk/src/org/zkoss/zk/ui/AbstractComponent.java:649: addUuidChanged(org.zkoss.zk.ui.Component,boolean) in org.zkoss.zk.ui.sys.UiEngine cannot be applied to (org.zkoss.zk.ui.AbstractComponent)
     						getAttachedUiEngine().addUuidChanged(this);
     						                     ^
     /home/mjablonski/java/workspace/ZK5/zk/src/org/zkoss/zk/ui/impl/PageImpl.java:620: getNextUuid() in org.zkoss.zk.ui.sys.DesktopCtrl cannot be applied to (org.zkoss.zk.ui.impl.PageImpl)
     			_uuid = ((DesktopCtrl)_desktop).getNextUuid(this);
     			                               ^
     /home/mjablonski/java/workspace/ZK5/zk/src/org/zkoss/zk/ui/impl/UiEngineImpl.java:69: org.zkoss.zk.ui.impl.UiEngineImpl is not abstract and does not override abstract method addUuidChanged(org.zkoss.zk.ui.Component,boolean) in org.zkoss.zk.ui.sys.UiEngine
     public class UiEngineImpl implements UiEngine {
            ^
     Note: Some input files use or override a deprecated API.
     Note: Recompile with -Xlint:deprecation for details.
     4 errors

Any ideas what might be the problem?

Cheers, Maik

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2010-06-23 03:34:38 +0800

SimonPai gravatar image SimonPai
1696 1

Hi Maik,

I just tried to checkout and rebuild my zk5, but I didn't run into any error. Did you experience this issue constantly? What is the last time you build zk5?

Regards,
Simon

link publish delete flag offensive edit

answered 2010-06-23 04:21:39 +0800

mjablonski gravatar image mjablonski
1284 3 5
http://www.jease.org/

Hi,

the error occurs every time... it showed up when ZK5 moved from trunk to branches/5.0 (if I remember correctly).

Cheers, Maik

link publish delete flag offensive edit

answered 2010-06-23 05:42:33 +0800

SimonPai gravatar image SimonPai
1696 1

Hi Maik,

I've found the problem. It seems there is some problem when we synchornized the source code from our internal svn to sourceforge.
Thank you for providing the information, and we need some more time to investigate and fix it.
When the problem is fixed I will reply to this thread.

Thanks,
Simon

link publish delete flag offensive edit

answered 2010-06-23 23:38:19 +0800

SimonPai gravatar image SimonPai
1696 1

Hi Maik,

We have fixed the problem and tested building from sourceforge svn. It should now build normally after you update from svn.
Thanks for your contribution.

Regards,
Simon

link publish delete flag offensive edit

answered 2010-06-24 00:48:07 +0800

mjablonski gravatar image mjablonski
1284 3 5
http://www.jease.org/

Hi Simon,

thanks, works perfectly now. Helps a lot to test applications against latest changes.

Cheers, Maik

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-06-23 03:02:25 +0800

Seen: 193 times

Last updated: Jun 24 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More