Solved Lost my workspace! Is there any way I can retrieve my previous plugin so I can work on it again?

Discussion in 'Plugin Development' started by frogman6102, Jun 18, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    frogman6102

    The title pretty much says it all. I reset my comp and my USB with all my Java stuff broke. Is there any way I can some how decompile my plugins .jar to retrieve all my lost work? Or is it recommend for me to just recreate the entire thing?
     
  2. Offline

    Drkmaster83

    Well, yeah, you can download a Java Decompiler and save the source of your plugin... It might not look as pretty as it had originally, but it's your source.

    I'd honestly say recreate it if it was a small plugin and you think you could do it better this time around... but human nature is one of laziness.

    If you decide to decompile, you'll likely have some issues to fix, but I'd recommend just copy and pasting the source files that you create into the correct packages in an Eclipse project... assuming that you're using Eclipse.
     
  3. Offline

    Tecno_Wizard

    @frogman6102, when something is deleted on a computer, it is only removed from the index. There are many pieces of software that can retrieve "deleted" files.

    If that doesn't work, yes, you can always decompile, but it won't be as clean and all of your comments will be gone.
     
  4. Offline

    frogman6102

    Thanks,
    @Tecno_Wizard @Drkmaster83 for responding to my question. I have chosen to re-make the plugin considering it wasn't very well made. Oh and I reset my computer, so unless programs can retrieve deleted files after a reset, my workspace is gone.
     
  5. Offline

    Konato_K

    @frogman6102 Yes, they can be retrieved after "reset", unless you filled the disk with zeros, which is really uncommon (and I believe there is some dark magic to still get some stuff).
     
    frogman6102 likes this.
  6. Offline

    Tecno_Wizard

    @Konato_K, in other words, never assume anything is deleted ;)
     
  7. Offline

    Ratismal

    Just as a suggestion, you should back up your projects so that scenarios like this don't happen. I would recommend learning how to use git, and uploading your projects to github. That way if anything like this happens again you can simply pull all of your previous work.

    My computer frequently dies so all of my projects are always backed up to both github and dropbox :33
     
    Konato_K likes this.
  8. Offline

    Konato_K

    I would recommend bitbucket if you want private repositories and work with a small team for free (on github you need to pay for private repos).
     
    Ratismal likes this.
Thread Status:
Not open for further replies.

Share This Page