compiling the GIT version -> duplicate classes

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

compiling the GIT version -> duplicate classes

Helmut Jarausch
Hi,
when I try to compile the GIT sources I (now) get lots of errors like

     [javac]  
/var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/src/org/apache/commons/jcs/access/AbstractCacheAccess.java:42:  
error: duplicate class:  
org.apache.commons.jcs.access.AbstractCacheAccess
     [javac] public abstract class AbstractCacheAccess<K, V>

What am I missing?
Please bear in mind that I have next to no knowledge in Java.

Many thanks for a hint,
Helmut
Reply | Threaded
Open this post in threaded view
|

Re: compiling the GIT version -> duplicate classes

Vincent Privat
Does it happen if you use the official svn repo instead of the git mirror ?

Le mar. 18 juin 2019 à 11:22, Helmut Jarausch <[hidden email]> a écrit :

> Hi,
> when I try to compile the GIT sources I (now) get lots of errors like
>
>      [javac]
> /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/src/org/apache/commons/jcs/access/AbstractCacheAccess.java:42:
>
> error: duplicate class:
> org.apache.commons.jcs.access.AbstractCacheAccess
>      [javac] public abstract class AbstractCacheAccess<K, V>
>
> What am I missing?
> Please bear in mind that I have next to no knowledge in Java.
>
> Many thanks for a hint,
> Helmut
>
Reply | Threaded
Open this post in threaded view
|

Re: compiling the GIT version -> duplicate classes

Vincent Privat
This is probably caused by the recent change of svn:externals.
Try to delete the folder scr/org/apache, then update your repo again (svn
up).
It should solve this issue.

Le mar. 18 juin 2019 à 15:05, Helmut Jarausch <[hidden email]> a écrit :

> On 06/18/2019 02:02:50 PM, Vincent Privat wrote:
> > Does it happen if you use the official svn repo instead of the git
> > mirror ?
>
> Sorry, my mistake.
> I did use https://josm.openstreetmap.de/svn/trunk
>
> >
> > Le mar. 18 juin 2019 ?  11:22, Helmut Jarausch
> > &lt;_ j_ a_ r_ a_ u_ s_ c_ h_ @_ s_ k_ y_ n_ e_ t_ ._ b_ e&gt; a
> > écrit? :
> >      Hi,
> >      when I try to compile the GIT sources I (now) get lots of errors
> > like
> >
> >      ?  ?  ? [javac]?
> >
> > /var/tmp/portage/sci-geosciences/josm-99999/work/josm-99999/src/org/
> >      apache/commons/jcs/access/AbstractCacheAccess.java:42:?
> >      error: duplicate class:?
> >      org.apache.commons.jcs.access.AbstractCacheAccess
> >      ?  ?  ? [javac] public abstract class AbstractCacheAccess&lt;K,
> > V&gt;
> >
> >      What am I missing?
> >      Please bear in mind that I have next to no knowledge in Java.
> >
> >      Many thanks for a hint,
> >      Helmut
> >
>
>