[Building Sakai] My Build - Breaks on polls now
csev
csev at umich.edu
Thu Oct 1 20:01:30 PDT 2009
I keep idly trying to rebuild and it gets further after I hand compile
a bit of stuff. If is now gotten far enough crashing on polls.
The code of polls is fine. The method is there in the
ExternalLogic.java
But api never compiles and never makes a poll-api artifact. And
since this is the first time through the artifact does not exist so
the code craps out when it tries to compile code in poll-impl it craps
out.
Then (second output) I go into polls and type mvn and it *does*
compile the api code and then the impl code and then everything is fine.
I don't get it. I really think that this is really subtle maven magic
that is beyond my understanding. Why would maven simply not compile
something and not make an artifact?
/Chuck
[INFO]
------------------------------------------------------------------------
[INFO] Building poll-api
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO] skip non existing resourceDirectory /Users/csev/dev/sakai-trunk/
sakai/polls/api/src/bundle
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/csev/dev/sakai-trunk/
sakai/polls/api/src/test/resources
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO]
------------------------------------------------------------------------
[INFO] Building Sakai Poll Help
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 7 resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/csev/dev/sakai-trunk/
sakai/polls/poll-help/src/test/resources
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO]
------------------------------------------------------------------------
[INFO] Building sakai-poll-impl
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/csev/dev/sakai-trunk/
sakai/polls/impl/src/bundle
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Compiling 2 source files to /Users/csev/dev/sakai-trunk/sakai/
polls/impl/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/Users/csev/dev/sakai-trunk/sakai/polls/impl/src/java/org/sakaiproject/
poll/service/impl/PollListManagerImpl.java:[625,67] cannot find symbol
symbol : method userIsViewingAsRole()
location: interface org.sakaiproject.poll.logic.ExternalLogic
Second compile from within polls
[INFO]
------------------------------------------------------------------------
[INFO] Building poll-api
[INFO] task-segment: [clean, install, sakai:deploy]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /Users/csev/dev/sakai-trunk/sakai/polls/api/
target
[INFO] [resources:resources]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO] skip non existing resourceDirectory /Users/csev/dev/sakai-trunk/
sakai/polls/api/src/bundle
[INFO] [compiler:compile]
[INFO] Compiling 10 source files to /Users/csev/dev/sakai-trunk/sakai/
polls/api/target/classes
[INFO] [resources:testResources]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /Users/csev/dev/sakai-trunk/
sakai/polls/api/src/test/resources
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO] [jar:jar]
[INFO] Building jar: /Users/csev/dev/sakai-trunk/sakai/polls/api/
target/poll-api-1.3-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing /Users/csev/dev/sakai-trunk/sakai/polls/api/target/
poll-api-1.3-SNAPSHOT.jar to /Users/csev/.m2/repository/org/
sakaiproject/polls/poll-api/1.3-SNAPSHOT/poll-api-1.3-SNAPSHOT.jar
[INFO] [sakai:deploy]
[INFO] Found 0 artifacts
[INFO] Copy /Users/csev/dev/sakai-trunk/sakai/polls/api/target/poll-
api-1.3-SNAPSHOT.jar to /Users/csev/dev/sakai-trunk/apache-
tomcat-5.5.23/shared/lib/poll-api-1.3-SNAPSHOT.jar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091001/3ef34a35/attachment.html
More information about the sakai-dev
mailing list