On 12-04-09 07:23 AM, Karen Dolan wrote:
> Christoph,
> 
> I see that the current TRUNK class
> "org.opencastproject.util.data.Option" no longer has the function called
> "public static <A> Option<A> wrap(A a)". It changed names to "public
> static <A> Option<A> option(A a)" during the last few weeks.
> 
> As a really long shot, is it possible that your system has an old
> compiled org.opencastproject.util.data.Functions.class hanging around
> (maybe with a modify date newer than the updated Functions java file) 
> that is looking for the older Option class function during the compile,
> and can only find the newly compiled Options class?

I cleaned out my m2 repo, and re-checked out matterhorn-common with the
same results.  I'm guessing this must be an issue with my install at
home since I can't reproduce it at work.

G

> Karen
> 
> 
> On 4/7/2012 6:26 PM, Christoph Drießen wrote:
>> Hi Greg,
>>
>> I can't reproduce the compilation error. I've done a fresh SVN
>> checkout, r12082. I've cleaned all MH artifacts from my local maven
>> repo, then did a mvn clean install
>> The only error I got is the one I described in
>> http://opencast.jira.com/browse/MH-8711
>> To fix it temporarily I cd'ed into the module dir and did a mvn
>> install, then cd'ed back into the root dir and continued the build
>> successfully.
>> So I really don't know what breaks compilation. Does anyone else
>> encounter this error?
>>
>> Christoph
>>
>>
>>
>> Am 06.04.2012 um 21:01 schrieb Greg Logan:
>>
>>> Hi folks,
>>>
>>> Two issues:
>>>
>>> 1)  The export UI added a dependency to matterhorn-gstreamer-service-api
>>> into the matterhorn-conductor bundle.  Adam, is this needed?  If so then
>>> that api should be added to the profiles which build the conductor
>>> bundle!
>>>
>>> 2)  The build is broken.  It appears that rev 12082 is the culprit,
>>> since reverse merging that revision fixes the issue.  Christoph, that's
>>> your patch for MH-7599.  The error I see is the following:
>>>
>>> [INFO] Executed tasks
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building matterhorn-common
>>> [INFO]    task-segment: [install]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] [checkstyle:check {execution: default}]
>>> [INFO] Starting audit...
>>> Audit done.
>>>
>>> [INFO] [resources:resources {execution: default-resources}]
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying 14 resources
>>> [INFO] [compiler:compile {execution: default-compile}]
>>> [INFO] Compiling 193 source files to
>>> /home/greg/storage/Code/matterhorn/trunk/modules/matterhorn-common/target/classes
>>>
>>> [INFO] -------------------------------------------------------------
>>> [ERROR] COMPILATION ERROR :
>>> [INFO] -------------------------------------------------------------
>>> [ERROR]
>>> /home/greg/storage/Code/matterhorn/trunk/modules/matterhorn-common/src/main/java/org/opencastproject/util/data/Functions.java:[21,0]
>>>
>>> cannot find symbol
>>> symbol  : static wrap
>>> location: class org.opencastproject.util.data.Option<A>
>>> [ERROR]
>>> /home/greg/storage/Code/matterhorn/trunk/modules/matterhorn-common/src/main/java/org/opencastproject/util/data/Collections.java:[447,47]
>>>
>>> incompatible types
>>> found   : java.util.List<java.lang.Object>
>>> required: java.util.List<B>
>>> [ERROR]
>>> /home/greg/storage/Code/matterhorn/trunk/modules/matterhorn-common/src/main/java/org/opencastproject/util/data/functions/Functions.java:[222,38]
>>>
>>> incompatible types
>>> found   : java.util.List<java.lang.Object>
>>> required: java.util.List<B>
>>> [ERROR]
>>> /home/greg/storage/Code/matterhorn/trunk/modules/matterhorn-common/src/main/java/org/opencastproject/util/data/Functions.java:[69,13]
>>>
>>> cannot find symbol
>>> symbol: method wrap(java.lang.String)
>>>       return wrap(StringUtils.trimToNull(s));
>>> [INFO] 4 errors
>>> [INFO] -------------------------------------------------------------
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>>
>>> /home/greg/storage/Code/matterhorn/trunk/modules/matterhorn-common/src/main/java/org/opencastproject/util/data/Functions.java:[21,0]
>>>
>>> cannot find symbol
>>> symbol  : static wrap
>>> location: class org.opencastproject.util.data.Option<A>
>>> /home/greg/storage/Code/matterhorn/trunk/modules/matterhorn-common/src/main/java/org/opencastproject/util/data/Collections.java:[447,47]
>>>
>>> incompatible types
>>> found   : java.util.List<java.lang.Object>
>>> required: java.util.List<B>
>>> /home/greg/storage/Code/matterhorn/trunk/modules/matterhorn-common/src/main/java/org/opencastproject/util/data/functions/Functions.java:[222,38]
>>>
>>> incompatible types
>>> found   : java.util.List<java.lang.Object>
>>> required: java.util.List<B>
>>> /home/greg/storage/Code/matterhorn/trunk/modules/matterhorn-common/src/main/java/org/opencastproject/util/data/Functions.java:[69,13]
>>>
>>> cannot find symbol
>>> symbol: method wrap(java.lang.String)
>>>       return wrap(StringUtils.trimToNull(s));
>>>
>>> G
>>> _______________________________________________
>>> Matterhorn mailing list
>>> [email protected]
>>> http://lists.opencastproject.org/mailman/listinfo/matterhorn
>>>
>>>
>>> To unsubscribe please email
>>> [email protected]
>>> _______________________________________________
>> _______________________________________________
>> Matterhorn mailing list
>> [email protected]
>> http://lists.opencastproject.org/mailman/listinfo/matterhorn
>>
>>
>> To unsubscribe please email
>> [email protected]
>> _______________________________________________
> 
> _______________________________________________
> Matterhorn mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn
> 
> 
> To unsubscribe please email
> [email protected]
> _______________________________________________


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to