build error

74 views
Skip to first unread message

Joel Reymont

unread,
Mar 1, 2011, 12:57:00 PM3/1/11
to zo...@googlegroups.com
I'm getting errors when building with ant. 

First ant complains about a missing java directory [1] and then there's something else entirely [2].

Any suggestions?

    Thanks, Joel

---

[1] Before 'mkdir java'

Buildfile: /Users/joelr/Work/java/zoie/build.xml

download-ivy:
     [echo] installing ivy...
      [get] To: /Users/joelr/Work/java/zoie/ivy/ivy.jar
      [get] Not modified - so not downloaded

install-ivy:

resolve:
No ivy:settings found for the default reference 'ivy.instance'.  A default instance will be used
no settings file found, using default...
[ivy:retrieve] :: Ivy 2.0.0-beta1 - 20071206070608 :: http://ant.apache.org/ivy/ ::
:: loading settings :: url = jar:file:/Users/joelr/Work/java/zoie/ivy/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: proj.zoie#zoie;wor...@biggie.local
[ivy:retrieve] confs: [master, test, jetty, admin, solr]
[ivy:retrieve] found commons-logging#commons-logging;1.1 in public
[ivy:retrieve] found org.directwebremoting#dwr;3.0.M1 in public
[ivy:retrieve] found fastutil#fastutil;5.0.5 in public
[ivy:retrieve] found org.json#json;20090211 in public
[ivy:retrieve] found log4j#log4j;1.2.15 in public
[ivy:retrieve] found org.apache.lucene#lucene-core;2.9.1 in public
[ivy:retrieve] found org.apache.lucene#lucene-highlighter;2.3.0 in public
[ivy:retrieve] found javax.servlet#servlet-api;2.5 in public
[ivy:retrieve] found org.springframework#spring-webmvc;2.5.5 in public
[ivy:retrieve] found org.springframework#spring;2.5.5 in public
[ivy:retrieve] found junit#junit;4.5 in public
[ivy:retrieve] found org.mockito#mockito-all;1.8.1 in public
[ivy:retrieve] found org.mortbay.jetty#jetty;6.1.19 in public
[ivy:retrieve] found org.mortbay.jetty#jetty-management;6.1.19 in public
[ivy:retrieve] found org.mortbay.jetty#jetty-naming;6.1.19 in public
[ivy:retrieve] found org.mortbay.jetty#jetty-util;6.1.19 in public
[ivy:retrieve] found mx4j#mx4j;3.0.1 in public
[ivy:retrieve] found mx4j#mx4j-tools;3.0.1 in public
[ivy:retrieve] found com.google.gwt#gwt-servlet;2.0.0 in public
[ivy:retrieve] found com.google.gwt#gwt-user;2.0.0 in public
[ivy:retrieve] found com.google.gwt#gwt-dev;2.0.0 in public
[ivy:retrieve] found com.google.gwt.google-apis#gwt-visualization;1.0.2 in public
[ivy:retrieve] found org.apache.solr#solr-core;1.4.0 in public
[ivy:retrieve] found org.apache.solr#solr-solrj;1.4.0 in public
[ivy:retrieve] :: resolution report :: resolve 1236ms :: artifacts dl 27ms
---------------------------------------------------------------------
|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      master      |   10  |   0   |   0   |   0   ||   10  |   0   |
|       test       |   2   |   0   |   0   |   0   ||   2   |   0   |
|       jetty      |   6   |   0   |   0   |   0   ||   6   |   0   |
|       admin      |   4   |   0   |   0   |   0   ||   4   |   0   |
|       solr       |   2   |   0   |   0   |   0   ||   2   |   0   |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: proj.zoie#zoie
[ivy:retrieve] confs: [master, test, jetty, admin, solr]
[ivy:retrieve] 0 artifacts copied, 24 already retrieved (0kB/34ms)

init:

compile:
    [javac] /Users/joelr/Work/java/zoie/build.xml:112: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

BUILD FAILED
/Users/joelr/Work/java/zoie/build.xml:112: srcdir "/Users/joelr/Work/java/zoie/java" does not exist!

Total time: 2 seconds

---

[2] After 'mkdir java'

ant run-server
Buildfile: /Users/joelr/Work/java/zoie/build.xml

download-ivy:
     [echo] installing ivy...
      [get] To: /Users/joelr/Work/java/zoie/ivy/ivy.jar
      [get] Not modified - so not downloaded

install-ivy:

resolve:
No ivy:settings found for the default reference 'ivy.instance'.  A default instance will be used
no settings file found, using default...
[ivy:retrieve] :: Ivy 2.0.0-beta1 - 20071206070608 :: http://ant.apache.org/ivy/ ::
:: loading settings :: url = jar:file:/Users/joelr/Work/java/zoie/ivy/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: proj.zoie#zoie;wor...@biggie.local
[ivy:retrieve] confs: [master, test, jetty, admin, solr]
[ivy:retrieve] found commons-logging#commons-logging;1.1 in public
[ivy:retrieve] found org.directwebremoting#dwr;3.0.M1 in public
[ivy:retrieve] found fastutil#fastutil;5.0.5 in public
[ivy:retrieve] found org.json#json;20090211 in public
[ivy:retrieve] found log4j#log4j;1.2.15 in public
[ivy:retrieve] found org.apache.lucene#lucene-core;2.9.1 in public
[ivy:retrieve] found org.apache.lucene#lucene-highlighter;2.3.0 in public
[ivy:retrieve] found javax.servlet#servlet-api;2.5 in public
[ivy:retrieve] found org.springframework#spring-webmvc;2.5.5 in public
[ivy:retrieve] found org.springframework#spring;2.5.5 in public
[ivy:retrieve] found junit#junit;4.5 in public
[ivy:retrieve] found org.mockito#mockito-all;1.8.1 in public
[ivy:retrieve] found org.mortbay.jetty#jetty;6.1.19 in public
[ivy:retrieve] found org.mortbay.jetty#jetty-management;6.1.19 in public
[ivy:retrieve] found org.mortbay.jetty#jetty-naming;6.1.19 in public
[ivy:retrieve] found org.mortbay.jetty#jetty-util;6.1.19 in public
[ivy:retrieve] found mx4j#mx4j;3.0.1 in public
[ivy:retrieve] found mx4j#mx4j-tools;3.0.1 in public
[ivy:retrieve] found com.google.gwt#gwt-servlet;2.0.0 in public
[ivy:retrieve] found com.google.gwt#gwt-user;2.0.0 in public
[ivy:retrieve] found com.google.gwt#gwt-dev;2.0.0 in public
[ivy:retrieve] found com.google.gwt.google-apis#gwt-visualization;1.0.2 in public
[ivy:retrieve] found org.apache.solr#solr-core;1.4.0 in public
[ivy:retrieve] found org.apache.solr#solr-solrj;1.4.0 in public
[ivy:retrieve] :: resolution report :: resolve 1250ms :: artifacts dl 21ms
---------------------------------------------------------------------
|                  |            modules            ||   artifacts   |
|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
|      master      |   10  |   0   |   0   |   0   ||   10  |   0   |
|       test       |   2   |   0   |   0   |   0   ||   2   |   0   |
|       jetty      |   6   |   0   |   0   |   0   ||   6   |   0   |
|       admin      |   4   |   0   |   0   |   0   ||   4   |   0   |
|       solr       |   2   |   0   |   0   |   0   ||   2   |   0   |
---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: proj.zoie#zoie
[ivy:retrieve] confs: [master, test, jetty, admin, solr]
[ivy:retrieve] 0 artifacts copied, 24 already retrieved (0kB/35ms)

init:

compile:
    [javac] /Users/joelr/Work/java/zoie/build.xml:112: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

gitversion:

zoie-core-javadoc:

BUILD FAILED
/Users/joelr/Work/java/zoie/build.xml:235: No source files and no packages have been specified.

Total time: 6 seconds

John Wang

unread,
Mar 1, 2011, 1:41:38 PM3/1/11
to zo...@googlegroups.com
Hi Joel:

    We are in the middle of the process to move zoie build to maven. It is not entirely done yet. Instead, can you checkout the last release tag? 


Thanks

-John

--
You received this message because you are subscribed to the Google Groups "zoie" group.
To post to this group, send email to zo...@googlegroups.com.
To unsubscribe from this group, send email to zoie+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/zoie?hl=en.

Joel Reymont

unread,
Mar 1, 2011, 2:34:37 PM3/1/11
to zo...@googlegroups.com

On Mar 1, 2011, at 6:41 PM, John Wang wrote:

> We are in the middle of the process to move zoie build to maven. It is not entirely done yet. Instead, can you checkout the last release tag?
>
> https://github.com/xiaoyang/zoie/tree/r2.5.0

Still fails. First because contrib/server/lib is missing and then this.

I do have ./lib/jetty/jetty.jar, what am I doing wrong?

Thanks, Joel

---

compile:
[javac] /Users/joelr/Work/java/zoie/contrib/server/build.xml:45: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 1 source file to /Users/joelr/Work/java/zoie/contrib/server/build
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:9: package org.mortbay.jetty does not exist
[javac] import org.mortbay.jetty.Server;
[javac] ^
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:10: package org.mortbay.jetty.nio does not exist
[javac] import org.mortbay.jetty.nio.SelectChannelConnector;
[javac] ^
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:11: package org.mortbay.jetty.webapp does not exist
[javac] import org.mortbay.jetty.webapp.WebAppContext;
[javac] ^
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:12: package org.mortbay.thread does not exist
[javac] import org.mortbay.thread.QueuedThreadPool;
[javac] ^
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:98: cannot find symbol
[javac] symbol : class QueuedThreadPool
[javac] location: class proj.zoie.server.ZoieServer
[javac] QueuedThreadPool threadPool = new QueuedThreadPool();
[javac] ^
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:98: cannot find symbol
[javac] symbol : class QueuedThreadPool
[javac] location: class proj.zoie.server.ZoieServer
[javac] QueuedThreadPool threadPool = new QueuedThreadPool();
[javac] ^
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:107: cannot find symbol
[javac] symbol : class Server
[javac] location: class proj.zoie.server.ZoieServer
[javac] final Server server = new Server();
[javac] ^
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:107: cannot find symbol
[javac] symbol : class Server
[javac] location: class proj.zoie.server.ZoieServer
[javac] final Server server = new Server();
[javac] ^
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:115: cannot find symbol
[javac] symbol : class SelectChannelConnector
[javac] location: class proj.zoie.server.ZoieServer
[javac] SelectChannelConnector connector = new SelectChannelConnector();
[javac] ^
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:115: cannot find symbol
[javac] symbol : class SelectChannelConnector
[javac] location: class proj.zoie.server.ZoieServer
[javac] SelectChannelConnector connector = new SelectChannelConnector();
[javac] ^
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:142: cannot find symbol
[javac] symbol : class WebAppContext
[javac] location: class proj.zoie.server.ZoieServer
[javac] WebAppContext web = new WebAppContext();
[javac] ^
[javac] /Users/joelr/Work/java/zoie/contrib/server/java/proj/zoie/server/ZoieServer.java:142: cannot find symbol
[javac] symbol : class WebAppContext
[javac] location: class proj.zoie.server.ZoieServer
[javac] WebAppContext web = new WebAppContext();
[javac] ^
[javac] 12 errors

BUILD FAILED
/Users/joelr/Work/java/zoie/build.xml:150: The following error occurred while executing this line:
/Users/joelr/Work/java/zoie/contrib/server/build.xml:45: Compile failed; see the compiler error output for details.

Total time: 4 seconds

--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------

jianwen lou

unread,
Apr 9, 2012, 10:39:00 PM4/9/12
to zo...@googlegroups.com
Hi John,I download the master tarball package from github,I try to install zoid with Maven,but fail,I just use Maven recently,I get the following error message:
ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-site, site, post-site, site-deploy, pre-clean, clean, post-clean. -> [Help 1]



could you give me some tip? thanks.
-John

[ivy:retrieve] :: resolving dependencies :: proj.zoie#zoie;working@biggie.local
[ivy:retrieve] :: resolving dependencies :: proj.zoie#zoie;working@biggie.local
To unsubscribe from this group, send email to zoie+unsubscribe@googlegroups.com.

John Wang

unread,
Apr 10, 2012, 2:31:47 AM4/10/12
to zo...@googlegroups.com
you need to do: mvn package

To view this discussion on the web visit https://groups.google.com/d/msg/zoie/-/4NC8F6bikmMJ.

To post to this group, send email to zo...@googlegroups.com.
To unsubscribe from this group, send email to zoie+uns...@googlegroups.com.

jianwen lou

unread,
Apr 11, 2012, 1:17:43 AM4/11/12
to zo...@googlegroups.com
The page  https://linkedin.jira.com/wiki/display/ZOIE/Getting+Started+-+Zoie+Example?focusedCommentId=7995394#comment-7995394  need to be updated,zoid source code structure is not like this on that wiki page.And the install process need to be updated toot

jianwen lou

unread,
Apr 11, 2012, 1:28:28 AM4/11/12
to zo...@googlegroups.com
Thanks John,I build correct and Ant example success,but there  are errors on my webpage: http://192.168.172.29:8080/ 
Uncaught ReferenceError: DWREngine is not defined  
P.S I install zoie on remote linux,I launch jconsole on my local win os,I do not know  how to init jmx of remote jetty,give me some advice please,thanks 


On Tuesday, April 10, 2012 2:31:47 PM UTC+8, John wrote:
Reply all
Reply to author
Forward
0 new messages