# Building ZK5 from SVN fails

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

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)
^
/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 retag edit

## 5 Replies

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

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

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.

Thanks,
Simon

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.

Regards,
Simon

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

[hide preview]