X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/blobdiff_plain/a80b3233a5bab2767805b1e3da8667abe9a77469..324d3d050b97f5f09469b48bf4782d61b44cdd04:/src/site/fml/troubleshooting.fml diff --git a/src/site/fml/troubleshooting.fml b/src/site/fml/troubleshooting.fml index d27c88e4e..826ca7f08 100644 --- a/src/site/fml/troubleshooting.fml +++ b/src/site/fml/troubleshooting.fml @@ -1,49 +1,61 @@ - - - - General - - - - What is Foo? - - -

some markup goes here

- - some source code - -

some markup goes here

-
-
- - - - What is Bar? - - -

some markup goes here

-
-
-
- - - - Installation - - - - How do I install Foo? - - -

some markup goes here

-
-
- -
- -
\ No newline at end of file + + + General + + How can I configure logging in the editor? + +

To get log4j to read your own configuration when developing the editor or + anything that has to do with cdmLibrary eclipse plugin you have to tell + log4j explicitly what configuration it should use. Otherwise it will scan + the classpath and use the first log4j.xml/log4j.properties file it finds + (which is mostly the log4j.properties in cdmlib-commons as it will be the + first one it encounters).

+

Passing the following argument to the Virtual Machine however does the trick:

+ -Dlog4j.configuration=file:///<path to your personal>/log4j.properties +

If you run into trouble , you can debug log4j's startup sequence by passing + another argument to the VM.

+ -Dlog4j.debug +
+
+ + Some of the taxeditor projects have errors + +

And the errors do look like the cdmlib dependecies can not be resolved, there are two possible solutions for this problem.

+
    +
  1. cdmlib-plugin does not contain the cdmlib dependencies +

    Please follow the instructions on how to initialize the cdmlib-plugin

    +
  2. +
  3. Your classpath is outdated +

    Update your classpath by right-clicking any of the taxeditor-* projects and choose PDE Tools -> Update Classpath.... Click <Select All> in the dialog and confirm.

    +
  4. +
+
+
+ + Launching the editor from eclipse is simply not working for me. + +

This could be due to many reasons. Please have a look at the Troubleshooting Editor Launches document on the developers wiki.

+
+
+ + I get a "RuntimeException: No application id has been found." preceded by lots of "Missing required bundle" errors when launching my run/debug configuration + +

Whenever you change something in the plguin dependency hirarchy, i.e. adding, (re)moving, or renaming a dependant plugin your run configuration does not know about that automatically. To solve this:

+
    +
  • In eclipse, open the Run Configurations wizard
  • +
  • Choose the run configuration in question
  • +
  • Select the Plug-ins tab
  • +
  • Click Deselect All from the buttons on the right
  • +
  • Click Add Required Plug-ins
  • +
  • Apply your changes
  • +
+

The editor should launch again.

+
+
+
+