[jbosstools-issues] [JBoss JIRA] (JBIDE-11033) Drools plugin uses deprecated hash symbol # for comments in newly created .drl files

Jiri Svitak (JIRA) jira-events at lists.jboss.org
Thu Feb 23 05:00:39 EST 2012


Jiri Svitak created JBIDE-11033:
-----------------------------------

             Summary: Drools plugin uses deprecated hash symbol # for comments in newly created .drl files
                 Key: JBIDE-11033
                 URL: https://issues.jboss.org/browse/JBIDE-11033
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: drools
            Reporter: Jiri Svitak
            Assignee: Kris Verlaenen


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 #.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list