[josm-dev] Loading JOSM+plugins into Eclipse for the first time.

Ray Foulkes Ray.Foulkes at attglobal.net
Sat Oct 3 11:40:42 BST 2009


Henrik Niehaus wrote:
> Ray Foulkes schrieb:
>> Hi Jan, thankyou, I do not know what I was doing wrong the first time
>> around. I did as you suggested and created a "java project" using the
>> sources in "core" - it all worked and runs the main program OK. I can
>> navigate the Java e.g. find declarations, references  and run the main
>> application. etc. BUT, I was trying to debug plugins...
>>
>>
>> When I tried to do the same thing after downloading
>> http://svn.openstreetmap.org/applications/editors/josm/ (which includes
>> all the plugins) and added the directory "josm" as a project, there are
>> many errors including some Java errors in the plugins which are "Eclipse
>> internal" errors. Also, I then cannot run the core application. I think
>> it is because of the directory in which the application is started does
>> not contain all the necessary files.  I do not know how to tell Eclipse
>> to default the startup directory to another directory.  My problem is
>> that I am trying to learn Eclipse at the same time as learning the code
>> of Josm.
>>
>> I discovered that I can add plugins individually i.e. create a new
>> project and link it to "core" and at least compile the plugin even if I
>> cannot run it.
>>
>> Anyway, thankyou for your response. I have at least been able to start
>> investigating the codes of JOSM.
>>
>> Ray
>>
>> Jan Peter Stotz wrote:
>>> Ray Foulkes schrieb:
>>>
>>>> If I use an svn client to download to a directory then point Eclipse to
>>>> construct a java project itself, there are hundreds of Java errors which
>>>> I have not fully investigated but look nasty. Not surprising since the
>>>> build scripts I don't think are being used in that case.
>>> The Eclipse relevant part of JOSM is the core directory. Check-out the path
>>> you mentioned outside of Eclipse and then add the core directory as Project
>>> with external sources into Eclipse. This should work for JOSM itself.
>>> Plugins are a different matter.
>>>
>>> Jan
>>>
>>>
>>> _______________________________________________
>>> josm-dev mailing list
>>> josm-dev at openstreetmap.org
>>> http://lists.openstreetmap.org/listinfo/josm-dev
>>>
>>>
> 
> Hi Ray,
> 
> I did some screen captures some time ago for another user who wanted to
> get in touch with josm development. Have a look at these two videos
> (both divx in avi, no sound):
> http://hampelratte.org/zeugs/checkout_josm.avi
> http://hampelratte.org/zeugs/checkout_openstreetbugs.avi
> 
> Cheers,
> Henrik
> 
> 
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
> 
> 
Thanks Henrik, those videos look very comprehensive. I will patiently
follow them. Unfortunately I have to stop working today because I am to
travel from France to Glasgow by car(hopefully with
JOSM+livegps+surveyor on my eeepc running Ubuntu netbook remix).  The
reason for my interest in the development is that that combination gives
many errors of bug #2480, (duplicates #2725 #3238 #3457#1662) if I leave
the viewing pane open, which I would like to have a go at fixing.
Thankyou very much for responding to my request, Ray




More information about the josm-dev mailing list