robotoworks / mechanoid

Eclipse plugin providing a set of DSL's for the rapid development of Android apps
58 stars 26 forks source link

Building using Maven #218

Closed groupsky closed 10 years ago

groupsky commented 10 years ago

When I try to build using maven I get the following error:

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building mechanoid 0.2.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ mechanoid ---
[INFO] 
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ mechanoid ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/groupsky/src/libs/mechanoid/libs/mechanoid/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mechanoid ---
[INFO] Compiling 16 source files to /home/groupsky/src/libs/mechanoid/libs/mechanoid/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/groupsky/src/libs/mechanoid/libs/mechanoid/src/main/java/com/robotoworks/mechanoid/net/Response.java:[169,2] error: cannot find symbol
[ERROR] 
    T extends Object declared in class Response
/home/groupsky/src/libs/mechanoid/libs/mechanoid/src/main/java/com/robotoworks/mechanoid/net/Response.java:[170,6] error: cannot find symbol
[ERROR] 
    T extends Object declared in class Response
/home/groupsky/src/libs/mechanoid/libs/mechanoid/src/main/java/com/robotoworks/mechanoid/net/Response.java:[171,10] error: cannot find symbol
[INFO] 3 errors 

I'm using Maven 3.0.4 and executing mvn clean install in the root folder.

Any ideas or is there another way to build the project?

Note, I don't have experience with XText.

fluxtah commented 10 years ago

It looks like some kind of referencing issue since it cannot find symbols but I am not sure why.

When I build I use build.sh all. build.sh has several modes to build the entire product with 'all' or just parts such as the docs, etc.

fluxtah commented 10 years ago

@groupsky just checked it out on a new machine, try running sh build.sh product from the root directory of the project, it builds here.

To build the docs requires sphinx to be installed which is a documentation plugin for python sphinx.

groupsky commented 10 years ago

Same issue, I'm gonna try with clean copy of the project

groupsky commented 10 years ago

ok, it seems to be machine, I tried on another and it worked like a charm. Thanks for the help

fluxtah commented 10 years ago

great! :)