Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open Eclipse.
  2. Select File -> Import -> XML -> XML Catalog.
  3. Browse to and select daffodil-lib/src/main/resources/eclipse-xml-catalog.xml. Click OK.
  4. Close Eclipse.

Import Eclipse Settings: Windows

  1. Close Eclipse.
  2. Open Windows Explorer and open the folder of your local dfdl git repository.
  3. Navigate to the following file: daffodil-core/src/main/resources/eclipse-settings.zip
  4. Copy this file.
  5. Navigate to the location of your Eclipse workspace.

...

  1. Navigate to ".metadata/.plugins/org.eclipse.core.runtime/".
  2. Here, paste the eclipse-settings.zip file.
  3. Right-click eclipse-settings.zip ->  7 Zip -> Extract Here
  4. You may be asked if you'd like to replace the files.  Select yes to all.

Import Eclipse Settings: Linux

Open a Terminal and cd to your local dfdl git repository.  Likely "/home/username/git/dfdl" or "~/git/dfdl".

Code Block
languagebash
titleTerminal
$ cd ~/git/dfdl
$ cp daffodil-core/src/main/resources/eclipse_settings.zip ~/workspace/.metadata/.plugins/org.eclipse.core.runtime/
$ cd ~/workspace/.metadata/.plugins/org.eclipse.core.runtime/
$ ls -la

The above commands essentially copy the eclipse_settings.zip file to the "org.eclipse.core.runtime" folder of your workspace.

The 'ls -la' command should show you that "org.eclipse.core.runtime" contains the zip file and a hidden ".settings" folder.

Now we need to unzip the file and replace the contents of the ".settings" folder.

Code Block
languagebash
titleTerminal
$ unzip eclipse_settings.zip

You will be asked if you want to replace.  Enter "A".  This will replace all of the files.

Close the Terminal.

Test It Out

With the settings and XML Catalog above, you can edit DFDL Schemas, and get support from Eclipse.

...

  1. From the Windows Start Menu, click Control Panel.
  2. In the Control Panel select Windows Update.
  3. Here you will want to make sure to show all hidden updates as you will need to install one of them if you haven't already.
  4. Choose the Japanese language pack.  Install it.  Reboot

...

Linux

On Linux, UTF-8 and good unicode fonts are the default. Nothing to do here.