You are here

DocEar

10 posts / 0 new
Last post
eolo
eolo's picture
Offline
Last seen: 4 years 4 months ago
Joined: 2012-01-06 13:59
DocEar

I would like to suggest ...

Program: DocEar

License: Free and Open Source

Due to the external libraries we use, we release the entire Docear software under the free and open source licence GNU/GPL 2. Libraries and external programs we are using include:

Freeplane (GPL 2 or later)
JabRef (GPL 2)
JPod (BSD Licence)

However, if you want to use only code that we have written, please feel free to use it under any of the following licences: GPL 2 or later, and Apache 2 or later. If you want to use some of our code for projects not compatible with these licences, please contact us at http://www.docear.org/docear/contact/

Category: Office, Education

Description:

An academic literature suite that integrates everything you need to search, organize and create academic literature into a single application: digital library with support for pdf documents, reference manager, note taking and with mind maps taking a central role.

Docear is free and open source, funded by the German Federal Ministry of Technology and developed by scientists from around the world

Website: http://www.docear.org

Other: DocEar is based on Freeplane, which is already in the PortableApps collection, but it is a wider suite.

Regards,

darksabre76
darksabre76's picture
Offline
Last seen: 4 months 3 weeks ago
Developer
Joined: 2011-04-19 23:28
I'll try

I'll take a look at it and see if it's worth doing. I like the premise of it so I hope that they have a zipfile of binaries and not just an installer.

Update: Couple of small comments about it
1) There is a zipped version of the program, so that should make things easier
2) The program is actually Java-based, but it shouldn't be much of a problem

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 4 months 6 days ago
DeveloperModerator
Joined: 2008-07-24 18:46
linking out

If it's possible to link out from the app, it may be possible to link to the already-existing Freeplane and jabref portable versions available, which would reduce the size of the app.

darksabre76
darksabre76's picture
Offline
Last seen: 4 months 3 weeks ago
Developer
Joined: 2011-04-19 23:28
Maybe

I haven't gotten a chance to look into it too deeply, but I think it should be possible. My only qualm is that Freeplane Portable, as it sits, is out of date so I may end up using the bundled version if that's easier. Might take a day or two before I can look that closely though.

Ken Herbert
Ken Herbert's picture
Online
Last seen: 59 min 17 sec ago
DeveloperModerator
Joined: 2010-05-25 18:19
The link on that page is for

The link on that page is for an outdated version, but the most recent version is available on Sourceforge in the freeplane stable folder.

You could just link to there although there is no guarantee going forward that the developers package is 100% to our spec.

darksabre76
darksabre76's picture
Offline
Last seen: 4 months 3 weeks ago
Developer
Joined: 2011-04-19 23:28
Maybe not

I looked into it, and it doesn't reference the actual programs of Freeplane and JabRef, rather putting all the related folders together in the same place. If I can decipher the batch file that the executable is based on, that might help my cause. I guess I'll post it here in case someone can help...

@echo off
set freeplanedir=%~dp0
set xargs=init.xargs
set defines= "-Dorg.freeplane.param1=%~1" "-Dorg.freeplane.param2=%~2" "-Dorg.freeplane.param3=%~3" "-Dorg.freeplane.param4=%~4" "-Dorg.freeplane.userfpdir=%appdata%\Docear"
set resdir="-Dorg.freeplane.globalresourcedir=%freeplanedir%resources/"
@echo on
java -Xmx512m "-Dorg.knopflerfish.framework.bundlestorage=memory" "-Dorg.knopflerfish.gosg.jars=reference:file:%freeplanedir%core/" %resdir% %defines% -jar "%freeplanedir%framework.jar" -xargs "%freeplanedir%props.xargs" -xargs "%freeplanedir%%xargs%"

Edit: I think I untangled it and put it into PAL format... verify please?

java -Xmx512m "-Dorg.knopflerfish.framework.bundlestorage=memory" "-Dorg.knopflerfish.gosg.jars=reference:file:%PAL:AppDir%/docear/core/" "-Dorg.freeplane.globalresourcedir=%PAL:AppDir%/docear/resources/" "-Dorg.freeplane.param1=%~1" "-Dorg.freeplane.param2=%~2" "-Dorg.freeplane.param3=%~3" "-Dorg.freeplane.param4=%~4" "-Dorg.freeplane.userfpdir=%PAL:DataDir%\Docear" -jar "%PAL:AppDir%/docear/framework.jar" -xargs "%PAL:AppDir%/docear/props.xargs" -xargs "%PAL:AppDir%/docear/init.xargs"
Tixue
Offline
Last seen: 4 months 3 weeks ago
Joined: 2009-04-04 14:10
Incorrect Parameter Handling: Use Custom Code

The %~1 %~2 %~3 and %~4 are how Batch files utilise command line arguments (aka parameters) I don't see any way built into the PAL for passing parameters in the necessary way (it just tacks them onto the end of the normal command line) so you'll probably have to use custom code to be able to actually pass parameters (or does it matter?)

Running your launcher sends Java.exe the following parameters:

-Xmx512m -Dorg.knopflerfish.framework.bundlestorage=memory -Dorg.knopflerfish.gosg.jars=reference:file:C:\PortableApps\DocEarPortable\App/docear/core/ -Dorg.freeplane.globalresourcedir=C:\PortableApps\DocEarPortable\App/docear/resources/ -Dorg.freeplane.param1=%~1 -Dorg.freeplane.param2=%~2 -Dorg.freeplane.param3=%~3 -Dorg.freeplane.param4=%~4 -Dorg.freeplane.userfpdir=C:\PortableApps\DocEarPortable\Data/Docear -jar C:\PortableApps\DocEarPortable\App/docear/framework.jar -xargs C:\PortableApps\DocEarPortable\App/docear/props.xargs -xargs C:\PortableApps\DocEarPortable\App/docear/init.xargs

Add 4 parameters (i.e. Parameter1 - Parameter4) and it becomes:

-Xmx512m -Dorg.knopflerfish.framework.bundlestorage=memory -Dorg.knopflerfish.gosg.jars=reference:file:C:\PortableApps\DocEarPortable\App/docear/core/ -Dorg.freeplane.globalresourcedir=C:\PortableApps\DocEarPortable\App/docear/resources/ -Dorg.freeplane.param1=%~1 -Dorg.freeplane.param2=%~2 -Dorg.freeplane.param3=%~3 -Dorg.freeplane.param4=%~4 -Dorg.freeplane.userfpdir=C:\PortableApps\DocEarPortable\Data/Docear -jar C:\PortableApps\DocEarPortable\App/docear/framework.jar -xargs C:\PortableApps\DocEarPortable\App/docear/props.xargs -xargs C:\PortableApps\DocEarPortable\App/docear/init.xargs Parameter1 Parameter2 Parameter3 Parameter4

It should become:

-Xmx512m -Dorg.knopflerfish.framework.bundlestorage=memory -Dorg.knopflerfish.gosg.jars=reference:file:C:\PortableApps\DocEarPortable\App/docear/core/ -Dorg.freeplane.globalresourcedir=C:\PortableApps\DocEarPortable\App/docear/resources/ -Dorg.freeplane.param1=Parameter1 -Dorg.freeplane.param2=Parameter2 -Dorg.freeplane.param3=Parameter3 -Dorg.freeplane.param4=Parameter4 -Dorg.freeplane.userfpdir=C:\PortableApps\DocEarPortable\Data/Docear -jar C:\PortableApps\DocEarPortable\App/docear/framework.jar -xargs C:\PortableApps\DocEarPortable\App/docear/props.xargs -xargs C:\PortableApps\DocEarPortable\App/docear/init.xargs

Also since we're using Windows shouldn't we be using backslashes (\) instead of forwardslashes (/)?

darksabre76
darksabre76's picture
Offline
Last seen: 4 months 3 weeks ago
Developer
Joined: 2011-04-19 23:28
Helpful

I took a look at it and for some reason, the forward slashes and stuff are used and it just sort of works. As for the parameters, I didn't see anywhere that they're actually used, and when the program is run, it defaults to putting them as blanks. Unless I find a use for them (or someone does), the next dev test will see them removed. Thanks for the analysis BTW, there were a couple things there that I'll look into.

darksabre76
darksabre76's picture
Offline
Last seen: 4 months 3 weeks ago
Developer
Joined: 2011-04-19 23:28
Try it out

I couldn't sleep, and DocEar Portable was born.

eolo
eolo's picture
Offline
Last seen: 4 years 4 months ago
Joined: 2012-01-06 13:59
Re: Try it out

Impressive! That was really fast and easy. I'll try it at once. Thank you very much.

I'll comment in the beta test forum.

https://portableapps.com/node/37115

Eolo Smile

Log in or register to post comments