3 Replies Latest reply on Feb 5, 2007 9:13 PM by 548625

    Export/Import of Syntax Highlighting etc.

    548625
      Hi there!
      I have a little problem, and I think I've solved it, but just to be sure =)...
      I use JDev 10.1.3.1.0, and it had taken a mass of time to configure the syntax highlighting module =).

      Now I want to use JDev 10.1.3.2.0, and as I know from further releases, the syntax highlightings are not imported :(...I don't want to do this a second time...

      Search of the name of my stored Color Scheme gave me the following hit
      $JDevHome/jdev/system/oracle.ide.$buildno/dtcache.xml

      there's a tag
      <value class="oracle.ide.ceditor.options.SyntaxSchemes">
      <schemeMap>
      <Item>
      <Key>$mySchemeName</key>
      ....
      </Item>
      ...
      where all the color schemes are saved...is that correct? So "migrating" my SyntaxScheme would be to copy the tag from <item> to </item> and paste it to
      $newJDevHome/jdev/system/oracle.ide.$buildno/dtcache.xml

      the next thing is importing the other downloaded plugins...how can I do this?

      best regards
      Christian
        • 1. Re: Export/Import of Syntax Highlighting etc.
          Brian.Duff
          Hi,

          The easiest way to do this is probably to use settings migration. If you start the product with -migrate (or when you start a new version for the first time), it will ask you if you want to migrate settings from a previous release. Say yes, and point the dialog at the system directory of the release you want to migrate from.

          The manual thing you suggested will probably work OK too, at least between 10.1.3.1.0 and 10.1.3.2.0. I wouldn't rely on always being able to do this, since the format may change between releases.

          For extensions, I would use Check for Updates first to see if a newer version of those extensions is available for 10.1.3.2.0. You can copy third party extensions from jdev/extensions of your old install into the new one. Only do this for third party extensions or Oracle extensions that are distributed by check for updates. If you copy extensions that are part of JDeveloper, you will make the product unstable.


          Thanks,
          Brian
          • 2. Re: Export/Import of Syntax Highlighting etc.
            548625
            Uhm, yes I've done this when I have migrated from an older build of JDev 10.1.3.1.0 to the last build, and believed that this works...Some things were imported, but there were no additional color schemes...So I had to do it a second time...Maybe it works now in the newer version...I'll give it a go, and if it doesnt work...I'll add the color scheme in the xml file =).

            thx&regards
            Christian
            • 3. Re: Export/Import of Syntax Highlighting etc.
              548625
              Syntax Highlighting was successfully imported...
              BUT
              some things are missing...

              some very useful things like "class member" or "variable highlighting..." are not available in jdev 10132...

              regards
              christian

              EDIT:
              argl I had to check for updates a second time for all my extensions (also the advanced syntax color highlighter)...also all my user librarys, jvms were gone away, I'd to do this a second time...

              Message was edited by:
              W1zard