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

comments dissappear in components.xml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.6.0.Final
    • 2.0.0.Beta3
    • seam2
    • None

    Description

      edit this file:

      <?xml version="1.0" encoding="UTF-8"?>
      <components xmlns="http://jboss.com/products/seam/components"
      xmlns:core="http://jboss.com/products/seam/core"
      xmlns:drools="http://jboss.com/products/seam/drools"
      xmlns:security="http://jboss.com/products/seam/security"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.1.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.1.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd">
      <core:init debug="true" jndi-pattern="sss/#

      {ejbName}

      /local"/>
      <core:manager concurrent-request-timeout="500"
      conversation-id-parameter="cid"
      conversation-is-long-running-parameter="clr" conversation-timeout="120000"/>
      <core:managed-persistence-context auto-create="true"
      entity-manager-factory="#

      {sssEntityManagerFactory}

      " name="entityManager"/>
      <core:entity-manager-factory name="sssEntityManagerFactory" persistence-unit-name="sss"/>
      <core:ejb installed="false"/>
      <drools:rule-base name="securityRules">
      <drools:rule-files>
      <value>/security.drl</value>
      </drools:rule-files>
      </drools:rule-base>
      <security:identity authenticate-method="#

      {authenticator.authenticate}

      "
      remember-me="true" security-rules="#

      {securityRules}

      "/>
      <event type="org.jboss.seam.notLoggedIn">
      <action expression="#

      {redirect.captureCurrentView}

      "/>
      </event>
      <event type="org.jboss.seam.postAuthenticate">
      <action expression="#

      {redirect.returnToCapturedView}"/>
      </event>

      <!--
      <event type="org.jboss.seam.postAuthenticate">
      <action expression="#{redirect.returnToCapturedView}

      "/>
      </event> -->
      </components>

      ctrl+s and the lower comment is removed - it shouldn't. xml comments should be preserved.

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            manderse@redhat.com Max Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: