Hi Peter

Thanks for your asking. I have not found any solution to this problem. And as 
it is only one and quite simple scala file in our product, we probably will 
just rewrite it in Java. The guy who added the scala file is no longer active 
anymore in our project.

What do you mean about using scalac directly?

Thanks

Niklaus

> Sorry, just spotted this.   Curious to know if you solved your issue....
> also does you project compile in one pass when you use scalac directly?
> 
> On Sat, Feb 16, 2013 at 10:30 PM, Peter Donald 
<[email protected]>wrote:
> > Hi,
> > 
> > Did you ever resolve this problem?
> > 
> > On Fri, Feb 8, 2013 at 9:51 AM, Niklaus Giger
> > 
> > <[email protected]> wrote:
> > > Hi
> > > 
> > > I have problems compiling a project
> > 
> > http://elexis.hg.sourceforge.net/hgweb/elexis/elexis-addons/file/56d8ca03
> > 5061/ch.elexis.impfplan/
> > 
> > > which has a Java file
> > > src/ch/elexis/impfplan/model/VaccinationType.java
> > > which depends on the scala file
> > > src/ch/elexis/impfplan/controller/ImpfplanController.scala
> > > inside the same project.
> > > 
> > > My compilation fails with
> > 
> > /opt/elexis-2.1.7-rm/elexis-addons/ch.elexis.impfplan/src/ch/elexis/impfp
> > l
> > 
> > >> an/model/VaccinationType.java:162: cannot find symbol symbol  : method
> > 
> > asCollection(scala.collection.Iterable<ch.elexis.impfplan.model.Vaccinati
> > o
> > 
> > >> nType>) location: class scala.collection.JavaConversions
> > 
> > JavaConversions.asCollection(ImpfplanController.all
> > 
> > >>                         Vaccs());
> > >>                         
> > >>                                        ^
> > > 
> > > Is there any trick I can use to correct this problem?
> > > 
> > > I tried the current trunk as well as buildr 1.4.9
> > > 
> > > Thanks in advance
> > > 
> > > Niklaus Giger
> > 
> > --
> > Cheers,
> > 
> > Peter Donald
-- 
Niklaus Giger
Wieshoschet 6
CH-8753 Mollis
+41  (0)55 612 20 54 P
+41  (0)77 473 02 59 Mobil

Reply via email to