The Atlassian Extension Spaces have been migrated to http://plugins.atlassian.com. These pages are now deprecated and will soon be deleted.

FreeMind Plugin

Name FreeMind Plugin
Version 1.0.3
Product Versions Confluence 2.1, 2.2, 2.6.x (with mod'd pom)
Author(s) jason.dillon@planet57.com
Homepage n/a
Price FREE!
License ASL
Download JAR See Installing
Download Source freemind-plugin

Description/Features

Displays a Mind Map inline using FreeMind.

This plugin simply renders HTML to display the Freemind browser applet, and does not actually invoke any Freemind code.

Here is an example of what a mind map looks like:

This macro is based on the same concept found in Wikka, though only the very basic referencing of a URL is supported (no inline definitions at this time).

Requires Java Support
Uses the FreeMind Browser Java applet v0.7.1.

Web browsers that do not have Java 1.4, or have a misconfigured Java plugin will not work

Installing

Due to some licensing mismatch between ASL and GPL licenses, this plugin is no longer (since 1.0.3) release as a binary, instead you must build the plugin and then install it (don't worry its simple).

You must have Maven 2 installed to build the plugin.

svn co http://svn.atlassian.com/svn/public/contrib/confluence/freemind-plugin/tags/1.0.3 freemind-plugin
cd freemind-plugin
mvn install

After the build reports BUILD SUCCESSFUL, you should have a fully functional Freemind plugin in the target/ directory which you can upload to Confluence or copy into the confluence.home/plugins directory.

Usage

For definitive usage, see the online notation guide (in the Advanced Formatting section).
{mindmap:^freemind.mm}
{mindmap:^freemind.mm|width=90%|height=400}
{mindmap:http://mylocalserver/mymindmap.mm}

Parameters

  • default: The default parameter is the attachment reference or a local URL to a FreeMind MindMap source file.
  • height: The height of the applet (optional). Default is 600 pixels.
  • width: The width of the applet (optional). Default is 100%.
NOTE
When using the URL syntax, the URL must point to the same server from which the applet has been loaded to avoid security exceptions.

Version History

  • 1.0 - Initial release
  • 1.0.1 - Allow attachments to be loaded using native Confluence attachment syntax.
  • 1.0.2 - Changed license to GPL at the request of the Freemind authors.
  • 1.0.3 - Drop binary distribution (force users to build), changed license back to ASL.

TODO (Maybe)

  • Allow mind map content to be defined in a Confluence page's text.
  • Add a fullscreen detach link
  • Allow a full Freemind editor to be launched, and have it update the content.

Screenshots

Labels

plugin plugin Delete
confluence21 confluence21 Delete
macro macro Delete
repository_excluded repository_excluded Delete
non-repository non-repository Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jan 22, 2006

    Guy Fraser says:

    Very nice

    Very nice

  2. Jan 25, 2006

    Bob Swift says:

    Can you please attach an example mm file?

    Can you please attach an example mm file?

    1. Jan 25, 2006

      Jason Dillon says:

      Done. I don't have time to make a custom one, but I put up the FreeMind docs fr...

      Done. I don't have time to make a custom one, but I put up the FreeMind docs freemind.mm. You need to download this, upload it to your site, linking to this URL from your site will not work.

  3. Jan 30, 2006

    Rob Kearey says:

    Awesome! How hard is a java 1.5 version to achieve?

    Awesome! How hard is a java 1.5 version to achieve?

    1. Jan 30, 2006

      Jason Dillon says:

      No clue... but probably not much. I can add support to tell the plugin what ver...

      No clue... but probably not much. I can add support to tell the plugin what version to suggest. Right now its hardcoded to use 1.4.

  4. Jan 30, 2006

    Rob Kearey says:

    Fairy nough - we're going through an enormous redesign period right now and this...

    Fairy nough - we're going through an enormous redesign period right now and this is exactly what I need. I'll ask one of our java people to check it out if they have time.

  5. Feb 05, 2006

    Thomas Peter Berntsen says:

    Thanks for a great plugin, Jason.

    Thanks for a great plugin, Jason.

  6. Feb 28, 2006

    Jason Dillon says:

    FYI, license changed from ASL 2.0 to GPL 2 at the request of the Freemind author...

    FYI, license changed from ASL 2.0 to GPL 2 at the request of the Freemind authors.

    1. Feb 28, 2006

      David Peterson [CustomWare] says:

      Hey Jason, I belive that GPL (in any version) is incompatible with being plugge...

      Hey Jason,

      I belive that GPL (in any version) is incompatible with being plugged into Confluence (being a non-GPL application). Any chance you could talk them into letting you license it as LGPL?

      1. Feb 28, 2006

        Jason Dillon says:

        Changing the license from ASL to GPL seemed acceptable to the authors as a short...

        Changing the license from ASL to GPL seemed acceptable to the authors as a short-term solution. Not sure how GPL actually gets applied in this case, since the "plugin" is not importing any GPL code to function... but renders a HTML snippet that generates an applet tag to cause the user's webbrowser to import and include the Freemind browser.

        Does that mean that any webbrowser that loads a page with this plugin is now GPL? Seems kinda obsurd to me...

        1. Mar 01, 2006

          Charles Miller says:

          The GPL is incompatible with plugins written for non-GPL'd applications, unless ...

          The GPL is incompatible with plugins written for non-GPL'd applications, unless all of the GPL software used in the plugin makes a specific exception in its license.

          More information:

          1. Mar 01, 2006

            Jason Dillon says:

            This link (the relevant section of the GPL) indicates that the Freemind applet j...

            This link (the relevant section of the GPL) indicates that the Freemind applet jar, which is dynamically linked into the Browser or into Sun's JRE (not directly linked to anything in Confluence) which sounds like the original license was okay.

            Ugh, GPL sucks man. I just did this for fun and now its becoming a royal pain in the ass. Not sure Freemind support in Confluence is worth it actually.

            1. Mar 01, 2006

              Jason Dillon says:

              Anyways... I don't actually use this plugin... only did it for fun. So unless a...

              Anyways... I don't actually use this plugin... only did it for fun. So unless anyone has any suggestions on how to resolve this. I'm just going to remove it from SVN and delete this page and be done with it.

              1. Mar 01, 2006

                Dan Hardiker says:

                You're only solution is to reason with the authors about why they have Freemind ...

                You're only solution is to reason with the authors about why they have Freemind GPLed. If it is to stop non-GPL products from benifiting from the Freemind project then you are out of luck I'm afraid.
                I came up against exactly the same problem with my Sudoku Plugin - I ended up moving the sudoku generator into a separate utility project (which is GPLed), and its pretty obvious that you don't have that option.

                Unforuntately, it's their choice - if the Freemind developers are unwilling to license it to you under a non-viral license (preferably BSD) then there is nothing you can do. Plead / beg / offer your first born in exchange for an alternative license, and you might get lucky.

                Fingers crossed for ya!

              2. Mar 01, 2006

                David Peterson [CustomWare] says:

                I agree - GPL = pain in the butt. I'm sure there are many others who disagree, b...

                I agree - GPL = pain in the butt. I'm sure there are many others who disagree, but it's gotten in my way more than once.

                Unless it's something you really want and use, I'd concur - ditch it and let FreeMind loose a good opportunity for their hard work to get used in new and creative ways. It's their loss, really.

                1. Mar 01, 2006

                  Guy Fraser says:

                  It does seem odd that they'd go to all the trouble of writing Freemind, only to ...

                  It does seem odd that they'd go to all the trouble of writing Freemind, only to ensure that it cannot be used by the majority of the target audience. I'd see the stand-alone version as a plugin to Windows Hardly supprising that there is heated debate over this silly, silly license in the Linux world.

                  Jason, you created a great plugin that would have put Freemind on the radar of over 700 organisations worldwide. The Freemind authors choose to remain in obscurity. Thier loss.

        2. Apr 06, 2006

          Turadg Aleahmad says:

          I like Freemind and support the project, but I don't see how they have any say i...

          I like Freemind and support the project, but I don't see how they have any say in the license of this plugin. As I understand it, it just creates an <applet> tag that instructs the browser to download a JAR with a binary of Freemind and launch with a particular file. The code that the Freemind developers have written isn't even running on the same JVM (or continent?) as the code written by Atlassian. License compatibility is not an issue.

          Jason, why not change your license back to ASL?

          1. Aug 25, 2006

            Jason Dillon says:

            Because the authors of FreeMind asked me to change it to GPL. The applet code i...

            Because the authors of FreeMind asked me to change it to GPL.

            The applet code is included in the distro here... and needs to be pulled from the same server to run.

      2. May 15, 2006

        Sean Blaes says:

        Often, how the GPL really applies to Java (as compared to C+) is very confusing ...

        Often, how the GPL really applies to Java (as compared to C+) is very confusing and up for argument, because Java binaries link in totally different manner than languages like C+ do.  However, this case seems to be one that is very clear.  If your plugin does not in any way require the freemind binaries (their jar) then you are in no way linking to their code, even by the wildest stretch of the imagination.  You should be able to release this under whatever license you want, and tell them to go fly a kite.

        From what it appears, this sounds similar to MySQL saying that anybody that has typed MySQL specific SQL inside their code (and we pretty much all do) would force your application to be GPL, etc.

        Generally, most contracts must be reasonable to be defensible.  I read an article once by a tech lawyer (wish I could find a link so I could share that here, it's been ages ago) stating that in order for contracts to be defensible in court they must be reasonable.  The last I knew, there was very little case history on the GPL, most claims brought forward have been settled without going to court.  However, the point being that if a contract contains unreasonable terms (similar to a lot of non-compete contracts out there) then those terms can be thrown out if brought to court.  This sort of an interpretation of the GPL definitely seems like one of those unreasonable interpretations...

        I support and love open source, and personally always release under the Apache license that which I choose to give to the open source community.  However, in this case, it really seems that they are overstepping their bounds.

        That's my humble half-informed opinion.  Take it or leave it. 

        1. May 15, 2006

          Dan Hardiker says:

          If your plugin does not in any way require the freemind binaries (their jar) the...

          If your plugin does not in any way require the freemind binaries (their jar) then you are in no way linking to their code

          This plugin does require the freemind binaries as it is needed by the imports when compiling. I see a fundamental difference here between using a programmatically API (like a library) and using a product API (through SOAP / SQL etc).

          No biggy - just would have been nice.

          1. Aug 25, 2006

            Jason Dillon says:

            This is not true. The source code of the plugin does not import any FreeMind cl...

            This is not true. The source code of the plugin does not import any FreeMind classes.

            The FreeMind applet however is included in the plugin dist, that it gets installed into the server's WEB-INF so that the generated pages can generate a reference to the applet jar, which then instructs the client's webbrowser to download, install and execute the GPL plugin inside of your browser's JVM.

            I guess the only good solution here is to provide the plugin w/o the applet jar, and then include instructions for users to follow that explain how to download the applet jar and install it into the plugin's jar, which can then be installed into Confluence.

            PITA if you ask me... but unless anyone has any better ideas.

            1. Aug 25, 2006

              Dan Hardiker says:

              If you can sign the applet jar, you could put it on a central webserver and link...

              If you can sign the applet jar, you could put it on a central webserver and link to that central location in the browser applet tags. However, I think placing the jar into the conf distribution and linking relatively is your best option. It's quite simple - and it is better than the current situation of not being able to work.

            2. Aug 25, 2006

              Alain Moran says:

              Create two plugins .. one non-GPL that contains the plugin itself, and another G...

              Create two plugins .. one non-GPL that contains the plugin itself, and another GPL plugin that contains the freemind jar

              1. Aug 25, 2006

                Dan Hardiker says:

                Confluence plugins are incompatible with the GPL as Confluence itself is not GPL...

                Confluence plugins are incompatible with the GPL as Confluence itself is not GPLed.

                1. Aug 25, 2006

                  Mike Cannon-Brookes says:

                  AFAIK that's not true, but I may be wrong. Isn't it one of those chickens are an...

                  AFAIK that's not true, but I may be wrong. Isn't it one of those chickens are animals, but animals aren't all chickens relationships?

                  Here's my understanding:

                  • Confluence's code isn't GPL, and hence we can't distribute any GPL libraries with it. Remember the GPL is all about distribution as the trigger.
                  • However an individual plugin can be GPL as long as everything distributed with the plugin is also GPL.

                  Otherwise, if anyone wrote a GPL plugin we'd have to GPL Confluence by their actions - which even those fine folks at the FSF would probably tell you is unfair

                  Or did I misunderstand?

                  1. Aug 25, 2006

                    Dan Hardiker says:

                    From what I can gather it's down to interpretation - see Charles' collection of ...

                    From what I can gather it's down to interpretation - see Charles' collection of references on the issue:

                    http://confluence.atlassian.com/display/CONFEXT/FreeMind+Plugin?rootCommentId=163949#comments

  7. Sep 18, 2006

    Ivan S. Dubrov says:

    How can I build it? It requires the com.atlassian.confluence:confluence-plugin-s...

    How can I build it? It requires the com.atlassian.confluence:confluence-plugin-support Maven2 artifact, but I miss it.

  8. Feb 23, 2007

    Jason Dillon says:

    Its been a while, but I finally had some time to muck with this more... still no...

    Its been a while, but I finally had some time to muck with this more... still not sure how the whole GPL fluff works in this case, but I did a few things:

    • remove the bin dist of the plugin
    • updated the plugin's build to fetch the required bits and build a jar
    • changed the plugins license back to ASL

    So, its up to the user who wants to use this, to download the src, run the simple build and then install the jar. They should know that Freemind's license is GPL, but this plugin (the java code, velocity macros and build configuration), which does not invoke any Freemind code is licensed as ASL.

    Sucks... just makes it harder for folks that want to use the plugin to actually use it (ie. can't include it in the repo client's metadata).

    I suppose a better solution would be hack up a plugin configuration action which would ask the user if they want to install the GPL code, and then reference that downloaded binary when generating the HTML to render the applet... though still not sure if that is legit or not.

    Anyways, I think this is closer to legit now, as the java plugin code is ASL, and that java plugin code does not import any GPL code (only renders HTML). Only gray area is that for the plugin to work it needs to have the GPL Freemind jar inside of it... but since there is no more binary distribution of that archive, any licensing issues are assumed by the user when the build/install the jar.

  9. Mar 10, 2007

    Bambuda Leung says:

    Just curious - has there been any progress on a plugin with edit capability? I c...

    Just curious - has there been any progress on a plugin with edit capability? I can think of some ugly work-arounds, such as scaffold forms to generate .mm files, but hope to avoid this.

    1. Mar 11, 2007

      Jason Dillon says:

      Nope, I've certainly not made any progress on this, nor do I plan to given all o...

      Nope, I've certainly not made any progress on this, nor do I plan to given all of the licensing mumbo-jumbo around this.

      But, if the Freemind applet supported editing, then it should be relatively easy to implement... but will require some more magic to integrate for sure.

  10. Jun 10, 2007

    Eugene Gavrilov says:

    It seems that macro determines base url incorrectly in case of front proxy. I ha...

    It seems that macro determines base url incorrectly in case of front proxy.
    I have installed Confluence behind Apache and the following code the most probably retrieves internal URL (http://localhost:8080) instead of external (https://xxx.xxx.xxx.xxx)

        private String getBaseURL() {
            HttpServletRequest request = ServletActionContext.getRequest();
            if (request == null) {
                return null;
            }
            
            return request.getScheme() + "://" + request.getServerName() +
                ((request.getServerPort() != 80) ? (":" + request.getServerPort()) : "") +
                request.getContextPath();
        }
    

    I'd suggest to use an external Confluence base url (configured in Administration -> General Configuration)

    1. Jun 19, 2007

      Jason Dillon says:

      Patches welcome...

      Patches welcome...

    2. Jun 18, 2008

      Louis Adiputra says:

      window.SyntaxHighlighter.config.clipboardSwf = '/s/1724/13/2/_/download/resou...
      import com.atlassian.spring.container.ContainerManager;
      import com.atlassian.confluence.setup.settings.SettingsManager;
      import com.atlassian.confluence.setup.settings.Settings;
      
      private String getBaseURL() {
        SettingsManager settingsManager = (SettingsManager) ContainerManager.getComponent("settingsManager");
        Settings s = settingsManager.getGlobalSettings();
        return s.getBaseUrl();
      }
      

      Did it for me . But a problem with it is the fact that the client's Java plugin doesn't (AFAIK) use the same HTTPS authentication mechanism as the browser.

  11. Sep 24, 2007

    Michael S. says:

    Are there any plans to make this plug-in compatible with Confluence 2.5.x? Than...

    Are there any plans to make this plug-in compatible with Confluence 2.5.x?

    Thanks,
    Mike

  12. Dec 17, 2007

    Andy Brook says:

    I just built this and installed on Confluence 2.6.1, I had to mod the pom, which...

    I just built this and installed on Confluence 2.6.1, I had to mod the pom, which is attached. I also had to harcode the name in the atlassian-plugin.xml, it didn't resolve the pom.name properly for some reason.

    Cheers,

    1. Jun 18, 2008

      Louis Adiputra says:

      You're missing a section in the POM-file: http://developer.atlassian.com/jira/br...

      You're missing a section in the POM-file: http://developer.atlassian.com/jira/browse/CPDK-14

      In <build>..</build>:

      <resources>
        <resource>
          <directory>src/main/resources</directory>
          <filtering>true</filtering>
        </resource>
      </resources>
      

      The previous version of the POM file didn't have it either, but somehow the "filtering" (Maven's term for it) worked there. Or maybe it didn't work, I can't check because I never got it to compile with the previous version.

      Thanks for the updated POM file, BTW.

  13. Mar 19, 2008

    Sebastian Görner says:

    Yesterday I installed the FreeMind Plugin. I could see the mindmap (VIP.mm) and ...

    Yesterday I installed the FreeMind Plugin. I could see the mindmap (VIP.mm) and everything worked fine.
    Today I started Confluence and I only saw a grey box with a red X. In the preview mode of the page i could see the following error: mindmap: Unable to determin the base URL.
    What can I do to fix the problem?

    Thanks,

  14. Apr 30, 2008

    Martin Moser says:

    Is this plugin running on Confluence 2.8 (Product Versions above only go up to 2...

    Is this plugin running on Confluence 2.8 (Product Versions above only go up to 2.6.x)?

    Thanks for all answers! 

  15. Jun 09, 2008

    Tim Jordan says:

    Does this online notation guide exist online. If so where? Usage For de...

    Does this online notation guide exist online. If so where?

    Usage

    For definitive usage, see the online notation guide (in the Advanced Formatting section).
    1. Jun 18, 2008

      Louis Adiputra says:

      The notation guide is accessible from the right side of the "Add/Edit Page" page...

      The notation guide is accessible from the right side of the "Add/Edit Page" page, and there is one section there named "Advanced Formatting". Apparently the help system is modular, so plugins can add a section (a table row) into it. On my installation the Freemind notation is at the very bottom.

      Not that there's a lot of options available, only height and width (at least according to that piece of documentation).

  16. Oct 31, 2008

    Bogdan says:

    Nice one! Congratulations folks! Just one small, little, tiny question....

    Nice one! Congratulations folks!

    Just one small, little, tiny question... Using the software is very intuitive. What if my future map (..errr...applet?) will have to have just 300x900 on the web page?

    Where do I set the size of the map? Tools->Preferences->Appearance->Map-X-size Map-Y-size not working... (NOT the applet's size...)

    I am asking that because from the very beginning of the map design, it's dimensions are big. When on the web page, I am setting the applet's size at 300x900, but the scroll tabs are there, my map content it's at its place but ...overflows

    Help?

    Thanx.

  17. Oct 31, 2008

    Bogdan says:

    I've seen the last comment before me....June 18th...I hope it's not 2007! ...

    I've seen the last comment before me....June 18th...I hope it's not 2007!

    Anybody out there? Please?

  18. Jan 06, 2009

    Gerhard Mueller says:

    Hi, good news: I tried to build the freemind plugin with Freemind 0.9 RC1. It r...

    Hi,

    good news: I tried to build the freemind plugin with Freemind 0.9 RC1. It runs in Confluence 2.9 and 2.10 without problems.

    I will attach the updated pom in a few seconds. I also applied the fix from Louis Adiputra.

  19. Feb 12, 2009

    Matias Otero says:

    I tried the using the pom mentioned by Andy Brook above and getting this problem...

    I tried the using the pom mentioned by Andy Brook above and getting this problem when running mvn install:

    [INFO] Failed to resolve artifact.
    Missing:
    ----------
    1) com.atlassian.confluence:confluence:jar:2.6.0
      Try downloading the file manually from the project website.
      Then, install it using the command:
          mvn install:install-file -DgroupId=com.atlassian.confluence -DartifactId=confluence -Dversion=2.6.0 -Dpackaging=jar -Dfile=/path/to/file
      Alternatively, if you host your own repository you can deploy the file there:
          mvn deploy:deploy-file -DgroupId=com.atlassian.confluence -DartifactId=confluence -Dversion=2.6.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[ur
    l] -DrepositoryId=[id]
      Path to dependency:
            1) com.atlassian.confluence.contrib.freemind:freemind:jar:1.0.3
            2) com.atlassian.confluence:confluence:jar:2.6.0
    ----------
    1 required artifact is missing.
    for artifact:
      com.atlassian.confluence.contrib.freemind:freemind:jar:1.0.3
    from the specified remote repositories:
      central (http://repo1.maven.org/maven2),
      atlassian-contrib (http://svn.atlassian.com/svn/public/contrib/repository/maven2)

    Any ideas how I can get my hands on that jar?

    1. Feb 13, 2009

      Andy Brook says:

      Update the POM repositories, Atlassian have changed how things get hosted, use ...

      Update the POM repositories, Atlassian have changed how things get hosted, use

      http://maven.atlassian.com/repository/public
      

      browse: http://maven.atlassian.com/repository/public/com/atlassian/confluence/confluence/

      1. Feb 15, 2009

        Matias Otero says:

        Thankyou Andy, changing the atlassian repository worked. There was still an issu...

        Thankyou Andy, changing the atlassian repository worked. There was still an issue with 1 more dependency (jta-1.0.1.jar), which if you check is not available in either of those two repositories but I was able to download it from another site.

        1. Feb 16, 2009

          Andy Brook says:

          That's likely to be intentional - due to SUN's licensing, and isn't just limited...

          That's likely to be intentional - due to SUN's licensing, and isn't just limited to JTA, in theory it shouldn't be publicly hosted, see the ibiblio pom.

  20. Apr 16, 2009

    J. Longman says:

    See http://confluence.atlassian.com/display/CONFEXT/Flash+SWFObject+Macro?focuse...
  21. Jun 16, 2009

    Christian Bering says:

    This plugin does not seem to be working on Confluence 3.0. Are there any plans t...

    This plugin does not seem to be working on Confluence 3.0. Are there any plans to update it? Is anyone working on it?

    1. Jun 16, 2009

      Gerhard Mueller says:

      I have tested the plugin with Confluence 3.0, and at least it works for us. Just...

      I have tested the plugin with Confluence 3.0, and at least it works for us. Just note to use the normal "plugins" section to upload the plugin, and not the plugin repository. Here I saw a strange error message.

      I added the attachment freemind09rc4-pom.xml with which it is possible to build it against Freemind 0.9 RC4.

      1. Jun 18, 2009

        Christian Bering says:

        Thanks for the tip, but it doesn't work for me. I downloaded the file you linked...

        Thanks for the tip, but it doesn't work for me. I downloaded the file you linked, tried to upload it manually and I only get an error message:

        There were errors when uploading this plugin: com.atlassian.plugin.PluginParseException: Jar freemind09rc4-pom.xml is not a valid plugin

        1. Jun 18, 2009

          Gerhard Mueller says:

          Oh, you still have to build the plugin yourself. I just changed something in the...

          Oh, you still have to build the plugin yourself. I just changed something in the pom file, which tells maven where to download the freemind binaries.

          1. Jun 18, 2009

            Christian Bering says:

            Sorry, should have caught that. Thank you very much for sending me the .jar file...

            Sorry, should have caught that. Thank you very much for sending me the .jar file. It works now!

  22. Jun 18, 2009

    Andy Brook says:

    Its useful enough to warrant building properly and putting in the pluging repo. ...

    Its useful enough to warrant building properly and putting in the pluging repo. Licensing issues? I wonder if they can be worked around...

  23. Jul 07, 2009

    Roberto Dominguez says:

    I've created a branch and added support for the flash browser Build instruction...

    I've created a branch and added support for the flash browser

    Build instructions

    Same old:

    svn export https://svn.atlassian.com/svn/public/contrib/confluence/freemind-plugin/tags/1.0.4-rodogu freemind-plugin
    cd freemind-plugin
    mvn install
    

    Usage

    • New parameter browser to indicate the what browser to use: applet (default) or flash
    • You can pass other parameters to the flash browser, see example below:

    Example

    This map use the flash browser:

    {mindmap:^awp.mm|browser=flash|mainNodeShape=rectangle|startCollapsedToLevel=1|width=900px|border=1px|bgColor=#EEEEEE}
    

    Caveats

    Only works on 2.8 or newer

    1. Jul 07, 2009

      Herman de Boer says:

      Hi Roberto, I built this branch and it runs fine, both flash and applet, in Con...

      Hi Roberto,

      I built this branch and it runs fine, both flash and applet, in Confluence 2.10.3 and 3.0. I really like the flash version. Thanks!

      For builders: don't forget to follow the instructions on this page\ and this page. And take some time. Initially tons of files will be downloaded.

      Regards, Herman.

    2. Aug 30

      Herman de Boer says:

      Hi, At our side, we see that pull-down menu's appear behind the flash object. C...

      Hi,

      At our side, we see that pull-down menu's appear behind the flash object. Changing the wmode argument to some other value (opaque or transparent) than its default (window) should avoid this.

      I noticed however that the wmode argument isn't functioning. This is probably because the Velocity file "mindmap-flash.vm" generates wmode as a variable:

      fo.addVariable("$param.key","$param.value");

      In my opinion, the addParam function should be used for wmode. The relevant section of the .vm file could be something like this:

      #foreach ($param in $flashParams)
          #if ($param.key == "wmode")
              fo.addParam("$param.key","$param.value");
          #else
              fo.addVariable("$param.key","$param.value");
          #end
      #end
      

      Regards, Herman.

  24. Jul 09, 2009

    Sreedhar H says:

    Hi, I have downloaded source code and packaged it, but during time loading of a...

    Hi,

    I have downloaded source code and packaged it, but during time loading of applet is failing. Can anyone please help me why applet loading is failed.

    Regards,

    Sreedhar H.

  25. Jul 09, 2009

    Sreedhar H says:

    Dont mind, problem has been resolved. Regards, Sreedhar H.

    Dont mind, problem has been resolved.

    Regards,

    Sreedhar H.

  26. Jul 10, 2009

    Sreedhar H says:

    Hi, I have downloaded, build and deployed "Roberto Dominiguez" source code, but...

    Hi,

    I have downloaded, build and deployed "Roberto Dominiguez" source code, but I am getting runtime errors, like applet is not getting downloaded.

    when i see the applet console, below exception was reported. Could anyone please help me in resolving this issue. And also flash component is also not getting downloaded.

    java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(Unknown Source)
        at java.util.StringTokenizer.<init>(Unknown Source)
        at freemind.modes.ModesCreator.getAllModes(ModesCreator.java:50)
        at freemind.controller.Controller.<init>(Controller.java:124)
        at freemind.main.FreeMindApplet.init(FreeMindApplet.java:242)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

  27. Aug 14

    meysam says:

    Hi, I am trying to build the plugin. I am using the the repo http://maven.atlas...

    Hi,

    I am trying to build the plugin. I am using the the repo http://maven.atlassian.com/repository/public (see Andy Brooks' comment). But Maven complains about missing an artifact (jta-1.0.1.jar)

    I installed it with mvn install:install-file -DgroupId=jta -DartifactId=jta -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file, then I tried to install the freemind-plugin with mvn install. The same error apeared again. Since you might have noticed I am not that familiar with maven. Is there a way to get the jar for the plugin? What is my mistake?

    Thanks, Meysam

    1. Aug 15

      Andy Brook says:

      Some Jars dont exist in the repo's for licensing reasons. You have to download ...

      Some Jars dont exist in the repo's for licensing reasons. You have to download some individually, a google for jta download would show up the JTA download page. Download, unpack find the jar, the use the install mechanism as described. Check that that POM you are using to build this with uses the same JTA groupid/artifact id that you installed the JAR to, otherwise you will continue to get 'not found'...

      1. Oct 02

        meysam says:

        Hi Andy, The plugin is installed. I still get the following error, when I try t...

        Hi Andy,

        The plugin is installed. I still get the following error, when I try to load a file:

        "Could not load map at URL:.../filename.mm"

        I checked the url. The file is definitely there. In the java console I get the following:

        freemind.main.XMLParseException: XML Parse Exception during parsing of a html element at line 67: Expected: link
        java.lang.Exception
            at freemind.modes.browsemode.BrowseMapModel.load(BrowseMapModel.java:115)
            at freemind.modes.browsemode.BrowseController.load(BrowseController.java:205)
            at freemind.modes.browsemode.BrowseController.loadURL(BrowseController.java:181)
            at freemind.modes.browsemode.BrowseMode.activate(BrowseMode.java:74)
            at freemind.controller.Controller.changeToMode(Controller.java:325)
            at freemind.main.FreeMindApplet.init(FreeMindApplet.java:262)
            at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
        [Freemind-Developer-Internal-Warning (do not write a bug report, please)]: Tried to get view without being able to get map module.
        View is null.

        I use confluence 3.0. The mindmap was created with freemind 0.8.1. the freemind plugin is 1.0.3

        Thank you in advance,

        Meysam

  28. Oct 26

    Stefan says:

    Hi, is this plugin working with Confluence 2.10.x? Regards, Stefan

    Hi,

    is this plugin working with Confluence 2.10.x?

    Regards,

    Stefan

    1. Oct 27

      Herman de Boer says:

      We run it without any problems in our 2.10.3 company wiki.

      We run it without any problems in our 2.10.3 company wiki.

  29. Nov 02

    Chas Emerick says:

    To get v1.0.4 to build, I had to: drop the example settings.xml file from her...

    To get v1.0.4 to build, I had to:

    • drop the example settings.xml file from here into ~/.m2
    • add these elements to the pom.xml, where one would expect:
    <plugin>
        <groupId>com.atlassian.maven.plugins</groupId>
      <artifactId>maven-confluence-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
            <productVersion>${atlassian.product.version}</productVersion>
        </configuration>
    </plugin>
    <properties>
            <atlassian.product.version>3.0.1</atlassian.product.version>
    </properties>

    Now I've got mindmaps in our confluence instance...very cool!

    (If only we could edit them, too...

  30. Nov 03

    Adnan Cavus says:

    Hi, I use confluence 2.10 and freemind plugin 1.0.4 from "Roberto Dominiguez". M...

    Hi,
    I use confluence 2.10 and freemind plugin 1.0.4 from "Roberto Dominiguez". My mindmap was created with freemind 0.8.1. Everything works fine.
    I attached the file to our wiki page but location is on a different server than the applet allowing others to edit the mindmap (clicking on attachment opens the mindmap file in Freemind for editing). Unfortunately I run then into the security exception mentioned above (=>Could not open URL file....access denied) when rendering the mindmap.
    Having the mindmap file on the same server will open the file as "Read Only" (=> save as...,attaching the new saved file again into wiki are kind of annoying steps).
    Does anybody know a neat workaround for this or a macro which can handle this.
    For Office documents confluence offers a "View file macro" where users are able to open the document for editing in their office application.
    Something similar would be great.
    Many thanks,

    Adnan