3 Replies Latest reply on Dec 22, 2007 3:14 AM by maxandersen

    Bug with Seam-Wizard created project

      For months I've been using JBoss IDE Tools 1.6 to develop my Seam application. This week I try to migrate to Eclipse Europa with JBoss Tools. Pretty nice work.

      To migrate I created a Seam project with the "Seam Web Project"-wizard. We have some defaults regarding directory structure. And since we want to separate the "Eclipse-project-specific" files from the "source", I "linked" some directories like "WebContent" to directories outside Eclipse's workspace.

      Perhaps you can imagine what happened. The EAR-project contained two directories "EarContent" and "resources". I deleted them and created two linked folders "EarContent" and "resources". "EarContent" contains jboss-seam.jar, application.xml and jboss-app.xml. "resources" contains the datasource xml file. Since I deleted and recreated those two folders it's impossible to include e.g. jboss-seam.jar to the other projects. As soon as I click on "J2EE Module Dependencies" on the Seam or the EJB project I get an error: "The currently displayed page contains invalid values."

      Is it a bug? Is there a workaround? Without the possibility to include the ear project's modules to the other projects I will not be able to build my app.

        • 1. Re: Bug with Seam-Wizard created project
          maxandersen

          linked folders are evil ,)

          Report the issues with details on how the layout are (project example) in jira and we will see if we can acoomodate for it.

          Unfortunately we might not be able to fix all linked folder issues since "j2ee module dependencies" is part of WTP not just jboss tools ,(

          p.s. having a policy of not having eclipse or any other IDE related files where it makes sense (next to the source) is a policy that will give more troubles than it is worth IMO.

          • 2. Re: Bug with Seam-Wizard created project

            I didn't make this policy, but IMO a powerful IDE like Eclipse should be able to handle linked folders ;)
            The consequence is that the plugins should be able too.

            OK, I'll open an issue.

            • 3. Re: Bug with Seam-Wizard created project
              maxandersen

              thanks.

              note: just because the IDE supports linked folders does not mean all plugins automatically will support - not all areas of wtp supports linked folders.

              Anyhow - open an issue with the details and we will look at it.