This page (revision-37) was last changed on 22-Feb-2017 18:08 by Albrecht Striffler

This page was created on 17-Dec-2012 14:59 by Markus Friedrich

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Version Date Modified Size Author Changes ... Change note
37 22-Feb-2017 18:08 1 KB Albrecht Striffler to previous
36 03-May-2016 11:59 1 KB Albrecht Striffler to previous | to last
35 29-Apr-2016 14:33 1 KB Albrecht Striffler to previous | to last
34 22-May-2014 14:55 1 KB Albrecht Striffler to previous | to last
33 18-Feb-2013 12:42 1 KB Albrecht Striffler to previous | to last
32 18-Feb-2013 12:42 1 KB Albrecht Striffler to previous | to last
31 18-Feb-2013 12:41 1 KB Albrecht Striffler to previous | to last
30 18-Feb-2013 12:39 2 KB Albrecht Striffler to previous | to last
29 18-Feb-2013 12:36 2 KB Albrecht Striffler to previous | to last
28 18-Feb-2013 12:35 2 KB Albrecht Striffler to previous | to last
27 18-Feb-2013 12:35 2 KB Albrecht Striffler to previous | to last
26 18-Feb-2013 12:35 2 KB Albrecht Striffler to previous | to last
25 18-Feb-2013 12:32 2 KB Albrecht Striffler to previous | to last
24 18-Feb-2013 12:32 2 KB Albrecht Striffler to previous | to last
23 18-Feb-2013 12:32 2 KB Albrecht Striffler to previous | to last
22 18-Feb-2013 12:31 2 KB Albrecht Striffler to previous | to last
21 18-Feb-2013 12:31 2 KB Albrecht Striffler to previous | to last

Difference between version and

At line 9 added one line
At line 11 changed 2 lines
# Simply start a new Java project and create (if not already done) a new folder "lib".
# Copy all d3web jars (including necessary foreign jars) into the lib folder (these jars can be easily accessed from d3web/bin/lib in the current [KnowWE Distribution|Downloads])
# Simply start a new Java project and create (if not already done) a new folder {{lib}}.
# Copy all d3web jars (including necessary foreign jars) into the lib folder (these jars can be easily accessed from {{d3web/lib}} in the current [KnowWE Distribution|Downloads])
At line 16 added one line
At line 23 changed 3 lines
// retrieve all relevant plugins in folder "lib"
File[] files = getAllJPFPlugins("lib");
JPFPluginManager.init(files);
JPFPluginManager.init("lib");
At line 27 removed 4 lines
// Alternatively: just pass the folder and ignore warnings
// when file not a jpf plugin
// JPFPluginManager.init("lib");
At line 33 changed one line
String knowledgeFilename = "/temp/d.jar";
String knowledgeFilename = "/temp/knowledgebase.d3web";
At line 37 changed one line
List<Solution> solutions = knowledge.getManager().getSolutions();
List<Solution> solutions = knowledgeBase.getManager().getSolutions();
At line 40 changed one line
List<Question> questions = knowledge.getManager().getQuestions();
List<Question> questions = knowledgeBase.getManager().getQuestions();
At line 44 removed 8 lines
private File[] getAllJPFPlugins(String libFolder) {
List<File> fileList = new ArrayList<File>();
for (File file : new File(libFolder).listFiles()) {
if (file.getName().contains("-jpf-plugin"))
fileList.add(file);
}
return fileList.toArray(new File[fileList.size()]);
}
At line 55 removed 9 lines
%%Todo
Fix external link. The link gets corrupted by a Plugin-In or JSPWiki...
%
%%Todo
Fix list. Probably a JSPWiki-Markup Bug...
%
At line 44 added one line