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

Adding JSF suport: multiple wb-resources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • LATER
    • 2.0.0.Beta3
    • jsf
    • None

      We have a Web project whose directory structure is enforced by our internal build system. To make it work with Europa, the .settings\org.jboss.tools.jst.web.xml file has two wb-resource elements. My problem is that when adding RedHat JSF support to this project using the wizard, the resulting project seems to ignore the second wb-resource directory.

      To reproduce this, I created a helloworld-style project based on http://www.horstmann.com/corejsf/ (see attachment). With Europa, this works OK, that is, the project is correctly exported with Export... > WAR file and correctly run with Run As > Run on Server. But I'm not sure how to make this work with RedHat JSF support, that is how to tell it that ui/resources is a second WebContent directory.

        1. toy_firstjsf.zip
          6 kB
        2. toy_firstjsf_redhat.zip
          6 kB
        3. screenshot.jpg
          screenshot.jpg
          17 kB

            scabanovich Viacheslav Kabanovich (Inactive)
            petr.lindovsky_jira Petr Lindovsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: