Menu

Tree [0d28c4] master /
 History

HTTPS access


File Date Author Commit
 dev 2018-06-14 Nam-Quang Tran Nam-Quang Tran [7dee6f] Updated NSIS installer instructions and depende...
 dist 2019-04-17 Nam-Quang Tran Nam-Quang Tran [3fc390] Advanced setting: Disable single-instance check.
 lib 2019-01-07 Nam-Quang Tran Nam-Quang Tran [8c6879] Upgraded PDFBox from 2.0.9 to 2.0.13.
 src 2020-01-01 Roman Roman [0d28c4] Calculate bullet width for line numbers based o...
 src-daemon 2018-05-05 huzhengmian huzhengmian [1f88a0] transform to a intellij project.
 .classpath 2019-02-12 Nam-Quang Tran Nam-Quang Tran [f441ce] PDFBox upgrade: Forgot to update the .classpath...
 .gitignore 2018-05-05 huzhengmian huzhengmian [1f88a0] transform to a intellij project.
 .project 2014-02-18 Tran Nam Quang Tran Nam Quang [4d0127] - Removed AspectJ dependency.
 DocFetcher-1.1.iml 2018-05-08 huzhengmian huzhengmian [c2d62e] add log4j
 ant-contrib-1.0b3.jar 2011-11-08 Tran Nam Quang Tran Nam Quang [a86c3c] Added daemons for portable version.
 build-daemon.xml 2011-11-08 Tran Nam Quang Tran Nam Quang [a86c3c] Added daemons for portable version.
 build-dmg.sh 2018-06-14 Nam-Quang Tran Nam-Quang Tran [40b8e9] Fixed OS X build issue.
 build-man.py 2018-06-01 Nam-Quang Tran Nam-Quang Tran [cc9344] Adapted build-man.py script for Python 3.
 build-website.py 2018-06-01 Nam-Quang Tran Nam-Quang Tran [f78f46] Adapted build-website.py script for Python 3.
 build-win-installer.nsi 2018-06-14 Nam-Quang Tran Nam-Quang Tran [7dee6f] Updated NSIS installer instructions and depende...
 build.py 2015-11-08 Nam-Quang Tran Nam-Quang Tran [6c71c3] After Tika upgrade, Windows build was broken du...
 current-version.txt 2018-07-30 Nam-Quang Tran Nam-Quang Tran [11daa4] Version 1.1.22.
 deploy-website.sh 2018-06-19 Nam-Quang Tran Nam-Quang Tran [09cd2b] Website deployment script now sets correct file...
 readme.txt 2018-06-14 Nam-Quang Tran Nam-Quang Tran [7dee6f] Updated NSIS installer instructions and depende...

Read Me

#===========================================================
#	Setup in Eclipse
#===========================================================
- Get Eclipse (tested with v4.3, Java Developers edition)
- Import the DocFetcher folder into your Eclipse workspace
- In Eclipse Preferences > Java > Build Path > User Libraries: 
  create a User Library named 'SWT' which points to the right SWT jar for your
  platform. 
  The SWT jars can be found in "lib/swt". Optionally, the same
  "SWT" user library can also be used for overriding other 3rd party libs
  (for example, a local build of java-libpst-0.9.4-SNAPSHOT.jar).

In the Run configuration:
 - Main > Main class: net.sourceforge.docfetcher.gui.Application
 - Required Arguments > VM arguments
	Windows:
		-Djava.library.path="lib/chm4j;lib/jnotify;lib/jintellitype"
	Linux:
		-Djava.library.path="lib/chm4j:lib/jnotify:lib/jxgrabkey"
	Mac OS X:
		-Djava.library.path="lib/jnotify"
		-XstartOnFirstThread
 - Optional VM argument: -enableassertions
 - Classpath > add the folder "dist/lang" to the classpath (Advanced... > Add Folders).


#===========================================================
#	Building DocFetcher from the console
#===========================================================
- Requirements: Python and JDK 7.0+
- The bin folder of your JDK installation containing the various JDK binaries
  (javac, java, jar) has to be on your PATH variable. See:
  https://www.java.com/en/download/help/path.xml
- current-version.txt:
	- this file contains the version number used by all build scripts below
	- this file must not contain any extra whitespace or newlines
- build.py:
	- the main build file that builds DocFetcher
	- output is in the "build" folder
- build-win-installer.nsi
	- NSIS script for building the Windows installer
	- requires NSIS and must be run on Windows
	- requires NSIS plugins in dev/nsis-dependencies;
	  see installation instructions at the top of the .nsi file
	- must run build.py first before running this
	- output is in the "build" folder
- build-man.py:
	- recreates the manual
	- output is in dist/help
- build-website.py:
	- recreates the website
	- output is in dist/website
- build-dmg.sh:
	- builds a Mac OS X disk image
	- must run build.py first
	- must be run on Linux
	- requires program mkfs.hfsplus (try package hfsprogs on Ubuntu)
	- output is in the "build" folder
- build-daemon.xml:
	- Ant file for building the DocFetcher daemon
	- probably stopped working a long time ago
- deploy-website.sh:
	- deploys the website to the project webspace on SourceForge.net
	- will automatically run build-website.py
	- must specify SourceForge.net user name and password


#===========================================================
#	The DocFetcher Launchers
#===========================================================
The DocFetcher launchers for all platforms can be found under dist/launchers.
The DocFetcher.exe launchers in that folder have been created with Launch4J,
according to the settings in dev/launch4j-config.txt, and using the icon file
dev/DocFetcher.ico.