extension debugging in eclipse refers to previous version of moneydance

malcolm jones's Avatar

malcolm jones

08 Feb, 2019 03:10 PM

I have recently updated to Moneydance 2019 from 2017 and acquired a new licence. The new version works as expected including the new licence number.

I also downloaded the new extension devkit-5.1 and successfully added the supplied "Account List" extension. (with some help)

I am using Eclipse 2018-12.

When I run the supplied myextension from within Eclipse, so that I can debug changes following the excellent primer from Kevin N. posted Sept 2013, moneydance starts with the old 2017 version, along with my old licence number.

How do I have Eclipse pick up the 2019 Moneydance? And for that matter where is it finding the old version and licence?

Thanks for your help.

Malcolm

  1. 1 Posted by Mike Bray (Quot... on 08 Feb, 2019 05:02 PM

    Mike Bray (Quote Loader Author)'s Avatar

    Hi Malcolm
    First what OS are you using?

    I have both MD 2017 and 2019 on the same machine and use eclipse for debugging. There are a number of places to look.

    First, did you replace MD 2017 with 2019 within the Program Files or did you install in a new folder? I have both versions on my machine.

    Second, if you want to run the two versions together then you need to have two user ids as the MD data is held in the folder '.moneydance' under the user home folder.

    Lastly, have you copied the moneydance.jar file into a library folder within your eclipse project or do you reference the .jar in the install directory.

    When you set up eclipse you add the relevant .jars into the project build path and then you set up the Debug Configuration to point at the moneydance.jar file and the Moneydance class.

    I would check all locations to see if you still have the 2017 files hanging about.

    regards
    Mike

  2. 2 Posted by malcolm jones on 08 Feb, 2019 05:58 PM

    malcolm jones's Avatar

    Hi Mike,
    Thanks for helping.
    Operating system = Windows 10.
    I only have MD 2019 on the machine and used the Moneydance_windows_amd64.exe to update from 2017 to 2019 with no customization.  As far as I can see there is only one version of Moneydance.exe on the machine which sits in C:\Program Files\Moneydance.
    Yes - I copied all the moneydance jars (including moneydance.jar) into Referenced Libraries.
    Where should I look for the 2017 version, I cannot figure out where it might be?
    All the best
    Malcolm

        On Friday, February 8, 2019, 12:02:40 PM EST, Mike Bray <[email blocked]> wrote:
     
       
    |

  3. 3 Posted by malcolm jones on 08 Feb, 2019 10:52 PM

    malcolm jones's Avatar

    Hi again Mike,
    I have found the problem!
    My C:\Program Files\Moneydance folder has 2 sets of .JAR files.  The 2019 set are in \lib while the older 2017 set remain in \jars after the update to 2019.
    Using the 2013 instructions I was actually copying in the old files from \jars.  Once I realized and copied in the files from \lib instead all is well.
    You may want to update the instructions.
    Also please confirm that I should delete the \jars folder from my Moneydance folder.
    Thanks for your help.
    Malcolm

       ----- Forwarded Message ----- From: Malcolm Jones <[email blocked]>To: "[email blocked]" <[email blocked]>Sent: Friday, February 8, 2019, 12:58:18 PM ESTSubject: Re: extension debugging in eclipse refers to previous version of moneydance [Extension Development #2308]
      Hi Mike,
    Thanks for helping.
    Operating system = Windows 10.
    I only have MD 2019 on the machine and used the Moneydance_windows_amd64.exe to update from 2017 to 2019 with no customization.  As far as I can see there is only one version of Moneydance.exe on the machine which sits in C:\Program Files\Moneydance.
    Yes - I copied all the moneydance jars (including moneydance.jar) into Referenced Libraries.
    Where should I look for the 2017 version, I cannot figure out where it might be?
    All the best
    Malcolm

        On Friday, February 8, 2019, 12:02:40 PM EST, Mike Bray <[email blocked]> wrote:
     
       
    |

  4. 4 Posted by Mike Bray (Quot... on 09 Feb, 2019 09:36 AM

    Mike Bray (Quote Loader Author)'s Avatar

    Hi Malcolm
    Glad you sorted it out.

    I am a user like yourself not support staff. I am one of the authors of
    the Quote Loader extension.

    Have a look at
    https://bitbucket.org/mikerb/moneydance-2015/wiki/Moneydance%20Information
    where I have put some pointers about developing extensions.

    Regards
    Mike

  5. System closed this discussion on 11 May, 2019 09:40 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac