Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-11033

Drools plugin uses deprecated hash symbol # for comments in newly created .drl files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 3.3.0.Beta3-SOA
    • 3.3.0.Beta1-SOA
    • drools
    • None

    Description

      Eclipse plugin uses deprecated hash symbol # for comments in newly created .drl
      files. Setting # to be deprecated might cause large refactoring work in
      existing .drl files, because Eclipse plugin used this type of comment as a
      default setting. Newly created .drl file in Eclipse looks like this:

      #created on: Feb 22, 2012
      package com.sample
      #list any import classes here.
      #declare any global variables here
      rule "Your First Rule"
      when
      #conditions
      then
      #actions
      end

      Users should now use // for single comments and /* */ for block comments. But
      Eclipse plugin should not confuse them with #.

      Attachments

        Activity

          People

            kverlaen@redhat.com Kris Verlaenen
            jsvitak_jira Jiri Svitak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: